  /* Custom styles for Hair on the Hill */

  html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden;
  }

  /* Navbar scroll effect */
  #navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  }

  #navbar.scrolled {
    background-color: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  }

  #navbar.scrolled .font-display {
    color: #a1361a;
  }

  #navbar.scrolled #navLinks a:not(.px-5) {
    color: #44403c;
  }

  /* Service card stagger animation */
  .service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

  /* Gallery hover */
  .gallery-item img {
    display: block;
  }

  /* Testimonial card */
  .testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(161, 54, 26, 0.1);
  }

  /* Mobile menu animation */
  #mobileMenu {
    animation: fadeIn 0.3s ease forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

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

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