/* Minnesota Automotive - Custom Styles */
/* This file provides additional styles and progressive enhancement */

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--emerald);
    outline-offset: 2px;
}

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

/* Button hover effects */
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Mobile menu animations */
.mobile-menu-btn span {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar scroll effect */
.navbar {
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .hero-scroll {
        animation: none;
    }
    
    .service-card,
    .btn {
        transition: none;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-scroll,
    .contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem;
        background: var(--emerald) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
