/* Custom styles for Mud Creek Auto Repair */

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

/* Navbar scroll effect */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

/* Hero section */
.hero {
    min-height: 100vh;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.9) 0%, rgba(36, 59, 83, 0.85) 50%, rgba(51, 78, 104, 0.8) 100%);
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* Animation classes */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stat-card .number {
        font-size: 2rem;
    }
}
