  /* Custom styles for Tahlequah ENT */

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

  /* Selection color */
  ::selection {
    background-color: rgba(200, 169, 97, 0.3);
    color: #f6f6f4;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0e0e0b;
  }
  ::-webkit-scrollbar-thumb {
    background: #35352d;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #C8A961;
  }

  /* Fade-in animation for hero elements */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  /* Scroll reveal */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

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

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

  /* Navbar scroll state */
  #navbar.scrolled {
    background-color: rgba(14, 14, 11, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 169, 97, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Mobile menu button animation */
  .menu-line {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  #menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  #menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
  }
  #menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* Service card hover effect */
  .group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-4px);
  }

  /* Input autofill override for dark theme */
  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  textarea:-webkit-autofill,
  textarea:-webkit-autofill:hover,
  textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #e8e8e4;
    -webkit-box-shadow: 0 0 0px 1000px #1c1c16 inset;
    transition: background-color 5000s ease-in-out 0s;
  }

  /* Select dropdown styling */
  select option {
    background-color: #1c1c16;
    color: #e8e8e4;
  }

  /* Gold shimmer on hover for CTA */
  @keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }

  /* Reduced motion preference */
  @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;
    }
  }

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

  /* Print styles */
  @media print {
    header, footer, #contact-form, #form-success {
      display: none !important;
    }
    body {
      background: white !important;
      color: black !important;
    }
    section {
      page-break-inside: avoid;
    }
  }
