  /* Custom styles for Gilbert's Tavern */

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

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

  /* Only apply hidden state when JS adds the class and motion is preferred */
  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Navbar glass effect */
  #navbar.scrolled {
    background: rgba(255, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(130, 16, 45, 0.08);
  }

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

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

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #FFF8F5;
  }
  ::-webkit-scrollbar-thumb {
    background: #c41d3f;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #a11030;
  }

  /* Selection color */
  ::selection {
    background: #fce7eb;
    color: #6b1029;
  }

  /* Focus styles */
  *:focus-visible {
    outline: 2px solid #c41d3f;
    outline-offset: 2px;
  }

  /* Image loading placeholder */
  img {
    background: linear-gradient(135deg, #fce7eb 0%, #fad0d9 100%);
  }

  /* Subtle pattern overlay for sections */
  @media (prefers-reduced-motion: no-preference) {
    .hover-lift {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-lift:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 40px rgba(130, 16, 45, 0.12);
    }
  }
