/* Custom styles for Thomasito Auto Body */

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

/* Navbar scroll effect */
#navbar {
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 92, 58, 0.08);
}

#navbar.scrolled {
    background: rgba(250, 249, 246, 0.95);
    box-shadow: 0 4px 20px rgba(26, 92, 58, 0.08);
}

/* Service card hover */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Testimonial card hover */
.testimonial-card {
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle gradient background for hero */
#hero {
    background: linear-gradient(135deg, #faf9f6 0%, #e8f5e9 50%, #faf9f6 100%);
}

/* Floating card animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.absolute.bottom-\[-24px\] {
    animation: float 3s ease-in-out infinite;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #66bb6a;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .testimonial-card {
        transition: none;
    }
    
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(0); }
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    #hero {
        padding-top: 2rem;
    }
}

/* Large screen adjustments */
@media (min-width: 1024px) {
    .hero-image-wrapper {
        position: relative;
    }
}
