  /* Custom styles for The Sugar Shack */

  html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden;
  }

  /* Scroll reveal animations (progressive enhancement — content visible without JS) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.hidden-reveal {
      opacity: 0;
      transform: translateY(30px);
    }
  }

  /* Hero floating cards — always visible, no JS needed */
  @keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--rotate, 0deg)); }
    50% { transform: translateY(-10px) rotate(var(--rotate, 0deg)); }
  }

  .float-slow {
    animation: float 4s ease-in-out infinite;
  }

  .float-medium {
    animation: float 3.2s ease-in-out infinite;
    animation-delay: 0.5s;
  }

  .float-fast {
    animation: float 2.6s ease-in-out infinite;
    animation-delay: 1s;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #f5f0f7;
  }

  ::-webkit-scrollbar-thumb {
    background: #be96be;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #8b528b;
  }

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

  /* Mobile menu transition */
  #mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #mobileMenu.open {
    max-height: 400px;
  }
