  /* Custom styles for Chulitna Lodge */

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

  /* Scroll reveal base — always visible by default (no JS required) */
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  /* Scroll reveal enhanced with JS — progressive enhancement */
  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.animated {
      opacity: 0;
      transform: translateY(24px);
    }
    .scroll-reveal.animated.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(4, 13, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Nav links */
  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2dd4bf;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 60%;
  }

  /* Mobile menu transitions */
  #mobileMenu {
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Mobile menu button active state */
  #menuBtn[aria-expanded="true"] #bar1 {
    transform: translateY(4px) rotate(45deg);
  }

  #menuBtn[aria-expanded="true"] #bar2 {
    opacity: 0;
  }

  #menuBtn[aria-expanded="true"] #bar3 {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-link {
    display: block;
  }

  /* Selection color */
  ::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #f0fdf9;
  }

  /* Focus styles */
  :focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Subtle gradient border on cards */
  .card-glow:hover {
    box-shadow: 0 0 40px rgba(45, 212, 191, 0.1);
  }

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

  ::-webkit-scrollbar-track {
    background: #040d1a;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(45, 212, 191, 0.3);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 212, 191, 0.5);
  }

  /* Responsive adjustments */
  @media (max-width: 640px) {
    .font-serif {
      font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
  }
</style>
