  /* Custom styles for Village Bagels */

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

  /* Marquee animation */
  @keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
  }

  .animate-marquee {
    animation: marquee 30s linear infinite;
  }

  .animate-marquee:hover {
    animation-play-state: paused;
  }

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

  /* Only apply hidden state when JS is active and user prefers motion */
  @media (prefers-reduced-motion: no-preference) {
    .js-enabled .scroll-reveal {
      opacity: 0;
      transform: translateY(24px);
    }
    .js-enabled .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Mobile menu transitions */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  #mobile-menu.open {
    max-height: 400px;
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
  }

  /* Navbar shadow on scroll */
  #navbar.scrolled {
    box-shadow: 0 4px 20px rgba(90, 24, 24, 0.08);
  }

  /* Custom selection color */
  ::selection {
    background-color: #a82525;
    color: #FAF6F1;
  }

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

  /* Image loading placeholder */
  img {
    background-color: #fceee8;
  }

  /* Subtle gradient overlay on hero image */
  #hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(48, 12, 12, 0.4) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
  }

  /* Button hover lift effect */
  a[href="#menu"],
  a[href="#visit"],
  button[type="submit"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  /* Prevent layout shift on images */
  img {
    content-visibility: auto;
  }
