/* Custom styles for Lucky Auto Repair and Collision Center */

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

/* Hero text shadow for readability on image */
.hero-text-shadow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

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

/* Mobile menu transition */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .service-card:hover {
        transform: none;
        transition: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #d45a3a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c44426;
}

/* Selection color */
::selection {
    background: #d45a3a;
    color: white;
}
