  /* Custom styles for JEDT Motors */

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

  /* Selection color */
  ::selection {
    background: rgba(152, 212, 196, 0.3);
    color: #f0faf5;
  }

  /* Scroll reveal base — progressive enhancement */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Stagger delays for grid items */
  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }
  .reveal:nth-child(4) { transition-delay: 0.3s; }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0a2540;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(152, 212, 196, 0.3);
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(152, 212, 196, 0.5);
  }

  /* Image aspect ratio fallback */
  .aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
  }
  .aspect-\[4\/5\] {
    aspect-ratio: 4 / 5;
  }
  .aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
  }

  /* Focus visible styles */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #98d4c4;
    outline-offset: 2px;
  }

  /* Form focus states handled in Tailwind already */
