  /* Custom styles for Zen Bagels */

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

  /* Selection color */
  ::selection {
    background-color: rgba(232, 99, 74, 0.2);
    color: #1A1A1A;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #F5F5F4;
  }
  ::-webkit-scrollbar-thumb {
    background: #D4523A;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #B8442E;
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(45, 45, 45, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  }

  #navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
  }

  /* Feature card hover */
  .feature-card {
    transition: transform 0.3s ease;
  }
  .feature-card:hover {
    transform: translateY(-4px);
  }

  /* Menu card hover */
  .menu-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  }
  .menu-card:hover {
    transform: translateY(-6px);
  }

  /* Reveal animations — progressive enhancement */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
    .reveal:nth-child(5) { transition-delay: 0.4s; }
    .reveal:nth-child(6) { transition-delay: 0.5s; }
  }

  /* Ensure content is visible without JS */
  .reveal {
    opacity: 1;
    transform: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
    }
  }

  /* Mobile menu animation */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  #mobile-menu.open {
    max-height: 400px;
  }

  /* Button ripple effect */
  a[href="#hero"], a[href="#menu"], a[href="#about"], a[href="#visit"], a[href="#contact"] {
    scroll-margin-top: 80px;
  }

  /* Image lazy-load placeholder */
  img {
    background-color: #E7E5E4;
  }
