/* Custom Styles for Auto Air & Accessories */

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

/* Animation Utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-scrolled .text-terra-700 {
    color: #C85A3C;
}

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

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

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

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

/* Focus Styles for Accessibility */
button:focus, a:focus, input:focus, textarea:focus {
    outline: none;
}

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

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

/* Service Card Hover Effect */
.group:hover .group-hover\:bg-terra-500 {
    background-color: #C85A3C;
}

.group:hover .group-hover\:text-white {
    color: white;
}
