  /* Custom styles for Hayes Trucking */

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

  /* Selection color */
  ::selection {
    background-color: rgba(200, 164, 90, 0.3);
    color: #fff;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0D1B2A;
  }
  ::-webkit-scrollbar-thumb {
    background: #233D59;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #C8A45A;
  }

  /* Scroll reveal base — content always visible by default (progressive enhancement) */
  .reveal-element {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal-element {
      opacity: 0;
      transform: translateY(24px);
    }
    .reveal-element.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    /* Stagger children */
    .reveal-element:nth-child(2) { transition-delay: 0.1s; }
    .reveal-element:nth-child(3) { transition-delay: 0.2s; }
    .reveal-element:nth-child(4) { transition-delay: 0.3s; }
    .reveal-element:nth-child(5) { transition-delay: 0.4s; }
  }

  /* Navbar scrolled state handled in JS */

  /* Custom select arrow */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C8A45A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
  }

  /* Hero gradient animation (subtle) */
  @media (prefers-reduced-motion: no-preference) {
    @keyframes gradientShift {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }
  }

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

  /* Mobile menu transition */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }
  #mobile-menu.open {
    max-height: 500px;
    padding-top: 0;
  }
