  /* Custom styles for Lulu's Tamales */

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

  /* Selection color */
  ::selection {
    background-color: rgba(13, 148, 136, 0.2);
    color: #0f766e;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0f766e;
  }
  ::-webkit-scrollbar-thumb {
    background: #115e59;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
  }

  /* Reveal animations (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      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);
    }
  }

  /* Without reduced motion, ensure content is visible by default */
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* Fallback: content visible if JS doesn't run */
  body:not(.js-enabled) .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Navbar scroll state */
  .navbar-scrolled {
    box-shadow: 0 4px 20px rgba(4, 47, 46, 0.3);
  }

  /* Button hover effects */
  a {
    text-decoration: none;
  }

  /* Image hover zoom */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Focus styles for accessibility */
  a:focus-visible,
  button:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 4px;
  }

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

  /* Print styles */
  @media print {
    nav, #hero .absolute, .reveal {
      display: none !important;
    }
    body {
      color: #000;
      background: #fff;
    }
  }
