/* ============================================
   Lincoln Avenue Groves — Styles
   Clean minimalist · Burgundy + Blush
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6E0;
    --blush-light: #FBF4F1;
    --blush-mid: #E8D0C8;
    --cream: #FDF8F6;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --text-inverse: #F5E6E0;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: 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;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
    box-shadow: 0 1px 30px rgba(123, 45, 59, 0.06);
}

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

.nav-logo-mark {
    font-family: var(--font-display), serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--burgundy);
    letter-spacing: 0.02em;
    width: 36px;
    height: 36px;
    border: 1px solid var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-text {
    font-family: var(--font-display), serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color 0.3s var(--ease-out);
    position: relative;
}

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

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

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

.nav-cta {
    font-size: 0.78rem !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--burgundy) !important;
    border: 1px solid var(--burgundy);
    padding: 8px 18px;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out) !important;
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--burgundy-deep) 0%,
        var(--burgundy) 30%,
        var(--burgundy-light) 55%,
        var(--blush-mid) 80%,
        var(--blush) 100%
    );
    z-index: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(123, 45, 59, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(245, 230, 224, 0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 28px;
    opacity: 0.85;
}

.hero-headline {
    font-family: var(--font-display), serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(245, 230, 224, 0.8);
    max-width: 560px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-line {
    position: relative;
    z-index: 1;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(245, 230, 224, 0.5), transparent);
    margin-top: 60px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 45, 59, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(245, 230, 224, 0.5);
}

.btn-ghost:hover {
    background: rgba(245, 230, 224, 0.1);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

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

.section-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

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

.section-sub {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 520px;
}

/* ---------- About ---------- */
.about {
    background: var(--white);
}

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

.about-image {
    border-radius: 4px;
    overflow: hidden;
}

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

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

.about-text .section-heading {
    margin-bottom: 20px;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--blush-mid);
}

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

.stat-number {
    font-family: var(--font-display), serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------- Offerings ---------- */
.offerings {
    background: var(--cream);
}

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

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

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

.offering-card {
    background: var(--white);
    border: 1px solid rgba(123, 45, 59, 0.08);
    border-radius: 6px;
    padding: 48px 40px;
    transition: all 0.4s var(--ease-out);
}

.offering-card:hover {
    border-color: rgba(123, 45, 59, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.06);
}

.offering-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blush-light);
    border: 1px solid var(--blush-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    margin-bottom: 24px;
}

.offering-card h3 {
    font-family: var(--font-display), serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.offering-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* ---------- Community ---------- */
.community {
    background: var(--white);
}

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

.community-text p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 16px;
}

.community-image {
    border-radius: 4px;
    overflow: hidden;
}

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

.community-image:hover img {
    transform: scale(1.02);
}

/* ---------- Visit ---------- */
.visit {
    background: var(--cream);
}

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

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

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

.contact-item svg {
    color: var(--burgundy);
    flex-shrink: 0;
    margin-top: 3px;
}

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

.contact-item a,
.contact-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: color 0.3s var(--ease-out);
}

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

.map-container {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(123, 45, 59, 0.08);
}

/* ---------- Contact Form ---------- */
.visit-form-wrapper {
    background: var(--white);
    border: 1px solid rgba(123, 45, 59, 0.08);
    border-radius: 6px;
    padding: 48px;
}

.visit-form-wrapper h3 {
    font-family: var(--font-display), serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 32px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--blush-mid);
    border-radius: 4px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    color: var(--burgundy);
    margin: 0 auto 16px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--burgundy-deep);
    color: var(--text-inverse);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
}

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

.footer-brand .nav-logo-mark {
    color: var(--blush);
    border-color: var(--blush);
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
}

.footer-name {
    font-family: var(--font-display), serif;
    font-size: 1.1rem;
    color: var(--blush);
    letter-spacing: 0.02em;
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(245, 230, 224, 0.6);
    line-height: 1.7;
    max-width: 260px;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: rgba(245, 230, 224, 0.7);
    transition: color 0.3s var(--ease-out);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a,
.footer-contact span {
    font-size: 0.88rem;
    color: rgba(245, 230, 224, 0.7);
    transition: color 0.3s var(--ease-out);
}

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

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 224, 0.1);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(245, 230, 224, 0.4);
    text-align: center;
    letter-spacing: 0.04em;
}

/* ---------- Reveal animations (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .community-content,
    .visit-grid {
        gap: 48px;
    }
}

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

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

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-cta {
        text-align: center;
        width: 100%;
    }

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

    .hero-line {
        display: none;
    }

    .section {
        padding: 80px 0;
    }

    .about-grid,
    .community-content,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

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

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

    .about-stats {
        gap: 24px;
    }

    .visit-form-wrapper {
        padding: 32px 24px;
    }

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

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