/* Custom styles for Franco Mecanico */

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(5, 150, 105, 0.1);
}

.nav-scrolled .font-display {
    color: #064e3b !important;
}

/* Mobile menu animation */
#menu-open {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
#menu-mid {
    transition: opacity 0.3s ease;
}
#menu-close {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle.active #menu-open {
    transform: translateY(5px) rotate(45deg);
}
#menu-toggle.active #menu-mid {
    opacity: 0;
}
#menu-toggle.active #menu-close {
    transform: translateY(-5px) rotate(-45deg);
}

/* Service card stagger animation */
.service-card {
    opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Form styles */
.contact-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #d1fae5;
    border-radius: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #064e3b;
    background: white;
    transition: border-color 0.2s ease;
    outline: none;
}

.contact-input:focus {
    border-color: #059669;
}

.contact-input::placeholder {
    color: #9ca3af;
}
</style>
