  /* Custom styles for Mod Lodge at Keystone */

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

  /* Selection color */
  ::selection {
    background-color: rgba(196, 114, 78, 0.2);
    color: #8b4026;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #faf5eb;
  }
  ::-webkit-scrollbar-thumb {
    background: #e5c88e;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #c4724e;
  }

  /* Reveal animations */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    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; }

  /* Navbar transitions */
  #navbar.scrolled {
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 24px rgba(139, 64, 38, 0.06);
  }

  /* Nav link hover underline animation */
  .nav-link {
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #c4724e;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  .nav-link:hover::after {
    width: 60%;
  }

  /* Mobile menu animation */
  #mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Mobile link animation */
  .mobile-link {
    transition: all 0.2s ease;
  }

  /* Button ripple effect */
  .group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
  }

  /* Image hover zoom wrapper */
  .group img {
    will-change: transform;
  }

  /* Focus visible styles */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #c4724e;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .group img {
      transition: none;
    }
    .group:hover img {
      transform: none;
    }
  }

  /* Print styles */
  @media print {
    #navbar, #mobile-menu, #gallery {
      display: none;
    }
    body {
      background: white;
      color: black;
    }
  }
