  /* Custom styles for Dr. Steven Goldstein DC Salon */

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

  /* Selection color */
  ::selection {
    background-color: #0d9488;
    color: white;
  }

  /* Nav link underline animation */
  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d9488;
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  /* Mobile menu animation */
  .menu-line {
    transition: all 0.3s ease;
  }

  #menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  #menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  #menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

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

  /* Service card hover effect */
  .service-card {
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .service-card:hover::before {
    transform: scaleX(1);
  }

  /* Gallery hover overlay */
  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 148, 136, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }

  .gallery-item:hover::after {
    opacity: 1;
  }

  /* Testimonial card subtle glow */
  .testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
  }

  /* Fade-in animation */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger children */
  .fade-in-delay-1 { transition-delay: 0.1s; }
  .fade-in-delay-2 { transition-delay: 0.2s; }
  .fade-in-delay-3 { transition-delay: 0.3s; }
  .fade-in-delay-4 { transition-delay: 0.4s; }

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

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #f1f5f9;
  }

  ::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
  }

  /* Focus visible for accessibility */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
  }

  /* Responsive adjustments */
  @media (max-width: 640px) {
    .font-serif {
      line-height: 1.15;
    }
  }
