  /* ─── Custom styles for Gotcha Tires ─── */

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

  /* Selection color */
  ::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #f1f5f9;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0a0f1a;
  }
  ::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #334155;
  }

  /* ─── Scroll reveal animations ─── */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
  .scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
  .scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
  .scroll-reveal:nth-child(5) { transition-delay: 0.4s; }
  .scroll-reveal:nth-child(6) { transition-delay: 0.5s; }

  /* ─── Hero animations ─── */
  .hero-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
  }
  .hero-image {
    opacity: 0;
    animation: fadeInRight 0.8s ease 0.3s forwards;
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
  }

  /* ─── Navbar ─── */
  #navbar.scrolled {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #d4a843;
    transition: width 0.3s ease;
    margin-top: 2px;
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* ─── Mobile menu ─── */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }
  #mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
  }
  .menu-line.open-1 {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .menu-line.open-2 {
    opacity: 0;
  }
  .menu-line.open-3 {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  /* ─── Service card hover glow ─── */
  .group:hover {
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.08);
  }

  /* ─── Gold accent hover effects ─── */
  a[href^="tel"] {
    position: relative;
  }

  /* ─── Form focus states ─── */
  input:focus, select:focus, textarea:focus {
    background: rgba(30, 41, 59, 0.8);
  }

  /* ─── Responsive adjustments ─── */
  @media (max-width: 640px) {
    .font-serif {
      font-size: 2rem;
    }
    #hero h1 {
      font-size: 2.5rem;
    }
  }

  @media (min-width: 641px) and (max-width: 1024px) {
    #hero h1 {
      font-size: 3.5rem;
    }
  }

  /* ─── Subtle gold shimmer on CTA buttons ─── */
  .from-gold-500, .to-gold-400 {
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
  }
  @keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  /* ─── Testimonial card hover ─── */
  .scroll-reveal:hover {
    border-color: rgba(212, 168, 67, 0.2) !important;
    transform: translateY(-4px);
    transition: all 0.3s ease;
  }
