/* Summit Equipment Rental — Custom Styles */

/* Base reset and typography */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

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

/* Focus visible */
:focus-visible {
    outline: 2px solid #15803d;
    outline-offset: 2px;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Hero section adjustments */
#hero {
    scroll-margin-top: 0;
}

/* Print styles */
@media print {
    nav, #contact-form, .wave-divider {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}

/* 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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .equip-card {
        border: 2px solid currentColor;
    }
}

/* Tablet adjustments */
@media (max-width: 767px) {
    .hero-grid {
        min-height: auto;
    }

    #hero > div:first-child {
        padding: 4rem 1.5rem 5rem;
    }

    #hero h1 {
        font-size: 2rem !important;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .hero-grid {
        min-height: 92vh;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    #hero > div:first-child {
        padding: 3rem 1.5rem;
    }
}
