/* ============================================
   Dry Lake Campground — Custom Styles
   Palette: Plum (#3B0A3B / #5C1A5C) + Amber (#D4A017 / #F0C040)
   Fonts: Playfair Display + Inter
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --plum-900: #1A0520;
    --plum-800: #2D0A30;
    --plum-700: #3B0A3B;
    --plum-600: #4A1050;
    --plum-500: #5C1A5C;
    --plum-400: #7B2E7B;
    --plum-100: #F3E5F3;
    --plum-50:  #FBF5FB;

    --amber-600: #B8860B;
    --amber-500: #D4A017;
    --amber-400: #E8B82E;
    --amber-300: #F0C84A;
    --amber-200: #F5D87A;
    --amber-100: #FDF0C0;

    --stone-900: #1A1A1A;
    --stone-800: #2A2A2A;
    --stone-700: #3D3D3D;
    --stone-600: #555555;
    --stone-500: #6E6E6E;
    --stone-400: #8A8A8A;
    --stone-300: #B0B0B0;
    --stone-200: #D1D1D1;
    --stone-100: #EDEDED;
    --stone-50:  #F7F7F7;

    --white: #FFFFFF;
    --cream: #FDF9F5;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    color: var(--stone-800);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--plum-700);
    color: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 500;
}
.skip-link:focus { top: var(--space-md); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    color: var(--stone-900);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: var(--space-sm);
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: var(--space-lg);
}

.section-lead {
    font-size: 1.125rem;
    color: var(--stone-600);
    max-width: 560px;
    line-height: 1.7;
}

.lead {
    font-size: 1.125rem;
    color: var(--stone-700);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.8125rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-amber {
    background: var(--amber-500);
    color: var(--stone-900);
    border-color: var(--amber-500);
}
.btn-amber:hover {
    background: var(--amber-400);
    border-color: var(--amber-400);
    box-shadow: 0 4px 16px rgba(212,160,23,0.35);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--plum-700);
    border-color: var(--white);
}

.btn-outline-plum {
    background: transparent;
    color: var(--plum-700);
    border-color: var(--plum-700);
}
.btn-outline-plum:hover {
    background: var(--plum-700);
    color: var(--white);
}

.btn-small { padding: 0.5rem 1.125rem; font-size: 0.8125rem; }
.btn-large { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.0);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    color: var(--white);
    transition: color 0.4s ease;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
    display: block;
    margin-top: -2px;
}

.logo-icon { color: var(--amber-400); }

.site-header.scrolled .logo { color: var(--plum-700); }

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-list a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s ease;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--amber-400);
    transition: width 0.3s ease;
}

.nav-list a:hover { color: var(--white); }
.nav-list a:hover::after { width: 100%; }

.site-header.scrolled .nav-list a { color: var(--stone-600); }
.site-header.scrolled .nav-list a:hover { color: var(--plum-700); }
.site-header.scrolled .nav-list a::after { background: var(--amber-500); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

.site-header.scrolled .hamburger,
.site-header.scrolled .hamburger::before,
.site-header.scrolled .hamburger::after { background: var(--plum-700); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1200px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26,5,32,0.55) 0%,
        rgba(26,5,32,0.40) 50%,
        rgba(26,5,32,0.70) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-300);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-300);
}

.hero-sub {
    font-size: 1.1875rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll span {
    display: block;
    width: 2px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ---------- Intro ---------- */
.intro {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.intro-text .section-heading { margin-bottom: var(--space-md); }
.intro-text p { color: var(--stone-600); margin-bottom: var(--space-md); }
.intro-text p:last-child { margin-bottom: 0; }

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ---------- Features / Camp Sites ---------- */
.features {
    padding: var(--space-4xl) 0;
    background: var(--plum-50);
}

.features-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.features-header .section-lead { margin: 0 auto; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-img {
    height: 240px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-img img { transform: scale(1.05); }

.feature-card h3 {
    font-size: 1.375rem;
    padding: var(--space-lg) var(--space-lg) var(--space-sm);
}

.feature-card p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--stone-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ---------- Amenities ---------- */
.amenities {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.amenities-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.amenity-item {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--stone-100);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.amenity-item:hover {
    border-color: var(--plum-100);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    color: var(--plum-700);
    margin-bottom: var(--space-md);
}

.amenity-item h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--stone-800);
}

.amenity-item p {
    font-size: 0.875rem;
    color: var(--stone-500);
    line-height: 1.6;
}

/* ---------- Area ---------- */
.area {
    padding: var(--space-4xl) 0;
    background: var(--stone-50);
}

.area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.area-text .section-heading { margin-bottom: var(--space-md); }
.area-text p { color: var(--stone-600); margin-bottom: var(--space-md); }
.area-text p:last-child { margin-bottom: var(--space-lg); }

.area-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.area-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--stone-700);
}

.area-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--amber-500);
    border-radius: 50%;
    flex-shrink: 0;
}

.area-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26,5,32,0.82) 0%,
        rgba(26,5,32,0.65) 60%,
        rgba(26,5,32,0.40) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.cta-eyebrow { color: var(--amber-300); }

.cta-heading {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
}

.contact-info .section-heading { margin-bottom: var(--space-xl); }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--stone-700);
    margin-bottom: var(--space-md);
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--plum-500);
}

.contact-item a {
    color: var(--plum-700);
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-item a:hover { color: var(--amber-600); }

address { font-style: normal; }

.contact-hours {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--stone-100);
}

.contact-hours h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stone-500);
    margin-bottom: var(--space-sm);
}

.contact-hours p {
    font-size: 0.9375rem;
    color: var(--stone-600);
    margin-bottom: var(--space-xs);
}

.hours-note {
    font-size: 0.8125rem !important;
    color: var(--stone-400) !important;
    margin-top: var(--space-sm) !important;
}

/* Form */
.contact-form-wrap {
    background: var(--plum-50);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.form-note {
    font-size: 0.875rem;
    color: var(--stone-500);
    margin-bottom: var(--space-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--stone-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--stone-800);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(92,26,92,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-300);
}

.form-success {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: #E8F5E9;
    border-radius: var(--radius-sm);
    color: #2E7D32;
    font-size: 0.9375rem;
    font-weight: 500;
}

.form-success svg { flex-shrink: 0; }

/* ---------- Map ---------- */
.map-section {
    height: 400px;
    background: var(--stone-200);
}

.map-embed {
    width: 100%;
    height: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--plum-900);
    color: rgba(255,255,255,0.7);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: var(--space-md);
    max-width: 280px;
}

.logo-light { color: var(--white); }
.logo-light .logo-sub { color: rgba(255,255,255,0.6); }

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--amber-400);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--amber-400);
    transition: color 0.2s ease;
}

.footer-contact a:hover { color: var(--amber-300); }

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .features-grid,
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 var(--space-lg); }

    .nav-toggle { display: block; }

    .nav-list {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--plum-800);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-xl) var(--space-xl);
        gap: var(--space-lg);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 1000;
    }

    .nav-list.open { transform: translateX(0); }

    .nav-list a {
        color: rgba(255,255,255,0.85) !important;
        font-size: 1.0625rem;
    }
    .nav-list a::after { background: var(--amber-400) !important; }

    .nav-list li:last-child { margin-top: var(--space-md); }

    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }

    .intro-grid,
    .area-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .intro-image { order: -1; }

    .features-grid,
    .amenities-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }

    .form-row { grid-template-columns: 1fr; }

    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    .hero { min-height: 500px; }
    .hero-content { padding-top: 60px; }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.nav-overlay.active { display: block; }
