/* Custom styles for ExpressAuto4103 */

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

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(5, 13, 26, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1a35;
}

::-webkit-scrollbar-thumb {
    background: #1b3c65;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #22c55e;
}

/* Selection color */
::selection {
    background: rgba(34, 197, 94, 0.3);
    color: #f0f4f8;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Geometric shape decorations */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Form select styling */
select option {
    background: #0a1a35;
    color: #f0f4f8;
}

/* Map filter for dark theme */
iframe[title*="Google Maps"] {
    background: #0a1a35;
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure all text meets WCAG AA contrast */
/* midnight-200 (#d1dbe5) on midnight-900 (#0a1a35) = ~12:1 ✓ */
/* midnight-300 (#a8bbd1) on midnight-900 (#0a1a35) = ~9:1 ✓ */
/* midnight-400 (#7f9cbd) on midnight-900 (#0a1a35) = ~6:1 ✓ */
/* mint-400 (#86efac) on midnight-950 (#050d1a) = ~8:1 ✓ */
