  /* Custom styles for Aveda's salon website */

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

  /* Selection color */
  ::selection {
    background-color: #a8397d;
    color: #fff;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #faf0f7;
  }
  ::-webkit-scrollbar-thumb {
    background: #d983c0;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #a8397d;
  }

  /* Service cards - default visible state for progressive enhancement */
  .service-card {
    opacity: 1;
    transform: none;
  }

  /* Gallery items - default visible state */
  .gallery-item {
    opacity: 1;
  }

  /* Mobile menu animation */
  #mobile-menu {
    transition: opacity 0.4s ease, pointer-events 0.4s ease;
  }
  #mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
  }
  #mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
  }

  /* Hamburger animation */
  #bar1.open {
    transform: translateY(8px) rotate(45deg);
  }
  #bar2.open {
    opacity: 0;
    transform: scaleX(0);
  }
  #bar3.open {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Mobile links animation */
  .mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .mobile-link.show {
    opacity: 1;
    transform: translateY(0);
  }

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

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .service-card,
    .gallery-item {
      transition: none;
    }
    .gallery-item img {
      transition: none;
    }
    button, a {
      transition: none;
    }
  }

  /* Scroll reveal classes (progressive enhancement - JS adds these) */
  .reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Header shadow on scroll */
  #site-header.scrolled {
    box-shadow: 0 4px 20px rgba(168, 57, 125, 0.08);
  }

  /* Hero decorative elements animation */
  @media (prefers-reduced-motion: no-preference) {
    .hero-blob {
      animation: float 6s ease-in-out infinite;
    }
    .hero-blob-alt {
      animation: float 8s ease-in-out infinite reverse;
    }
    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-20px); }
    }
  }
