/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', sans-serif;
    color: #2D1F2D;
    background: #FFFAF5;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
    --plum: #6B3A6E;
    --plum-dark: #4E2A50;
    --plum-light: #8B5A8E;
    --amber: #F5A623;
    --amber-dark: #D4891A;
    --amber-light: #FFD080;
    --cream: #FFFAF5;
    --warm-gray: #F5EDE8;
    --text: #2D1F2D;
    --text-light: #6B5A6B;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 4px 24px rgba(107, 58, 110, 0.08);
    --shadow-lg: 0 12px 48px rgba(107, 58, 110, 0.12);
    --nav-h: 72px;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--plum);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-amber {
    background: var(--amber);
    color: #fff;
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.35);
}
.btn-amber:hover {
    background: var(--amber-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.45);
}
.btn-plum {
    background: var(--plum);
    color: #fff;
    box-shadow: 0 4px 16px rgba(107, 58, 110, 0.25);
}
.btn-plum:hover {
    background: var(--plum-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 58, 110, 0.35);
}
.btn-outline-light {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--plum);
    border-color: #fff;
}
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
    background: rgba(255, 250, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(107, 58, 110, 0.08);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    transition: color 0.3s;
}
.nav.scrolled .logo { color: var(--plum); }
.logo svg { flex-shrink: 0; }
.nav nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav nav a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border-radius: 50px;
    transition: all 0.2s;
}
.nav.scrolled nav a { color: var(--text-light); }
.nav nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.nav.scrolled nav a:hover { color: var(--plum); background: rgba(107, 58, 110, 0.06); }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--plum); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/4469160/pexels-photo-4469160.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(78, 42, 80, 0.82) 0%,
        rgba(107, 58, 110, 0.72) 50%,
        rgba(245, 166, 35, 0.35) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 120px 24px 80px;
}
.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 20px;
}
.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    color: #fff;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 400;
}
.hero h1 em {
    font-style: italic;
    color: var(--amber-light);
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    z-index: 2;
}
.hero-scroll span {
    display: block;
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    margin: 6px auto 0;
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(8px); }
}

/* ===== TRUST STRIP ===== */
.trust-strip {
    background: var(--plum);
    padding: 0;
}
.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: rgba(255,255,255,0.05); }
.trust-item svg { flex-shrink: 0; }
.trust-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}

/* ===== APARTMENTS ===== */
.apartments { background: var(--cream); }
.floorplans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.fp-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.fp-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.fp-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}
.fp-body { padding: 28px; }
.fp-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--plum);
    background: rgba(107, 58, 110, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.fp-body h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--plum);
    margin-bottom: 10px;
}
.fp-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}
.fp-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.fp-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

/* ===== AMENITIES ===== */
.amenities { background: var(--warm-gray); }
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.amenity-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--plum), var(--plum-light));
    border-radius: 14px;
    color: #fff;
    margin-bottom: 20px;
}
.amenity-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--plum);
    margin-bottom: 10px;
}
.amenity-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ===== COMMUNITY ===== */
.community { background: var(--cream); }
.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.community-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--plum);
    line-height: 1.2;
    margin-bottom: 20px;
}
.community-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}
.community-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(107, 58, 110, 0.12);
}
.stat-num {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.community-images {
    position: relative;
    height: 520px;
}
.ci-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 72%;
    height: 80%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.ci-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 45%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--cream);
}

/* ===== LOCATION ===== */
.location { background: var(--warm-gray); }
.location-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}
.location-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.location-details {
    background: var(--plum);
    border-radius: var(--radius-lg);
    padding: 44px;
    color: #fff;
}
.location-details h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    margin-bottom: 16px;
}
.location-details address {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
    opacity: 0.85;
}
.contact-row {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}
.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    transition: color 0.2s;
}
.contact-link:hover { color: var(--amber-light); }
.nearby h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    margin-bottom: 14px;
    color: var(--amber-light);
}
.nearby ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nearby li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
}
.nearby li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact {
    background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum) 60%, var(--plum-light) 100%);
    padding: 100px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-info h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}
.contact-info > p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    margin-bottom: 36px;
}
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 22px 24px;
    transition: background 0.2s, transform 0.2s;
}
.info-card:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); }
.info-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--amber);
    border-radius: 12px;
    flex-shrink: 0;
}
.info-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
}
.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

/* Form */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-lg);
}
.contact-form h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--plum);
    margin-bottom: 6px;
}
.form-sub {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #EDE4E8;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--cream);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum);
    box-shadow: 0 0 0 4px rgba(107, 58, 110, 0.08);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    text-align: center;
    padding: 40px 20px;
}
.form-success svg { margin: 0 auto 16px; }
.form-success h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: var(--plum);
    margin-bottom: 8px;
}
.form-success p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #1A0F1A;
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber); }
.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 4px;
}
.footer-contact a {
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}
.footer-contact a:hover { color: var(--amber); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}
.footer-bottom p {
    font-size: 0.82rem;
    text-align: center;
    color: rgba(255,255,255,0.35);
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .floorplans { grid-template-columns: repeat(2, 1fr); }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .community-grid { gap: 40px; }
    .community-images { height: 400px; }
    .contact-grid { gap: 40px; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }
    .nav-toggle { display: flex; }
    .nav nav {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(255, 250, 245, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        z-index: 999;
    }
    .nav nav.open { transform: translateY(0); }
    .nav nav a {
        color: var(--text-light) !important;
        padding: 12px 16px;
        width: 100%;
        text-align: center;
    }
    .nav nav a:hover { background: rgba(107, 58, 110, 0.06) !important; color: var(--plum) !important; }
    .nav nav .btn-amber { margin-top: 8px; }

    .hero h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .hero-sub { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; }

    .trust-inner { grid-template-columns: repeat(2, 1fr); }
    .trust-item { padding: 20px 24px; }

    .section { padding: 72px 0; }
    .section-header { margin-bottom: 48px; }

    .floorplans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .amenities-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .community-grid { grid-template-columns: 1fr; }
    .community-images { height: 320px; order: -1; }
    .community-stats { gap: 24px; flex-wrap: wrap; }

    .location-content { grid-template-columns: 1fr; }
    .location-details { padding: 32px; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
    .trust-inner { grid-template-columns: 1fr; }
    .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .trust-item:last-child { border-bottom: none; }
    .hero-content { padding: 100px 20px 80px; }
    .community-images { height: 260px; }
    .ci-main { width: 80%; }
    .ci-secondary { width: 65%; }
}
