  /* Custom styles for La Luxe Hair by Kayla */

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  /* Scroll reveal base — always visible, JS adds animation */
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.is-hidden {
      opacity: 0;
      transform: translateY(24px);
    }
    .scroll-reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Staggered delays for grid items */
  .scroll-reveal:nth-child(1) { transition-delay: 0ms; }
  .scroll-reveal:nth-child(2) { transition-delay: 80ms; }
  .scroll-reveal:nth-child(3) { transition-delay: 160ms; }
  .scroll-reveal:nth-child(4) { transition-delay: 240ms; }
  .scroll-reveal:nth-child(5) { transition-delay: 320ms; }
  .scroll-reveal:nth-child(6) { transition-delay: 400ms; }

  /* Navbar shadow on scroll */
  #nav.scrolled {
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.15);
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #F0F4F8;
  }
  ::-webkit-scrollbar-thumb {
    background: #B0C4D8;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #7BA3C0;
  }

  /* Selection color */
  ::selection {
    background: rgba(110, 231, 183, 0.3);
    color: #0A2540;
  }

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