/* Custom styles for Curtis Automobile Body */

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

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.1);
}

/* Service card hover glow */
.group:hover .bg-emerald-600 {
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.3);
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

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

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Testimonial card hover */
.bg-cream-50:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Print styles */
@media print {
    nav, #contact, .cta-section {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
