/* Custom styles for Moe's Auto Body Repair */

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

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-slide-in {
    animation: slideIn 0.8s ease-out forwards;
}

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

::-webkit-scrollbar-track {
    background: #0a192f;
}

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

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

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

/* Hover transitions for cards */
.group:hover .group-hover\:text-navy-900 {
    color: #0a192f;
}

.group:hover .group-hover\:bg-gold-400 {
    background-color: #d4af37;
}

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

/* Image hover effects */
img {
    transition: transform 0.3s ease;
}

/* Gold accent underline for headings */
.font-serif + .w-24 {
    margin-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif.text-5xl {
        font-size: 2.5rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    nav,
    button,
    #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-navy-900 {
        background: #fff !important;
        color: #000 !important;
    }
}
