  /* Custom styles for Candi's Longwood Barber Shop */

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

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0a1628;
  }
  ::-webkit-scrollbar-thumb {
    background: #1a3a6b;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #c9982e;
  }

  /* Selection color */
  ::selection {
    background: rgba(201, 152, 46, 0.3);
    color: #fff;
  }

  /* Service card hover animation */
  .service-card {
    will-change: transform;
  }

  /* Gallery item hover */
  .gallery-item {
    cursor: pointer;
  }

  /* Testimonial card hover */
  .testimonial-card {
    will-change: transform;
  }

  /* Fade-in animation for scroll reveals (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
  }

  /* Mobile menu transitions */
  #mobileMenu {
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Navbar background transition handled by JS */
  #navbar.scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  }

  /* Form focus styles */
  input:focus, textarea:focus {
    outline: none;
    border-color: #c9982e !important;
    box-shadow: 0 0 0 3px rgba(201, 152, 46, 0.15) !important;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
  }
