/* ============================================
   Camp Dakota Campground — Styles
   Clean minimalist · Forest green + off-white
   ============================================ */

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

:root {
    --green-900: #0f2618;
    --green-800: #1a3c2a;
    --green-700: #234d36;
    --green-600: #2d6a4f;
    --green-500: #40916c;
    --green-400: #52b788;
    --green-300: #74c69d;
    --green-200: #95d5b2;
    --green-100: #b7e4c7;
    --green-50:  #d8f3dc;

    --off-white:  #faf9f6;
    --warm-white: #f5f4f0;
    --cream:      #edecea;
    --sand:       #e2e0db;
    --stone:      #b8b5ad;
    --charcoal:   #2a2926;
    --dark:       #1a1917;

    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in:  cubic-bezier(0.6, 0, 0.4, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--off-white);
    overflow-x: hidden;
}

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

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

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

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

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
    color: var(--green-900);
}

.section-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #5a5854;
    max-width: 520px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
    border-bottom-color: var(--sand);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--green-800);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    color: var(--green-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--charcoal);
    transition: color 0.25s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-500);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--green-700);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--green-700) !important;
    border: 1px solid var(--green-300);
    padding: 8px 16px;
    border-radius: 100px;
    transition: background 0.25s ease, color 0.25s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--green-700);
    color: var(--off-white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-left {
    padding-right: 20px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--green-400);
}

.hero-headline {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--green-900);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: 17px;
    line-height: 1.8;
    color: #5a5854;
    margin-bottom: 40px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--green-800);
    color: var(--off-white);
}

.btn-primary:hover {
    background: var(--green-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 60, 42, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--sand);
}

.btn-ghost:hover {
    border-color: var(--green-400);
    color: var(--green-700);
}

.btn-dark {
    background: var(--charcoal);
    color: var(--off-white);
}

.btn-dark:hover {
    background: var(--dark);
    transform: translateY(-1px);
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-num {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--green-800);
    line-height: 1;
}

.hero-stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone);
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--sand);
}

/* Hero images */
.hero-right {
    position: relative;
}

.hero-image-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 38, 24, 0.12);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 68/86;
}

.hero-image-accent {
    position: absolute;
    bottom: -40px;
    left: -60px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 38, 24, 0.15);
    border: 4px solid var(--off-white);
}

.hero-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 400/260;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--stone);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--sand);
}

.divider-dots {
    font-size: 18px;
    color: var(--stone);
    letter-spacing: 0.3em;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

/* --- Sites --- */
.sites {
    background: var(--off-white);
}

.sites .container {
    text-align: center;
}

.sites .section-desc {
    margin: 0 auto 60px;
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
}

.site-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--warm-white);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(15, 38, 24, 0.1);
}

.site-card-img {
    overflow: hidden;
    aspect-ratio: 600/400;
}

.site-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.site-card:hover .site-card-img img {
    transform: scale(1.04);
}

.site-card-body {
    padding: 32px;
}

.site-card-title {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--green-900);
}

.site-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #5a5854;
    margin-bottom: 20px;
}

.link-arrow {
    font-size: 13px;
    font-weight: 500;
    color: var(--green-700);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s var(--ease-out);
}

.link-arrow:hover {
    gap: 10px;
}

/* --- Amenities --- */
.amenities {
    background: var(--green-900);
    color: var(--off-white);
}

.amenities .section-eyebrow {
    color: var(--green-300);
}

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

.amenities .section-desc {
    color: rgba(250, 249, 246, 0.65);
}

.amenities-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.amenities-left {
    position: sticky;
    top: 120px;
}

.amenities-left .section-desc {
    margin-bottom: 32px;
}

.btn-dark {
    background: var(--off-white);
    color: var(--green-900);
}

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

.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.amenity-item {
    display: flex;
    gap: 16px;
}

.amenity-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(250, 249, 246, 0.08);
    border: 1px solid rgba(250, 249, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-300);
}

.amenity-title {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--off-white);
    margin-bottom: 4px;
}

.amenity-desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(250, 249, 246, 0.55);
}

/* --- Location --- */
.location {
    background: var(--warm-white);
}

.location-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: stretch;
}

.location-info {
    padding: 40px 0;
}

.location-address {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-style: normal;
    font-size: 18px;
    line-height: 1.6;
    color: var(--charcoal);
    margin: 28px 0 24px;
}

.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 500;
    color: var(--green-700);
    margin-bottom: 12px;
    transition: color 0.25s ease;
}

.location-phone:hover {
    color: var(--green-500);
}

.location-note {
    font-size: 14px;
    color: var(--stone);
    margin-bottom: 28px;
}

.location-map-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    border-bottom: 1px solid var(--sand);
    padding-bottom: 2px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.location-map-link a:hover {
    color: var(--green-700);
    border-color: var(--green-400);
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 16px 48px rgba(15, 38, 24, 0.1);
}

/* --- Contact / CTA --- */
.contact {
    background: var(--off-white);
    padding: 80px 0;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 56px 56px;
    background: var(--green-800);
    border-radius: 16px;
}

.contact-text .section-eyebrow {
    color: var(--green-300);
}

.contact-text .section-title {
    color: var(--off-white);
    margin-bottom: 12px;
}

.contact-text .section-desc {
    color: rgba(250, 249, 246, 0.6);
    max-width: 400px;
}

.contact-right {
    text-align: right;
    flex-shrink: 0;
}

.contact-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--off-white);
    transition: color 0.25s ease;
}

.contact-phone-link:hover {
    color: var(--green-200);
}

.contact-address {
    font-size: 14px;
    color: rgba(250, 249, 246, 0.5);
    margin-top: 8px;
}

/* --- Footer --- */
.footer {
    background: var(--green-900);
    color: var(--off-white);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(250, 249, 246, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--off-white);
}

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

.footer-tagline {
    font-size: 13px;
    color: rgba(250, 249, 246, 0.45);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-links a {
    font-size: 14px;
    color: rgba(250, 249, 246, 0.65);
    transition: color 0.25s ease;
}

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

.footer-contact {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-phone {
    font-size: 16px;
    font-weight: 500;
    color: var(--green-300);
}

.footer-address {
    font-size: 14px;
    color: rgba(250, 249, 246, 0.45);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(250, 249, 246, 0.3);
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Default: content is visible (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-right {
        max-width: 560px;
    }

    .hero-image-accent {
        left: -20px;
        bottom: -24px;
    }

    .amenities-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .amenities-left {
        position: static;
    }

    .location-layout {
        grid-template-columns: 1fr;
    }

    .contact-inner {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
    }

    .contact-right {
        text-align: center;
    }

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

    .footer-contact {
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--sand);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-right {
        display: none;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .sites-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

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

    .section {
        padding: 72px 0;
    }

    .contact-inner {
        padding: 40px 24px;
    }

    .contact-phone-link {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 36px;
        height: 1px;
    }
}
