/* ============================================
   Church of God Campgrounds — Stylesheet
   Warm · Friendly · Emerald & Cream
   ============================================ */

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

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;

    --cream-50:  #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fde68a;
    --cream-400: #fbbf24;

    --stone-50:  #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;

    --font-body: 'Nunito', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--stone-800);
    background: var(--cream-50);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--emerald-600);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--emerald-600);
    color: #fff;
    border-color: var(--emerald-600);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn--primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

.btn--outline {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-600);
}

.btn--outline:hover {
    background: var(--emerald-50);
    color: var(--emerald-700);
    transform: translateY(-2px);
}

.btn--light {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}

.btn--light:hover {
    background: #fff;
    color: var(--emerald-700);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

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

/* ---------- Section Tags & Titles ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-600);
    background: var(--emerald-100);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--stone-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--stone-500);
    max-width: 560px;
    margin: 0 auto;
}

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

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--stone-800);
    text-decoration: none;
}

.nav__logo:hover { color: var(--emerald-600); }

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

.nav__menu a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--stone-600);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition);
}

.nav__menu a:hover {
    color: var(--emerald-600);
    background: var(--emerald-50);
}

.nav__menu .btn--primary {
    margin-left: 8px;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--stone-700);
    border-radius: 2px;
    transition: all var(--transition);
}

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--emerald-50) 50%, var(--cream-100) 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(5, 150, 105, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(5, 150, 105, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--stone-900);
    margin-bottom: 24px;
}

.hero__headline em {
    color: var(--emerald-600);
    font-style: italic;
}

.hero__sub {
    font-size: 1.15rem;
    color: var(--stone-600);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.8;
}

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

/* Floating Stat Cards */
.hero__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    animation: floatCard 6s ease-in-out infinite;
}

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

.stat-card--1 { animation-delay: 0s; }
.stat-card--2 { animation-delay: 2s; }
.stat-card--3 { animation-delay: 4s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.stat-card:hover { animation-play-state: paused; }

.stat-card__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    color: var(--emerald-600);
}

.stat-card__text {
    display: flex;
    flex-direction: column;
}

.stat-card__number {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--stone-800);
    line-height: 1.3;
}

.stat-card__label {
    font-size: 0.85rem;
    color: var(--stone-500);
    font-weight: 600;
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: var(--cream-50);
}

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

.about__images {
    position: relative;
    height: 600px;
}

.about__img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about__img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 50%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--cream-50);
}

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

.about__img-accent {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 2;
}

.about__stamp {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--emerald-600);
    color: #fff;
    padding: 14px 22px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    animation: floatCard 5s ease-in-out infinite;
}

.about__stamp svg {
    color: var(--cream-300);
}

.about__content { max-width: 520px; }

.about__lead {
    font-size: 1.1rem;
    color: var(--stone-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__content > p {
    color: var(--stone-500);
    margin-bottom: 28px;
    line-height: 1.8;
}

.about__highlights {
    list-style: none;
    display: grid;
    gap: 14px;
}

.about__highlights li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: var(--stone-700);
}

.about__highlights svg {
    flex-shrink: 0;
    background: var(--emerald-100);
    padding: 6px;
    border-radius: var(--radius-full);
}

/* ---------- Accommodations ---------- */
.accommodations {
    padding: 120px 0;
    background: var(--emerald-50);
}

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

.accom-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.accom-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.accom-card__img {
    height: 220px;
    overflow: hidden;
}

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

.accom-card:hover .accom-card__img img {
    transform: scale(1.08);
}

.accom-card__body {
    padding: 28px;
}

.accom-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 12px;
}

.accom-card__body p {
    color: var(--stone-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.accom-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accom-card__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--stone-600);
    font-weight: 600;
}

.accom-card__features svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

/* ---------- Amenities ---------- */
.amenities {
    padding: 120px 0;
    background: var(--cream-50);
}

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

.amenity-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--stone-100);
    transition: all var(--transition);
}

.amenity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
}

.amenity-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.amenity-card:hover .amenity-card__icon {
    background: var(--emerald-100);
    transform: scale(1.1);
}

.amenity-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 10px;
}

.amenity-card p {
    color: var(--stone-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 120px 0;
    background: var(--stone-50);
}

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

.gallery__item {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.gallery__item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery__item--wide {
    grid-column: span 8;
}

.gallery__item:not(.gallery__item--wide) {
    grid-column: span 4;
}

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

.gallery__item:nth-child(2) { grid-row: 1 / 3; }
.gallery__item:nth-child(5) { grid-row: 1 / 3; }

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--emerald-50) 100%);
}

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

.contact__lead {
    font-size: 1.1rem;
    color: var(--stone-500);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.contact-detail__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--emerald-600);
    margin-bottom: 4px;
}

.contact-detail p {
    color: var(--stone-700);
    font-weight: 600;
    line-height: 1.6;
}

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

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

/* Form */
.contact-form {
    background: #fff;
    padding: 44px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--stone-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--stone-800);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    background: var(--cream-50);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    margin-top: 20px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.form-success p {
    color: var(--emerald-700);
    font-weight: 600;
}

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

/* ---------- Map Section ---------- */
.map-section {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.map-section__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) saturate(0.8);
}

.map-section__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 150, 105, 0.25);
    backdrop-filter: blur(2px);
}

.map-section__overlay h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 8px;
}

.map-section__overlay p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--stone-900);
    color: var(--stone-400);
    padding: 80px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer__logo:hover { color: var(--emerald-400); }

.footer__brand p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer ul a {
    color: var(--stone-400);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition);
}

.footer ul a:hover { color: var(--emerald-400); }

.footer__bottom {
    border-top: 1px solid var(--stone-800);
    padding: 24px 0;
}

.footer__bottom p {
    text-align: center;
    font-size: 0.85rem;
    color: var(--stone-500);
}

/* ---------- 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) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

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

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

    .about__images {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

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

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

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--stone-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

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

    .nav__menu a {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .nav__menu .btn--primary {
        margin-left: 0;
        margin-top: 8px;
    }

    .nav__toggle {
        display: flex;
    }

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

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

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

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

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

    .gallery__item--wide,
    .gallery__item:not(.gallery__item--wide) {
        grid-column: span 1;
    }

    .gallery__item:nth-child(2),
    .gallery__item:nth-child(5) {
        grid-row: auto;
    }

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

    .contact-form {
        padding: 28px;
    }

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

    .map-section {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about__images {
        height: 300px;
    }

    .about__img-main {
        width: 85%;
        height: 85%;
    }

    .about__img-secondary {
        width: 65%;
        height: 55%;
    }
}
