/* Custom styles for Mueller's Auto Service */

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

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

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

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

::-webkit-scrollbar-track {
    background: #1e293b;
}

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Service card hover effect */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Intersection observer hidden state */
.observe-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.observe-visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button press effect */
button:active,
a:active {
    transform: scale(0.98);
}
