/* Custom styles and overrides */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #FF6B6B;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FF8787;
}

/* Selection color */
::selection {
  background-color: #FF6B6B;
  color: white;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #FF6B6B;
  outline-offset: 2px;
}

/* Animation delays for staggered animations */
.fade-in-section:nth-child(1) {
  transition-delay: 0.1s;
}

.fade-in-section:nth-child(2) {
  transition-delay: 0.2s;
}

.fade-in-section:nth-child(3) {
  transition-delay: 0.3s;
}

.fade-in-section:nth-child(4) {
  transition-delay: 0.4s;
}

.fade-in-section:nth-child(5) {
  transition-delay: 0.5s;
}

.fade-in-section:nth-child(6) {
  transition-delay: 0.6s;
}

/* Mobile menu backdrop */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Print styles */
@media print {
  nav,
  .mobile-menu,
  button,
  form {
    display: none !important;
  }
  
  body {
    color: #000 !important;
    background: #fff !important;
  }
  
  .hero-overlay {
    display: none;
  }
}
