/* ============================================
   Emmanuels RV Park — Styles
   Palette: Plum + Amber | Fresh & Airy
   ============================================ */

:root {
    --plum-50:  #faf4f7;
    --plum-100: #f3e6ed;
    --plum-200: #e8cdd9;
    --plum-300: #d4a5b8;
    --plum-400: #c07d96;
    --plum-500: #a85f78;
    --plum-600: #8e4a62;
    --plum-700: #733a4f;
    --plum-800: #5c2e40;
    --plum-900: #4a2534;

    --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;

    --white: #ffffff;
    --gray-50:  #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

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

    --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.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

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

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    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-xl);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-600);
    color: var(--white);
    border-color: var(--plum-600);
}
.btn-primary:hover {
    background: var(--plum-700);
    border-color: var(--plum-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--plum-700);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg-wide { width: 100%; justify-content: center; }

/* ========== SECTION HELPERS ========== */
.section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum-500);
    background: var(--plum-50);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 560px;
    line-height: 1.7;
}

.text-plum { color: var(--plum-600); }
.text-amber { color: var(--amber-600); }

/* ========== NAVBAR ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

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

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--plum-700);
}

.nav-logo { flex-shrink: 0; }

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn):hover { color: var(--plum-600); }

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--plum-400);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--plum-900);
}

.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(74, 37, 52, 0.82) 0%,
        rgba(115, 58, 79, 0.65) 50%,
        rgba(142, 74, 98, 0.50) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    padding-bottom: 120px;
    width: 100%;
}

.hero-card {
    max-width: 680px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-300);
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.80);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

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

/* ========== FLOATING STATS ========== */
.hero-stats {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 24px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    transition: var(--transition);
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--plum-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-600);
    flex-shrink: 0;
}

.stat-number {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ========== ABOUT ========== */
.about {
    background: var(--gray-50);
}

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

.about-images {
    position: relative;
    min-height: 500px;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

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

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--amber-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text .section-sub { margin-bottom: 24px; }

.about-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.about-features li svg {
    color: var(--plum-500);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========== AMENITIES ========== */
.amenities {
    background: var(--white);
}

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

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

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

.amenity-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
}

.amenity-card:hover {
    background: var(--white);
    border-color: var(--plum-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--plum-50);
    color: var(--plum-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.amenity-card:hover .amenity-icon {
    background: var(--plum-600);
    color: var(--white);
}

.amenity-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

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

/* ========== SITES ========== */
.sites {
    background: linear-gradient(180deg, var(--plum-50) 0%, var(--white) 100%);
}

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

.site-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.site-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.site-card-img {
    height: 220px;
    overflow: hidden;
}

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

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

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

.site-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.site-card-body p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--plum-600);
    transition: var(--transition);
}

.link-arrow:hover { gap: 12px; color: var(--plum-700); }

/* ========== LOCATION ========== */
.location {
    background: var(--white);
}

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

.location-info .section-sub { margin-bottom: 32px; }

.location-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.location-detail svg {
    color: var(--plum-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-detail strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.location-detail span,
.location-detail a {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.location-detail a:hover { color: var(--plum-600); }

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

.map-link {
    display: block;
    position: relative;
    cursor: pointer;
}

.map-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 37, 52, 0.60);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.map-link:hover .map-overlay {
    background: rgba(74, 37, 52, 0.80);
}

/* ========== CTA ========== */
.cta {
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-900) 100%);
    padding: 100px 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta-content {
    padding: 60px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content .section-tag { margin-bottom: 16px; }

.cta-content .section-title { margin-bottom: 16px; }

.cta-content p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.cta-image {
    min-height: 400px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== MOBILE MENU ========== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}

.mobile-menu a:hover { color: var(--plum-600); }

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

    .about-grid,
    .location-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero-card { padding: 32px 24px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .hero-stats {
        position: relative;
        bottom: auto;
        padding: 0 24px 40px;
        flex-direction: column;
        align-items: stretch;
    }

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

    .section { padding: 72px 0; }

    .about-grid,
    .location-grid,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .about-images { min-height: 360px; }
    .about-img-secondary { right: 0; bottom: -20px; }

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

    .cta-content { padding: 40px 28px; }
    .cta-image { min-height: 280px; }

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

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

    .hero-title { font-size: 1.9rem; }
    .hero-card { padding: 24px 20px; }

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