  /* ===== Custom Styles for Crazy Beach Salon ===== */

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

  /* Selection color */
  ::selection {
    background-color: rgba(201, 168, 76, 0.3);
    color: #fff;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #060F1F;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.4);
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.6);
  }

  /* ===== Navbar ===== */
  #navbar {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    background: transparent;
  }

  #navbar.scrolled {
    background: rgba(6, 15, 31, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }

  /* ===== Hero Animations ===== */
  .hero-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
  }
  .hero-anim:nth-child(1) { animation-delay: 0.1s; }
  .hero-anim:nth-child(2) { animation-delay: 0.3s; }
  .hero-anim:nth-child(3) { animation-delay: 0.5s; }
  .hero-anim:nth-child(4) { animation-delay: 0.7s; }

  .hero-img-anim {
    opacity: 0;
    transform: translateX(40px);
    animation: slideRight 1s ease forwards;
    animation-delay: 0.4s;
  }

  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes slideRight {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* ===== Reveal on Scroll ===== */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered reveal delays */
  .reveal:nth-child(1) { transition-delay: 0.05s; }
  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.15s; }
  .reveal:nth-child(4) { transition-delay: 0.2s; }
  .reveal:nth-child(5) { transition-delay: 0.25s; }
  .reveal:nth-child(6) { transition-delay: 0.3s; }

  /* ===== Service Cards ===== */
  .service-card {
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  }
  .service-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(201, 168, 76, 0.05);
  }

  /* ===== Testimonial Cards ===== */
  .testimonial-card {
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  }
  .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }

  /* ===== Gallery Items ===== */
  .gallery-item {
    overflow: hidden;
    position: relative;
  }
  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 15, 31, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
  }
  .gallery-item:hover::after {
    opacity: 1;
  }

  /* ===== Mobile Menu ===== */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }

  /* ===== About Section ===== */
  .about-img-anim {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideLeft 0.9s ease forwards;
  }
  @keyframes slideLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* ===== Gold shimmer accent line ===== */
  .gold-line {
    position: relative;
  }
  .gold-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C9A84C, transparent);
  }

  /* ===== Nav active link state ===== */
  .nav-link.active {
    color: #C9A84C !important;
  }

  /* ===== Button focus states ===== */
  button:focus-visible,
  a:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
  }

  /* ===== Responsive adjustments ===== */
  @media (max-width: 768px) {
    .font-serif {
      font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
  }

  /* ===== Reduced motion ===== */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
    .reveal {
      opacity: 1;
      transform: none;
    }
    .hero-anim {
      opacity: 1;
      transform: none;
    }
    .hero-img-anim {
      opacity: 1;
      transform: none;
    }
    .about-img-anim {
      opacity: 1;
      transform: none;
    }
  }
