/* ═══════════════════════════════════════════
   Raccoon Ridge Campground — Styles
   Classic & Elegant · Forest Green + Off-White
   ═══════════════════════════════════════════ */

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

:root {
    --forest: #1a3c2a;
    --forest-deep: #0f2519;
    --forest-mid: #2d5a3f;
    --forest-light: #3d7a56;
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --cream-dark: #e8e0d0;
    --bark: #3d2b1f;
    --bark-light: #6b5244;
    --moss: #7a8a6e;
    --moss-light: #a8b89c;
    --gold: #c4a35a;
    --gold-light: #d4b87a;
    --text-dark: #1a1a18;
    --text-mid: #4a4a44;
    --text-light: #7a7a72;
    --white: #ffffff;
    
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 3px rgba(26, 60, 42, 0.06), 0 1px 2px rgba(26, 60, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(26, 60, 42, 0.08), 0 2px 4px rgba(26, 60, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(26, 60, 42, 0.12), 0 4px 12px rgba(26, 60, 42, 0.06);
    --shadow-xl: 0 24px 60px rgba(26, 60, 42, 0.16), 0 8px 20px rgba(26, 60, 42, 0.08);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ─── Skip Link ─── */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--forest);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 200;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: var(--space-sm);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
}

.btn-dark {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}
.btn-dark:hover {
    background: var(--forest-deep);
    border-color: var(--forest-deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white);
}
.btn-light:hover {
    background: var(--cream);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 60, 42, 0.08);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--forest);
    letter-spacing: -0.01em;
}
.logo-icon {
    color: var(--forest);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.nav a {
    color: var(--text-mid);
    transition: color 0.2s ease;
    position: relative;
}
.nav a:not(.btn):hover {
    color: var(--forest);
}
.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--forest);
    transition: width 0.3s ease;
}
.nav a:not(.btn):hover::after {
    width: 100%;
}
.nav .btn {
    margin-left: 0.5rem;
}

.nav-toggle,
.nav-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--forest);
    padding: var(--space-xs);
}

/* Mobile nav */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: var(--space-md);
        padding: var(--space-xl);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
    }
    .nav.open {
        transform: translateX(0);
    }
    .nav-close {
        display: block;
        position: absolute;
        top: var(--space-md);
        right: var(--space-md);
    }
    .nav a {
        font-size: 1rem;
    }
    .nav .btn {
        margin-left: 0;
        margin-top: var(--space-sm);
    }
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15, 37, 25, 0.82) 0%,
        rgba(26, 60, 42, 0.70) 50%,
        rgba(45, 90, 63, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--moss-light);
    margin-bottom: var(--space-lg);
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}
.hero-headline em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin-bottom: var(--space-xl);
    font-weight: 300;
}

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

/* ─── Hero Stats ─── */
.hero-stats {
    position: relative;
    z-index: 1;
    margin-top: auto;
}
.hero-stats .container {
    padding-top: 0;
    padding-bottom: var(--space-xl);
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
}
.stat-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content {
        padding-top: var(--space-2xl);
    }
}

@media (max-width: 480px) {
    .stat-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── Section Tags & Titles ─── */
.section-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--forest);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-mid);
    max-width: 560px;
}

.section-header.center {
    text-align: center;
}
.section-header.center .section-sub {
    margin: 0 auto;
}

.lead {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: var(--space-md);
}

/* ─── About ─── */
.about {
    padding: var(--space-3xl) 0;
    background: var(--cream-light);
}

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

.about-image-wrap {
    position: relative;
}
.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--forest);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-content {
    padding: var(--space-lg) 0;
}
.about-content .section-title {
    margin-bottom: var(--space-md);
}
.about-content p {
    color: var(--text-mid);
    margin-bottom: var(--space-md);
}
.about-content .lead {
    color: var(--text-dark);
    font-weight: 400;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--cream-dark);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--text-dark);
}
.feature svg {
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.feature strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--forest);
    margin-bottom: 0.125rem;
}
.feature span {
    font-size: 0.875rem;
    color: var(--text-light);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .about-image-wrap {
        max-width: 500px;
    }
}

/* ─── Accommodations ─── */
.accommodations {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.accommodations .section-header {
    margin-bottom: var(--space-2xl);
}

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

.accom-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;
}
.accom-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.accom-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.accom-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.accom-card:hover .accom-card-img img {
    transform: scale(1.05);
}

.accom-tag {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--forest);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
}

.accom-card-body {
    padding: var(--space-lg);
}
.accom-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}
.accom-card-body p {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.accom-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
}
.accom-list li {
    font-size: 0.875rem;
    color: var(--text-mid);
    padding-left: 1.25rem;
    position: relative;
}
.accom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--moss-light);
    border-radius: 50%;
}

.accom-card-body .btn {
    width: 100%;
}

@media (max-width: 900px) {
    .accommodation-cards {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .accommodation-cards {
        grid-template-columns: 1fr;
    }
}

/* ─── Nature ─── */
.nature {
    padding: var(--space-3xl) 0;
    background: var(--forest-deep);
    color: var(--white);
}

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

.nature-content .section-tag {
    color: var(--gold);
}
.nature-content .section-title {
    color: var(--white);
}
.nature-content .lead {
    color: rgba(255, 255, 255, 0.7);
}
.nature-content p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-md);
}

.nature-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.highlight {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}
.highlight-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
    width: 2rem;
}
.highlight strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--white);
    margin-bottom: 0.125rem;
}
.highlight span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.nature-images {
    position: relative;
    min-height: 500px;
}
.nature-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.nature-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nature-img-small {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--forest-deep);
}
.nature-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .nature-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    .nature-images {
        min-height: 400px;
        order: -1;
    }
}

/* ─── Visit ─── */
.visit {
    padding: var(--space-3xl) 0;
    background: var(--cream-light);
}

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

.contact-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}
.contact-item svg {
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 0.125rem;
}
.contact-item span,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--text-mid);
}
.contact-item a:hover {
    color: var(--forest);
    text-decoration: underline;
}

.hours-block {
    margin-top: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--forest);
    border-radius: var(--radius-md);
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.hours-block strong {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.25rem;
}
.hours-block span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}
.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

@media (max-width: 900px) {
    .visit-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Contact Form ─── */
.contact-form-wrap {
    padding-top: var(--space-xl);
}
.contact-form-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.contact-form-inner .section-tag {
    margin-bottom: var(--space-sm);
}
.form-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: var(--space-sm);
}
.contact-form-inner > p {
    color: var(--text-mid);
    margin-bottom: var(--space-xl);
}

.contact-form {
    text-align: left;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: var(--space-md);
}
.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mid);
}
.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(--cream-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest-light);
    box-shadow: 0 0 0 3px rgba(61, 122, 86, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.625rem;
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: rgba(61, 122, 86, 0.08);
    border: 1px solid rgba(61, 122, 86, 0.2);
    border-radius: var(--radius-md);
    color: var(--forest);
    font-size: 0.9375rem;
    font-weight: 600;
}
.form-success.show {
    display: flex;
}
.form-success svg {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ─── Footer ─── */
.site-footer {
    background: var(--forest-deep);
    color: var(--white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-light {
    color: var(--white);
}
.logo-light .logo-icon {
    color: var(--white);
}
.footer-brand p {
    margin-top: var(--space-sm);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links strong,
.footer-contact strong {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}
.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--white);
}
.footer-contact p,
.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}
.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* ─── 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.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Reduced motion: ensure everything is visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
