/* Custom styles for Mobile Brakes & Rotors */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #fefdf8;
    color: #052e16;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #14532d;
    color: #fefdf8;
}

/* Smooth image rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #14532d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    header,
    footer,
    .mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #services h2,
    #about h2,
    #why-us h2,
    #contact h2 {
        font-size: 2rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
