/* Lover's Leap Campground — Custom Editorial Styles */

/* Base typography refinements */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Playfair Display font loading */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: local('Playfair Display'), local('PlayfairDisplay'),
         url('https://fonts.gstatic.com/s/playfairdisplay/v34/nuFiD-cqWI/MQpiSjWdSnsg6PlwD8shzw.woff2') format('woff2');
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0F1419;
}
::-webkit-scrollbar-thumb {
    background: #3D454D;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E85D4A;
}

/* Selection color */
::selection {
    background: #E85D4A;
    color: #0F1419;
}

/* Smooth image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Editorial typography — large display */
.headline-large {
    font-size: clamp(2.75rem, 5.5vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
}

/* Subtle text gradient for special headings */
.text-gradient-coral {
    background: linear-gradient(135deg, #E85D4A 0%, #F07A6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #E85D4A;
    outline-offset: 4px;
    border-radius: 2px;
}

/* Print styles */
@media print {
    .nav-glass,
    #mobile-menu,
    .img-zoom {
        display: none !important;
    }
    body {
        background: white !important;
        color: #1a1a1a !important;
    }
    .bg-charcoal-900,
    .bg-charcoal-800 {
        background: white !important;
    }
    .text-charcoal-100,
    .text-charcoal-500 {
        color: #1a1a1a !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-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    .img-zoom img {
        transition: none !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .editorial-line {
        background: ButtonText;
    }
    .bg-coral-500 {
        background: Highlight;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .headline-large {
        font-size: 2.25rem;
    }
    .font-serif.text-4xl,
    .font-serif.text-5xl {
        font-size: 1.75rem;
    }
}
