/* Copper River Ranch — Custom Styles */

/* Base font loading */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/playfairdisplay/v32/nuFiD_vbq8Sg4VuPf9gQs_1.woff2') format('woff2');
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    -webkit-tap-highlight-color: transparent;
}

/* Selection color */
::selection {
    background: #2d5f2d;
    color: #fefdf8;
}

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

/* Print styles */
@media print {
    nav, .cta-btn, button, .reveal { display: none !important; }
    body { background: white !important; color: black !important; }
    section { padding: 2rem 1rem !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;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

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

/* Landscape phones — prevent overflow */
@media (max-width: 360px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    section { padding: 4rem 1rem !important; }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-bg {
        background-attachment: fixed;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    .max-w-7xl { max-width: 80rem; }
}
