/* Surf House — Custom Styles */

/* Base */
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #d94318;
    color: #fff;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #d94318;
    outline-offset: 2px;
}

/* Smooth image rendering */
img {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Print styles */
@media print {
    .navbar, #mobile-menu, .btn-primary, .btn-secondary { display: none !important; }
    body { background: #fff !important; }
    a { color: #000 !important; }
}

/* Mobile-specific adjustments */
@media (max-width: 640px) {
    .hero-grid {
        min-height: auto;
    }
    .hero-grid > div:first-child {
        padding: 80px 1.5rem 60px;
    }
    h1 {
        font-size: 2rem !important;
    }
}

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

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid ButtonText;
    }
}
