  /* Custom styles for Snow Bunny Shaved Ice */

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

  /* Selection color */
  ::selection {
    background-color: #d95226;
    color: #FDF8F0;
  }

  /* Scroll reveal base — content is visible by default, JS adds animation */
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal:not(.revealed) {
      opacity: 0;
      transform: translateY(32px);
    }
    .reveal-left:not(.revealed) {
      opacity: 0;
      transform: translateX(-32px);
    }
    .reveal-right:not(.revealed) {
      opacity: 0;
      transform: translateX(32px);
    }
  }

  /* Navbar glass effect when scrolled */
  #navbar.scrolled {
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 20px rgba(0, 0, 0, 0.04);
  }

  /* Mobile menu transitions */
  #mobileMenu.open {
    transform: translateX(0);
  }

  /* Hamburger animation */
  #menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
  }
  #menuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #FDF8F0;
  }
  ::-webkit-scrollbar-thumb {
    background: #e0a048;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #d95226;
  }

  /* Image hover zoom container */
  .group img {
    will-change: transform;
  }

  /* Subtle pattern overlay for sections */
  .bg-cream::before,
  .bg-warm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(217, 82, 38, 0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
  }

  /* Focus styles for accessibility */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #d95226;
    outline-offset: 2px;
  }

  /* Ensure hero text is readable */
  #hero h1,
  #hero p,
  #hero a {
    position: relative;
    z-index: 10;
  }

  /* Testimonial section text contrast */
  .bg-terracotta-600 p {
    color: #FDF6EC;
  }

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