  /* Custom styles for Dr. Yaelle Gabay Dental Practice */

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

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

  /* Fade-in animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-fadeIn {
    animation-name: fadeIn;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Scroll-triggered animations */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Service card hover effect */
  .service-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
  }

  .service-card:hover {
    transform: translateY(-4px);
  }

  /* Navbar styles */
  #navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  }

  #navbar.scrolled {
    background: rgba(10, 26, 18, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
  }

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

  #mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
  }

  /* Menu line animation */
  .menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

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

  #menuBtn.active .menu-line:last-child {
    transform: translateY(-4px) rotate(-45deg);
    opacity: 0;
  }

  /* Mobile link animation */
  .mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  #mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
  }

  #mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
  #mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
  #mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
  #mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
  #mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

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

  ::-webkit-scrollbar-track {
    background: #0A1A12;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
  }

  /* Select dropdown styling */
  select option {
    background: #0F2419;
    color: #FAF8F5;
  }

  /* Image hover zoom */
  img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Gold gradient text utility */
  .text-gold-gradient {
    background: linear-gradient(135deg, #E8D5A3 0%, #C9A84C 50%, #9A7B32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

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

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