/* Custom styles for Magic Auto Body Collision Center */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0e0;
}
::-webkit-scrollbar-thumb {
    background: #96bc96;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6a9e6a;
}

/* Selection color */
::selection {
    background: #c5d9c5;
    color: #1b301b;
}

/* Service card hover effect */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(44, 77, 44, 0.15);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(44, 77, 44, 0.08);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    a,
    button {
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
}
