/* Custom styles for Fast Action Auto */

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

/* Service card hover lift */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(144, 42, 64, 0.08);
}

/* Navbar scroll effect */
.nav-scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Subtle line decorations */
.deco-line {
    position: absolute;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
}

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

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

::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #902a40;
}

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

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.25s ease-out;
}

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

/* Form success animation */
#form-success {
    animation: fadeIn 0.4s ease-out;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    a,
    button {
        transition: none;
    }
    
    #mobile-menu {
        animation: none;
    }
    
    #form-success {
        animation: none;
    }
}

/* Mobile responsiveness adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.15;
    }
}
