/* ========================================
   Town House Mobile Home Park
   Classic & Elegant — Forest Green + Off-White
======================================== */

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

:root {
    --forest-950: #0a1f14;
    --forest-900: #1B4332;
    --forest-800: #2d6a4f;
    --forest-700: #40916c;
    --forest-600: #52b788;
    --forest-500: #74c69d;
    --forest-100: #d8f3dc;
    --forest-50: #f0faf3;

    --cream: #faf9f6;
    --cream-dark: #f5f3ee;
    --warm-white: #fefdfb;
    --warm-gray: #6b6560;
    --warm-gray-light: #9e9690;
    --text-dark: #1a1a1a;
    --text-body: #2d2a26;
    --text-muted: #5c5650;
    --border: #e8e4de;
    --border-light: #f0ece6;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;

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

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

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

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

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

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

a {
    color: var(--forest-700);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--forest-800);
}

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

/* ========================================
   NAVBAR
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(250, 249, 246, 0.97);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest-900);
    text-decoration: none;
}

.nav-logo-icon {
    color: var(--forest-800);
}

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

.nav-links a {
    color: var(--text-body);
    font-size: 0.938rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--forest-800);
    background: var(--forest-50);
}

.nav-cta {
    background: var(--forest-900) !important;
    color: var(--cream) !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-sm) !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--forest-800) !important;
    color: var(--cream) !important;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--forest-900);
    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;
    background: var(--forest-950);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 31, 20, 0.92) 0%,
        rgba(27, 67, 50, 0.85) 50%,
        rgba(45, 106, 79, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-card {
    background: rgba(250, 249, 246, 0.07);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(250, 249, 246, 0.15);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    color: var(--cream);
}

.hero-greeting {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-500);
    margin-bottom: 16px;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(250, 249, 246, 0.78);
    margin-bottom: 28px;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--forest-600), var(--forest-500));
    border-radius: 2px;
    margin-bottom: 24px;
}

.hero-address {
    font-size: 0.95rem;
    color: rgba(250, 249, 246, 0.6);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-address svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.938rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--forest-700);
    color: var(--cream);
    box-shadow: 0 4px 16px rgba(64, 145, 108, 0.35);
}

.btn-primary:hover {
    background: var(--forest-600);
    color: var(--cream);
    box-shadow: 0 6px 24px rgba(64, 145, 108, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--forest-800);
    border: 1.5px solid var(--forest-700);
}

.btn-outline:hover {
    background: var(--forest-800);
    color: var(--cream);
    border-color: var(--forest-800);
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(250, 249, 246, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(250, 249, 246, 0.12);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    color: var(--cream);
    transition: all var(--transition);
}

.stat-card:hover {
    background: rgba(250, 249, 246, 0.13);
    transform: translateX(6px);
}

.stat-card svg {
    flex-shrink: 0;
    color: var(--forest-500);
}

.stat-card span {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(250, 249, 246, 0.88);
}

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

.section-label {
    font-family: var(--font-sans);
    font-size: 0.813rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--forest-700);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.lead {
    font-size: 1.063rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

/* ========================================
   ABOUT
======================================== */
.about {
    background: var(--warm-white);
}

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

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

.about-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-wrap:hover img {
    transform: scale(1.03);
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* ========================================
   COMMUNITY / FEATURES
======================================== */
.community {
    background: var(--cream);
}

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

.feature-card {
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--forest-500);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-50);
    border: 1px solid var(--forest-100);
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    color: var(--forest-800);
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--forest-800);
    color: var(--cream);
    border-color: var(--forest-800);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.188rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.938rem;
    color: var(--text-muted);
    line-height: 1.7;
}

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

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

.location-details {
    list-style: none;
    margin: 28px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-details li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--text-body);
}

.location-details li svg {
    color: var(--forest-700);
    flex-shrink: 0;
}

.location-details li a {
    color: var(--forest-800);
    font-weight: 600;
}

.location-details li a:hover {
    color: var(--forest-600);
    text-decoration: underline;
}

.location-map {
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   CONTACT
======================================== */
.contact {
    background: var(--forest-900);
    color: var(--cream);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact .section-label {
    color: var(--forest-500);
}

.contact .section-title {
    color: var(--cream);
}

.contact .lead {
    color: rgba(250, 249, 246, 0.7);
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-item svg {
    color: var(--forest-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.813rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest-500);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 1.063rem;
    color: rgba(250, 249, 246, 0.88);
}

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

/* Form */
.contact-form-wrap {
    background: rgba(250, 249, 246, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(250, 249, 246, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--forest-500);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(250, 249, 246, 0.07);
    border: 1px solid rgba(250, 249, 246, 0.15);
    border-radius: var(--radius-sm);
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 0.938rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(250, 249, 246, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest-500);
    background: rgba(250, 249, 246, 0.1);
}

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

.form-success {
    text-align: center;
    padding: 48px 24px;
    color: var(--cream);
}

.form-success svg {
    color: var(--forest-500);
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-success p {
    color: rgba(250, 249, 246, 0.7);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--forest-950);
    color: rgba(250, 249, 246, 0.65);
    padding: 64px 0 0;
}

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

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

.footer-brand p {
    font-size: 0.938rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 18px;
}

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

.footer-links a {
    color: rgba(250, 249, 246, 0.6);
    font-size: 0.938rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--forest-500);
}

.footer-contact p {
    font-size: 0.938rem;
    line-height: 1.7;
    margin-bottom: 6px;
}

.footer-contact a {
    color: var(--forest-500);
}

.footer-contact a:hover {
    color: var(--forest-600);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.813rem;
    color: rgba(250, 249, 246, 0.35);
}

/* ========================================
   REVEAL ANIMATIONS (progressive enhancement)
======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

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

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

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

    .about-grid,
    .location-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap img {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

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

    .nav-links a {
        padding: 12px 16px;
        width: 100%;
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-card {
        padding: 36px 28px;
    }

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

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

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

    .contact-form-wrap {
        padding: 28px 22px;
    }

    .section {
        padding: 72px 0;
    }
}

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

    .hero-card {
        padding: 28px 22px;
    }

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