/* Jersey Drive Driving School — Custom Styles */

/* Base font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1e2024;
}
::-webkit-scrollbar-thumb {
    background: #3d4046;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5e6169;
}

/* Selection color */
::selection {
    background-color: rgba(232, 78, 44, 0.2);
    color: #f6f6f7;
}

/* Smooth focus outlines for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e84e2c;
    outline-offset: 2px;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

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

/* Print styles */
@media print {
    header, footer, .reveal {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    a {
        color: black !important;
    }
}
