/*
Theme Name: pusicastefan
Text Domain: pusicastefan.rs
Version: 2.0
Description: Laravel theme developed for business purposes
Author: pusicastefan
Author URI: https://pusicastefan.rs/
Theme URI: https://pusicastefan.rs/
*/

/* Fonts */

@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  /* background-color: #fafafa !important; */
  font-family: "Ubuntu", sans-serif !important;
}

::-moz-selection {
  color: #fff;
  background-color: rgba(19, 173, 199, 0.4);
}

::selection {
  color: #fff;
  background-color: rgba(19, 173, 199, 0.4);
}

/* resolution end */

/* Back to top start */

#backToTop {
  width: 3rem;
  height: 3rem;
  bottom: 5rem;
  right: 1.875rem;
  position: fixed;
  display: none;
  z-index: 1001;
  background: linear-gradient(270deg, #13adc7 0%, #945dd6 100%);
  color: #fff;
  border: 0 solid;
  border-radius: 1.875rem;
  font-size: 1.25rem;
  box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  cursor: pointer;
}

/* Desktop devices */
@media (min-width: 768px) {
  #backToTop {
    bottom: 6rem;
  }
}

#backToTop:hover {
  background: linear-gradient(270deg, #13adc7 0%, #945dd6 100%);
  color: #fff;
  border: 0 solid;
  box-shadow: 0 1rem 2rem 0 rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
  transition: 0.3s;
}

#backToTop .bi {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Back to top end */

/* Top Bar start */
#topBar {
  background-color: #191b1f;
  padding: 1rem 0;
}

#topBar .bi {
  color: #fff;
  font-size: 1.3rem;
}

#topBar .bi:hover {
  cursor: pointer;
}

/* Language Toggle Styles */
.language-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s ease;
  cursor: pointer;
  user-select: none;
  font-family: "Ubuntu", sans-serif;
}

.lang-label.active {
  color: #fff;
  font-weight: 600;
}

.eng-label {
  margin-right: 4px;
}

.srb-label {
  margin-left: 4px;
}

/* Theme Toggle Switch Styles */
.theme-toggle {
  display: flex;
  align-items: center;
}

.theme-switch-checkbox {
  display: none;
}

.theme-switch-label {
  width: 50px;
  height: 26px;
  background-color: #73788c;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.theme-switch-label:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.theme-switch-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-switch-checkbox:checked + .theme-switch-label {
  background-color: #3c4e8c;
}

.theme-switch-checkbox:checked + .theme-switch-label .theme-switch-slider {
  transform: translateX(24px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Animation for smooth toggle */
.theme-switch-label,
.theme-switch-slider {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus styles for accessibility */
.theme-switch-checkbox:focus + .theme-switch-label {
  outline: 2px solid #3c4e8c;
  outline-offset: 2px;
}
/* Top Bar end */

/* Navbar start */

/* Navbar end */

/* Small devices (landscape phones, 375px and up) */
@media (min-width: 320px) and (max-width: 767.98px) {
  /* Text centering for small devices */
  .hero-title,
  .hero-text,
  .classic-text,
  .sub-heading {
    text-align: center;
  }
  
  .title-component {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .portfolio-card h1 {
    text-align: center;
  }
  
  /* Button centering */
  .gradiend-btn {
    margin: 0 auto;
  }
  
  /* Smart TV section start */
  #smartTV img {
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  /* Smart TV section end */
}

/* Small devices (landscape phones, 425px and up) */
@media (min-width: 400px) {
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Smart TV section start */
  #smartTV img {
    width: 20%;
  }
  /* Smart TV section end */
}

/* /X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}

@media (min-width: 1700px) {
}

@media (min-width: 1900px) {
}

@media (min-width: 2500px) {
}

/* Bottom Navigation Styles */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e9ecef;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 8px 0;
}

.nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #6c757d;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 12px;
  min-width: 60px;
  position: relative;
}

.nav-item:hover {
  color: #3c4e8c;
  background-color: rgba(60, 78, 140, 0.1);
  text-decoration: none;
}

.nav-item.active {
  color: #3c4e8c;
  background-color: rgba(60, 78, 140, 0.15);
}

.nav-item i {
  font-size: 20px;
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}

.nav-item:hover i {
  transform: scale(1.1);
}

.nav-label {
  font-size: 12px;
  font-weight: 500;
  font-family: "Ubuntu", sans-serif;
  line-height: 1;
  transition: opacity 0.3s ease;
}

/* Language switching for navigation labels */
[data-lang="eng"] .srb-text {
  display: none;
}

[data-lang="srb"] .eng-text {
  display: none;
}

[data-lang="eng"] .eng-text {
  display: block;
}

[data-lang="srb"] .srb-text {
  display: block;
}

/* Hero section start */
#hero {
  background-color: #191b1f;
  height: 85vh;
}

.hero-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.hero-text {
  font-size: 1rem;
  color: #73788c;
}

.gradiend-btn {
  border: none;
  border-radius: 50px;
  color: #fff;
  display: flex;
  left: 0;
  padding: 0.5rem 1rem;
  width: 35%;
  background: linear-gradient(270deg, #13adc7 0%, #945dd6 100%);
  transition: 0.4s ease;
  font-size: 1rem;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset 0px 0px 4px rgba(20, 20, 55, 0.3);
  text-decoration: none;
}

#hero video {
  width: 100%;
}
/* Hero section end */

/* Portfolio section start */
#portfolio {
  background: linear-gradient(to bottom, #191b1f 0%, #0f1624 100%);
}

.portfolio-card {
  /* border: 2px solid lime; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  cursor: pointer;
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.portfolio-card h1 {
  font-size: 1.5rem;
}

.classic-text {
  font-size: 1.5rem;
  color: #ADB5BD;
  font-weight: 100;
}

.classic-text.no-margin-bottom {
  margin-bottom: 0;
}
/* Portoflio section end */

/* Contact form styles start */
#contact {
  background: linear-gradient(to bottom, #191b1f 0%, #0f1624 100%);
  padding: 5rem 0rem;
}

#contact h1 {
  color: #fff;
}

.contact-form {
  padding: 2rem;
}

.contact-input,
.contact-textarea {
  background-color: transparent!important;
  border: 0.1rem solid #3C4E8C !important;
  border-radius: 0.7rem !important;
  color: #6F737C;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-input:focus,
.contact-textarea:focus {
  background-color: rgba(25, 27, 31, 0.9);
  border-color: rgba(19, 173, 199, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(19, 173, 199, 0.25);
  outline: none;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #6F737C;
}

/* Prevent autocomplete background color change */
.contact-input:-webkit-autofill,
.contact-input:-webkit-autofill:hover,
.contact-input:-webkit-autofill:focus,
.contact-input:-webkit-autofill:active,
.contact-textarea:-webkit-autofill,
.contact-textarea:-webkit-autofill:hover,
.contact-textarea:-webkit-autofill:focus,
.contact-textarea:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px transparent inset !important;
  -webkit-text-fill-color: #6F737C !important;
  background-color: transparent !important;
}

.form-control.is-valid, .was-validated .form-control:valid {
  color: #6F737C;
}

.form-control.contact-input.is-valid {
  background-color: rgba(25, 27, 31, 0.9) !important;
}

.form-control {
  color: #6F737C !important;
}

.contact-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-input:-webkit-autofill, .contact-input:-webkit-autofill:hover, .contact-input:-webkit-autofill:focus, .contact-input:-webkit-autofill:active, .contact-textarea:-webkit-autofill, .contact-textarea:-webkit-autofill:hover, .contact-textarea:-webkit-autofill:focus, .contact-textarea:-webkit-autofill:active { 
  background-color: rgba(25, 27, 31, 0.9) !important; 
}

.form-control.is-valid:focus, .was-validated .form-control:valid:focus {
  background-color: rgba(25, 27, 31, 0.9) !important;
}

.contact-btn {
  width: auto;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19, 173, 199, 0.4);
}
/* Contact form styles end */

/* Title compoenent start */

.title-component {
  width: fit-content;
  padding-top: 0.7rem;
}

.title-component h1 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(121.57deg, #ffffff 18.77%, rgba(255, 255, 255, 0.4) 60.15%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  width: fit-content;
  position: relative;
}

.title-component h1::before {
  content: "";
  position: absolute;
  top: -0.7rem;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(270deg, #13adc7 0%, #945dd6 100%);
  border-radius: 5px;
}
/* Title component end */

/* Dark theme support for bottom nav */
[data-theme="dark"] .bottom-nav {
  background: #2d3748;
  border-top: 1px solid #4a5568;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .nav-item {
  color: #a0aec0;
}

[data-theme="dark"] .nav-item:hover {
  color: #3c4e8c;
  background-color: rgba(60, 78, 140, 0.2);
}

[data-theme="dark"] .nav-item.active {
  color: #3c4e8c;
  background-color: rgba(60, 78, 140, 0.25);
}

/* SmartTV section start */
#smartTV {
  background: linear-gradient(to bottom, #0f1624 0%, #191b1f 100%);
}
/* SmartTV section end */

/* Web Development section start */
#webDevelopment {
  background: linear-gradient(to bottom, #191b1f 0%, #0f1624 100%);
  padding: 4rem 0;
}

/* Modal Content start */
.modal .modal-content {
  background-color: #0F1624;
  color: #ADB5BD;
}

.modal .modal-content img {
  width: 40%;
}

.modal .modal-content .badge.custom {
  background-color: #122B3A;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.btn-close {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") !important;
  opacity: 1 !important;
}

.modal .btn-close {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") !important;
  opacity: 1 !important;
}
/* Modal Content end */

/* Web Development section end */

/* Sub heading start */
.sub-heading {
  font-size: 1.7rem;
  font-weight: 500;
  color: #ffffff;
}
/* Sub heading end */

/* Split Card Component start */
.split-card {
  /* background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%); */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin-bottom: 2rem;
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.badge.custom {
  background-color: #122B3A;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.btn-outline-primary.custom {
  background: linear-gradient(270deg, #13adc7 0%, #945dd6 100%);
  border: 0;
  border-radius: 12px;
  color: #fff;
}

/* .split-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
} */

.split-card-container {
  display: flex;
  align-items: stretch;
  min-height: 300px;
}

.split-card-left {
  flex: 0 0 30%;
  position: relative;
  overflow: hidden;
}

.split-card-left img {
  width: 70%;
}

.split-card-right {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%); */
  gap: 2rem;
}

.split-card-article {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.split-card-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.split-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
  background: linear-gradient(121.57deg, #ffffff 18.77%, rgba(255, 255, 255, 0.8) 60.15%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.split-card-text {
  font-size: 0.95rem;
  color: #ADB5BD;
  line-height: 1.6;
  font-weight: 300;
}

/* Split cart end */

/* Skills section start */
#skills {
  background: linear-gradient(to bottom, #191b1f 0%, #0f1624 100%);
}

#skills h4 {
  color: #fff;
}

#skills li {
  color: #6F737C;
}
/* Skills section end */

/* Contact section start */
#contact {
  background: linear-gradient(to bottom, #0f1624 0%, #191b1f 100%);
}
/* Contact section end */

/* Addition information section start */
#addition {
  background: linear-gradient(to bottom, #191b1f 0%, #0f1624 100%);
  padding: 0 0 7rem 0;
}

.email-string {
  color: #3C4E8C;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.email-value {
  color: #6F737C;
  font-size: 1.1rem;
}

.copy-holder {
  color: #6F737C;
}

.copy-holder i {
  color: #fff;
}
/* Addition information section end */

/* Mobile responsiveness */
@media (max-width: 767.98px) {
  /* Text centering for mobile devices */
  .hero-title,
  .hero-text,
  .classic-text,
  .sub-heading {
    text-align: center;
  }
  
  .title-component {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .portfolio-card h1 {
    text-align: center;
  }
  
  /* Button centering */
  .gradiend-btn {
    margin: 0 auto;
  }
  
  .split-card-container {
    flex-direction: column;
    min-height: auto;
  }
  
  .split-card-left {
    flex: none;
  }
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 300px;
  max-width: 500px;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: "Ubuntu", sans-serif;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.toast-show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: white;
}

.toast-error {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  color: white;
}

.toast-content {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-radius: 8px;
}

.toast-content i.bi {
  font-size: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

.toast-message {
  flex-grow: 1;
  font-weight: 500;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
  font-size: 18px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Mobile responsiveness for toasts */
@media (max-width: 768px) {
  .toast-notification {
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
  }
  
  .split-card-left {
    height: 250px;
  }
  
  .split-card-right {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .split-card-article {
    padding-bottom: 1rem;
  }
  
  .split-card-title {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .split-card-text {
    font-size: 0.9rem;
    text-align: center;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .split-card-left {
    flex: 0 0 35%;
  }
  
  .split-card-right {
    padding: 1.75rem;
    gap: 1.75rem;
  }
}
/* Split Card Component end */

/* Other Projects section start */
#otherProjects {
  background: linear-gradient(to bottom, #0f1624 0%, #191b1f 100%);
  padding: 4rem 0;
}

.other-projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.project-card-square {
  width: 240px;
  height: 240px;
  background: #0f1624;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 
              0 2px 6px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  outline: 0;
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.project-card-square:hover {
  cursor: pointer;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 
              0 4px 10px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.project-card-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.project-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Mobile responsiveness for other projects */
@media (max-width: 767.98px) {
  .other-projects-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .project-card-square {
    width: 240px;
    height: 240px;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .other-projects-grid {
    justify-content: space-around;
  }
  
  .project-card-square {
    width: 216px;
    height: 216px;
  }
}
/* Other Projects section end */

/* Responsive adjustments */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 10px;
  }

  .nav-item {
    min-width: 50px;
    padding: 6px 8px;
  }

  .nav-item i {
    font-size: 18px;
  }

  .nav-label {
    font-size: 11px;
  }
}