  /* Custom styles for JBF Automotive */

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

  /* Scroll reveal base — content always visible by default */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  /* Only apply hidden state when JS is active and user prefers motion */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Navbar glass effect */
  nav.scrolled {
    background: rgba(254, 242, 244, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(161, 27, 66, 0.08);
  }

  /* Mobile link hover */
  .mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(161, 27, 66, 0.08);
  }
  .mobile-link:last-child {
    border-bottom: none;
  }

  /* Custom select arrow */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a11b42' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
  }

  /* Subtle hover lift on service cards */
  .group:hover {
    transform: translateY(-2px);
  }

  /* Selection color */
  ::selection {
    background: rgba(161, 27, 66, 0.15);
    color: #6e1732;
  }

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

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

  /* Wide screen adjustments */
  @media (min-width: 1920px) {
    .max-w-6xl {
      max-width: 72rem;
    }
  }
