  /* Custom styles for Hair Place */

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

  /* Selection color */
  ::selection {
    background: #fbbf24;
    color: #1a0a1e;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #1a0a1e;
  }
  ::-webkit-scrollbar-thumb {
    background: #a82149;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #cb2d5e;
  }

  /* Navbar transition */
  #navbar.scrolled {
    background: rgba(15, 6, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Service card hover effect */
  .service-card {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s ease, border-color 0.5s ease;
  }
  .service-card:hover {
    transform: translateY(-4px);
  }

  /* Gallery hover effect */
  .gallery-item {
    cursor: pointer;
  }
  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 10, 30, 0);
    transition: background 0.4s ease;
    border-radius: inherit;
  }
  .gallery-item:hover::after {
    background: rgba(26, 10, 30, 0.2);
  }

  /* Mobile menu */
  .mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  #mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
  }
  #mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
  #mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
  #mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
  #mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
  #mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

  /* Menu button animation */
  .menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  }
  #menuBtn.active .menu-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  #menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
  }
  #menuBtn.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.5rem;
    margin-left: 0;
    margin-right: 0;
  }

  /* Scroll reveal animations (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .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; }
  }

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

  /* Select styling for mobile */
  select option {
    background: #1a0a1e;
    color: white;
  }

  /* Floating card animation */
  @media (prefers-reduced-motion: no-preference) {
    .float-1 {
      animation: float1 6s ease-in-out infinite;
    }
    .float-2 {
      animation: float2 5s ease-in-out infinite;
    }
  }

  @keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }

  @keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(8px); }
  }

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