/* Custom styles for Wally's Automotive */

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

/* Scroll reveal base — progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(32px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar-scrolled .nav-logo-text {
    color: #0f172a !important;
}

.navbar-scrolled .nav-link {
    color: rgba(15, 23, 42, 0.7) !important;
}

/* Input focus styles */
input:focus,
textarea:focus {
    outline: none;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5c7cfa;
}

/* Selection color */
::selection {
    background: #bbf7d0;
    color: #0f172a;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Subtle gradient for hero text */
.text-gradient-mint {
    background: linear-gradient(135deg, #86efac 0%, #4ade80 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(110, 231, 183, 0.3);
}
