/* ========================================
   TUMBLING CREEK CAMPGROUND
   Bold Editorial — Plum & Amber
   ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --plum-50:  #faf4f6;
    --plum-100: #f3e6eb;
    --plum-200: #e8ccd9;
    --plum-300: #d4a3b8;
    --plum-400: #c07a96;
    --plum-500: #a05574;
    --plum-600: #8a4460;
    --plum-700: #723650;
    --plum-800: #5e2e43;
    --plum-900: #4f2839;
    --plum-950: #2a1420;

    --amber-50:  #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;

    --cream: #faf8f5;
    --cream-dark: #f0ebe4;
    --ink: #1a1418;
    --ink-light: #3d2e36;
    --ink-muted: #6b5660;
    --white: #ffffff;

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

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

    --shadow-sm: 0 1px 3px rgba(42, 20, 32, 0.08), 0 1px 2px rgba(42, 20, 32, 0.06);
    --shadow-md: 0 4px 16px rgba(42, 20, 32, 0.1), 0 2px 6px rgba(42, 20, 32, 0.06);
    --shadow-lg: 0 12px 40px rgba(42, 20, 32, 0.14), 0 4px 12px rgba(42, 20, 32, 0.08);
    --shadow-xl: 0 24px 60px rgba(42, 20, 32, 0.18), 0 8px 20px rgba(42, 20, 32, 0.1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

.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: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--plum-700);
    font-style: italic;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-amber {
    background: var(--amber-500);
    color: var(--ink);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-amber:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-plum {
    background: var(--plum-700);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(114, 54, 80, 0.3);
}

.btn-plum:hover {
    background: var(--plum-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 54, 80, 0.4);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.0625rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(42, 20, 32, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(250, 248, 245, 0.96);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
}

.logo--light {
    color: var(--white);
}

.logo-mark {
    color: var(--amber-500);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.main-nav a:not(.btn) {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-muted);
    transition: color 0.2s ease;
    position: relative;
}

.main-nav a:not(.btn):hover {
    color: var(--ink);
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-500);
    transition: width 0.25s ease;
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger {
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ========================================
   HERO
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

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

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

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 20, 32, 0.82) 0%,
        rgba(79, 40, 57, 0.70) 50%,
        rgba(42, 20, 32, 0.85) 100%
    );
}

.hero-card {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.headline-line {
    display: block;
}

.headline-accent {
    color: var(--amber-300);
    font-style: italic;
    font-weight: 400;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating stat cards */
.hero-stats {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.stat-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.stat-card svg {
    color: var(--amber-300);
    flex-shrink: 0;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-card--1 {
    top: 18%;
    left: 4%;
}

.stat-card--2 {
    top: 55%;
    left: 2%;
}

.stat-card--3 {
    bottom: 22%;
    right: 4%;
}

.stat-card--4 {
    bottom: 8%;
    right: 12%;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

/* ========================================
   ABOUT
   ======================================== */

.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink-muted);
    margin-bottom: 20px;
}

.about-content .btn {
    margin-top: 12px;
}

/* ========================================
   AMENITIES
   ======================================== */

.amenities {
    background: var(--plum-950);
}

.amenities .section-eyebrow {
    color: var(--amber-400);
}

.amenities .section-title {
    color: var(--white);
}

.amenities .section-title .text-accent {
    color: var(--amber-300);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.amenity-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.amenity-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-400);
    margin-bottom: 20px;
}

.amenity-title {
    font-family: var(--font-serif);
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.amenity-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   GALLERY
   ======================================== */

.gallery {
    background: var(--cream-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item--wide {
    grid-column: span 7;
    min-height: 320px;
}

.gallery-item--tall {
    grid-column: span 5;
    min-height: 420px;
}

.gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
    min-height: 240px;
}

/* ========================================
   LOCATION
   ======================================== */

.location {
    background: var(--cream);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.location-content .section-title {
    margin-bottom: 20px;
}

.location-address {
    font-style: normal;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ink);
    margin-bottom: 20px;
}

.location-note {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-muted);
    margin-bottom: 32px;
}

.location-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.location-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.location-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
    background: var(--plum-900);
}

.contact .section-eyebrow {
    color: var(--amber-400);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-title .text-accent {
    color: var(--amber-300);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amber-400);
    transition: color 0.2s ease;
}

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

.contact-address {
    font-style: normal;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

/* Form */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    transition: all 0.2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--amber-500);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-group input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: rgba(239, 68, 68, 0.6);
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    font-size: 0.9375rem;
    font-weight: 500;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: var(--plum-950);
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-phone {
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--amber-400);
    transition: color 0.2s ease;
}

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

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   SCROLL REVEAL (below-fold only)
   ======================================== */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

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

    .gallery-item--wide {
        grid-column: span 12;
        min-height: 280px;
    }

    .gallery-item--tall {
        grid-column: span 6;
        min-height: 320px;
    }

    .gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
        grid-column: span 6;
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px 40px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: var(--shadow-xl);
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav a:not(.btn) {
        font-size: 1.125rem;
        color: var(--ink);
    }

    .main-nav .btn {
        margin-top: 12px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-stats {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .about-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap {
        order: -1;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--wide,
    .gallery-item--tall,
    .gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
        grid-column: span 1;
        min-height: 220px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-wrap {
        padding: 28px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

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

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
}
