/* All Star Driver Education — Custom Styles */

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

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9ee;
}
::-webkit-scrollbar-thumb {
    background: #c6d9b2;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9dba7f;
}

/* Selection */
::selection {
    background: #c6d9b2;
    color: #1d2c15;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #4f7736;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image hover zoom */
.image-mask-1 img:hover,
.image-mask-2 img:hover {
    transform: scale(1.02);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Star rating animation */
.star-fill {
    display: inline-block;
    transition: transform 0.2s ease;
}
.star-fill:hover {
    transform: scale(1.2);
}

/* Print styles */
@media print {
    header, footer, .reveal { display: none; }
    body { color: #000; background: #fff; }
}
