/* 
    Custom styles for Glorious Driving School
    Complements Tailwind CSS
*/

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

/* Custom Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Glass Effect */
.nav-scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #146c4a;
}

/* Form Focus States */
input:focus, select:focus {
    outline: none;
}

/* Image Aspect Ratio Fixes */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
