/* Custom styles for Nolte's Garage */

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

/* Float animation for hero badge */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

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

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

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #d997ad;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ad4f68;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 3px solid #f5c035;
    outline-offset: 2px;
    border-radius: 4px;
}
