/* Custom styles — complements Tailwind */

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

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

nav.scrolled .nav-link {
    color: #374151;
}

nav.scrolled .nav-link:hover {
    color: #7B2D3B;
}

nav.scrolled #navbar .w-10,
nav.scrolled #navbar .font-serif,
nav.scrolled #navbar .text-xs {
    color: inherit;
}

nav.scrolled #navbar .text-burgundy-800 {
    color: #7B2D3B;
}

nav.scrolled #navbar .text-burgundy-600 {
    color: #a11d3f;
}

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

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

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

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

/* Process steps */
.process-step {
    opacity: 1;
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(123, 45, 59, 0.08);
}

/* Custom select arrow */
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='%236b7280' 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;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .service-card,
    .testimonial-card,
    .process-step {
        transition: none;
        transform: none;
    }

    #mobileMenu.show {
        animation: none;
    }
}

/* Utility */
@media (max-width: 767px) {
    .font-serif {
        line-height: 1.15;
    }
}
