/* === Custom Styles for L&D Auto Body === */

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

/* Custom selection color */
::selection {
    background-color: #E8735A;
    color: white;
}

/* === Hero Animations === */
.hero-badge {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

h1 {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

h1 p,
.hero-section p {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-trust {
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Service Cards === */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, background-color 0.5s ease;
}

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

/* === Scroll Reveal === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === Navbar === */
.nav-scrolled {
    background-color: rgba(250, 248, 246, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-scrolled .font-serif {
    color: #1A1A1A !important;
}

/* === Mobile Menu === */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* === Form Styles === */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C5C5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* === Map overlay card === */
.map-overlay {
    backdrop-filter: blur(8px);
}

/* === Utility === */
.italic-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
}

/* === Responsive adjustments === */
@media (max-width: 768px) {
    .hero-badge {
        animation-delay: 0s;
    }
    
    h1 {
        animation-delay: 0.1s;
    }
}

/* === Print styles === */
@media print {
    nav, #contact, footer {
        display: none;
    }
}
