/* Custom styles for Oquendo Driving School */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #06080b;
}
::-webkit-scrollbar-thumb {
    background: #2a3545;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #F2635B;
}

/* Selection color */
::selection {
    background: rgba(242, 99, 91, 0.3);
    color: #f8fafc;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #F2635B;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #F2635B, #f47f78);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle card shimmer on hover */
.group:hover .group-hover\:bg-coral-500\/25 {
    background-color: rgba(242, 99, 91, 0.25);
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Map filter override for light mode */
@media (prefers-color-scheme: light) {
    iframe[src*="google.com/maps/embed"] {
        filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(0.9) !important;
    }
}
