/* ========================================
   Drifters RV Park — Styles
   Emerald Green + Cream · Minimalist
   ======================================== */

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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream: #faf6f0;
    --cream-light: #fdf9f3;
    --cream-dark: #f0e8d8;
    --warm-brown: #8b6f4e;
    --warm-gold: #c9a84c;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    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 ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.section-heading {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.section-body {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.8;
    max-width: 540px;
}

.section-body--wide {
    max-width: 600px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border: 1.5px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: none;
}

.btn--primary {
    background: var(--emerald-800);
    color: var(--white);
    border-color: var(--emerald-800);
}

.btn--primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(6, 95, 70, 0.25);
}

.btn--ghost {
    background: transparent;
    color: var(--emerald-800);
    border-color: var(--emerald-800);
}

.btn--ghost:hover {
    background: var(--emerald-800);
    color: var(--white);
}

.btn--full {
    width: 100%;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: padding var(--transition);
}

.nav.scrolled .nav__inner {
    padding: 14px 0;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--white);
    transition: color var(--transition);
}

.nav.scrolled .nav__logo {
    color: var(--emerald-800);
}

.nav__logo-icon {
    color: var(--cream);
    transition: color var(--transition);
}

.nav.scrolled .nav__logo-icon {
    color: var(--emerald-800);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--white);
}

.nav.scrolled .nav__link {
    color: var(--text-mid);
}

.nav.scrolled .nav__link:hover {
    color: var(--emerald-800);
}

.nav__cta {
    padding: 10px 24px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--white) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    transition: all var(--transition);
}

.nav__cta:hover {
    background: var(--white);
    color: var(--emerald-800) !important;
    border-color: var(--white);
}

.nav.scrolled .nav__cta {
    color: var(--emerald-800) !important;
    border-color: var(--emerald-800);
}

.nav.scrolled .nav__cta:hover {
    background: var(--emerald-800);
    color: var(--white) !important;
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
}

.nav.scrolled .nav__toggle span {
    background: var(--emerald-800);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

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

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: 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(
        135deg,
        rgba(6, 78, 59, 0.82) 0%,
        rgba(6, 95, 70, 0.65) 50%,
        rgba(4, 120, 87, 0.55) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero__card {
    max-width: 640px;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(250, 246, 240, 0.7);
    margin-bottom: 24px;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.015em;
}

.hero__headline em {
    font-style: italic;
    color: rgba(250, 246, 240, 0.85);
}

.hero__highlight {
    color: var(--cream-dark);
    position: relative;
}

.hero__sub {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(250, 246, 240, 0.8);
    max-width: 480px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero__actions .btn--ghost {
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero__actions .btn--ghost:hover {
    background: var(--white);
    color: var(--emerald-800) !important;
    border-color: var(--white);
}

/* Floating Stat Cards */
.hero__stats {
    position: absolute;
    right: 24px;
    bottom: 80px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: rgba(250, 246, 240, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(250, 246, 240, 0.2);
    border-radius: 8px;
    padding: 20px 24px;
    min-width: 200px;
    animation: floatIn 0.6s ease-out both;
}

.stat-card:nth-child(1) { animation-delay: 0.3s; }
.stat-card:nth-child(2) { animation-delay: 0.5s; }
.stat-card:nth-child(3) { animation-delay: 0.7s; }

.stat-card--accent {
    background: rgba(250, 246, 240, 0.18);
}

.stat-card__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-card__label {
    font-size: 0.8125rem;
    color: rgba(250, 246, 240, 0.7);
    letter-spacing: 0.02em;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Section Spacing ── */
.section {
    padding: 120px 0;
}

/* ── Divider ── */
.divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.divider__line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cream-dark), transparent);
}

/* ── About ── */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

.about__image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--emerald-700);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.3;
}

.about__content .section-body {
    margin-bottom: 20px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-dark);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-mid);
}

.about-feature svg {
    color: var(--emerald-700);
    flex-shrink: 0;
}

/* ── Amenities ── */
.amenities {
    background: var(--cream-light);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-body {
    margin: 0 auto;
}

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

.amenity-card {
    padding: 40px 32px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--cream-dark);
    transition: all var(--transition);
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 78, 59, 0.08);
    border-color: var(--emerald-600);
}

.amenity-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(6, 95, 70, 0.08);
    color: var(--emerald-700);
    margin-bottom: 24px;
}

.amenity-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.amenity-card__desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ── Gallery ── */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery__item {
    border-radius: 6px;
    overflow: hidden;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item:hover img {
    transform: scale(1.03);
}

.gallery__item--large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
}

.gallery__item--large img {
    height: 420px;
}

.gallery__item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
}

.gallery__item:nth-child(2) img {
    height: 200px;
}

.gallery__item:nth-child(3) {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
}

.gallery__item:nth-child(3) img {
    height: 200px;
}

.gallery__item--wide {
    grid-column: 1 / 13;
    grid-row: 3 / 4;
}

.gallery__item--wide img {
    height: 320px;
}

/* ── Quote Section ── */
.quote-section {
    background: var(--emerald-800);
    padding: 100px 0;
}

.quote-section__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-section__mark {
    color: var(--emerald-600);
    margin-bottom: 32px;
}

.quote-section__text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--cream);
    margin-bottom: 28px;
}

.quote-section__attribution {
    font-size: 0.875rem;
    color: rgba(250, 246, 240, 0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── Contact ── */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--cream-dark);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail svg {
    color: var(--emerald-700);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-detail strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 1rem;
    color: var(--text-dark);
    transition: color var(--transition);
}

.contact-detail a:hover {
    color: var(--emerald-700);
}

/* ── Contact Form ── */
.contact__form-wrap {
    background: var(--white);
    border-radius: 8px;
    padding: 48px;
    border: 1px solid var(--cream-dark);
}

.contact-form__group {
    margin-bottom: 24px;
}

.contact-form__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream-light);
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    transition: all var(--transition);
    outline: none;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    border-color: var(--emerald-600);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: var(--text-light);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px 20px;
    background: rgba(6, 95, 70, 0.08);
    border-radius: 4px;
    color: var(--emerald-800);
    font-size: 0.9375rem;
}

.contact-form__success svg {
    color: var(--emerald-700);
    flex-shrink: 0;
}

/* ── Map Section ── */
.map-section {
    background: var(--cream-dark);
    padding: 80px 0;
}

.map-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.map-section__info {
    max-width: 480px;
}

.map-section__title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.map-section__desc {
    font-size: 1rem;
    color: var(--text-mid);
    margin-bottom: 24px;
}

.map-section__btn {
    display: inline-flex;
}

/* ── Footer ── */
.footer {
    background: var(--emerald-900);
    color: var(--cream);
    padding: 72px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(250, 246, 240, 0.1);
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 0.9375rem;
    color: rgba(250, 246, 240, 0.5);
    line-height: 1.7;
}

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

.footer__links a {
    font-size: 0.9375rem;
    color: rgba(250, 246, 240, 0.6);
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--cream);
}

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

.footer__contact a {
    font-size: 0.9375rem;
    color: rgba(250, 246, 240, 0.6);
    transition: color var(--transition);
}

.footer__contact a:hover {
    color: var(--cream);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8125rem;
    color: rgba(250, 246, 240, 0.35);
}

/* ── Mobile Menu ── */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(6, 78, 59, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--cream);
    transition: color var(--transition);
}

.mobile-menu__link:hover {
    color: var(--cream-dark);
}

.mobile-menu__cta {
    margin-top: 16px;
    padding: 16px 40px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--emerald-800);
    background: var(--cream);
    border-radius: 4px;
    letter-spacing: 0.04em;
}

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about__grid {
        gap: 48px;
    }

    .amenities__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__stats {
        position: relative;
        right: auto;
        bottom: auto;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 48px;
    }

    .stat-card {
        min-width: auto;
        flex: 1;
    }
}

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

    .map-section__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__content {
        padding: 100px 24px 60px;
    }

    .hero__stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-card {
        min-width: 100%;
    }

    .section {
        padding: 80px 0;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image-wrap img {
        height: 360px;
    }

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

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

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

    .gallery__item--large,
    .gallery__item:nth-child(2),
    .gallery__item:nth-child(3),
    .gallery__item--wide {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .gallery__item--large img,
    .gallery__item--wide img {
        height: 260px;
    }

    .gallery__item:nth-child(2) img,
    .gallery__item:nth-child(3) img {
        height: 220px;
    }

    .contact__form-wrap {
        padding: 32px 24px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: 2.125rem;
    }

    .hero__actions {
        flex-direction: column;
    }

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

    .section-heading {
        font-size: 1.75rem;
    }
}
