/* Learn to Ride VC — Custom Styles */
/* These styles complement Tailwind and handle progressive-enhancement scroll reveals */

/* Ensure content is visible by default for accessibility / no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

/* When JS is enabled, hide reveals so they can be animated in */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(32px);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .js-enabled .reveal {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
    @keyframes gradientShift {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }
    .hero-gradient {
        animation: gradientShift 20s ease infinite;
    }
}

/* Smooth focus styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background-color: #047857;
    color: #fefdf8;
}
