  /* Custom styles for Hooper's Automotive */

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

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f1f5f9;
  }
  ::-webkit-scrollbar-thumb {
    background: #0B1D3A;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #1a3a6e;
  }

  /* Service card hover effects */
  .service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .service-card:hover {
    transform: translateY(-4px);
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(11, 29, 58, 0.08);
  }

  /* Mobile menu transitions */
  #mobile-menu {
    animation: slideDown 0.25s ease-out;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Mobile link hover */
  .mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
  }
  .mobile-link:last-child {
    border-bottom: none;
  }

  /* Scroll reveal animations */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .service-card:hover {
      transform: none;
    }
    .reveal {
      transition: none;
    }
    .animate-bounce {
      animation: none;
    }
    .animate-pulse {
      animation: none;
    }
  }

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

  /* Selection color */
  ::selection {
    background: #6EE7B7;
    color: #0B1D3A;
  }
