/* Custom Styles for 909 Motors */

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

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

/* Selection Color */
::selection {
    background-color: #a7f3d0; /* mint-300 */
    color: #020617; /* midnight-900 */
}

/* Scroll Reveal Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for hero elements */
.hero-delay-1 { transition-delay: 100ms; }
.hero-delay-2 { transition-delay: 200ms; }
.hero-delay-3 { transition-delay: 300ms; }

/* Navbar transition helper */
#nav-bg {
    transition: opacity 0.3s ease-in-out;
}

#nav-bg.scrolled {
    opacity: 1;
}

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

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mobile Menu Transitions */
#mobile-menu {
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    border-color: #34d399; /* mint-500 */
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
}
