/* ============================================
   Advanced Riding Schools — Custom Styles
   ============================================ */

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

/* Base font smoothing */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navbar scroll state */
#site-header.scrolled {
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(35, 71, 35, 0.08);
}

#site-header.scrolled .nav-text-color {
  color: #122412;
}

#site-header.scrolled .nav-sub-color {
  color: #2d5c2d;
}

#site-header.scrolled .nav-link {
  color: #1a341a;
}

/* Mobile menu link hover */
.mobile-menu-link:hover {
  color: #2d5c2d;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Selection color */
::selection {
  background: #b3cbb3;
  color: #122412;
}

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

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

::-webkit-scrollbar-thumb {
  background: #b3cbb3;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8ab58a;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Print styles */
@media print {
  #site-header,
  #mobile-menu-btn,
  #mobile-menu {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .bg-forest-800,
  .bg-forest-700 {
    background: #234723 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
