/* ═══════════════════════════════════════════
   SOBUAL REAL ESTATE — Design System
   ═══════════════════════════════════════════ */

:root {
    --gold: #C9A84C;
    --gold-light: #F0C040;
    --gold-dark: #A6863A;
    --gold-gradient: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728);
    --white: #FFFFFF;
    --off-white: #FAFAF7;
    --black: #0A0A0A;
    --dark-gray: #1A1A1A;
    --text-dark: #111111;
    --text-muted: #777777;
    --overlay-dark: rgba(0, 0, 0, 0.42);

    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

    --page-pad-x: clamp(24px, 6vw, 100px);
    --page-pad-y: clamp(40px, 8vh, 80px);
}

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

html {
    overflow: hidden;
    height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow: hidden;
    height: 100%;
    width: 100%;
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    color: var(--white);
    background: var(--black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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


/* ═══════════════════════════════════════════
   CINEMATIC CAMERA TRANSITION
   Smooth drone fly-through zoom effect
   ═══════════════════════════════════════════ */

/* Pages Container */
.pages-container {
    width: 100%;
    height: 100vh;
    position: relative;
}


/* ═══════════════════════════════════════════
   PAGE — Base
   ═══════════════════════════════════════════ */

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
}

.page.active {
    opacity: 1;
    pointer-events: auto;
}

.page-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform, opacity;
}

.page-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-dark);
}

.page--light {
    background: var(--white);
}

.page-bg--white {
    background: var(--white);
}


/* ═══════════════════════════════════════════
   PAGE CONTENT — Layouts
   ═══════════════════════════════════════════ */

.page-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: var(--page-pad-y) var(--page-pad-x);
}

/* Centered layout (Page 1) */
.page-content--center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Split layout (Pages 2, 3, 4) */
.page-content--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(30px, 5vw, 80px);
}

.content-left {
    flex: 1;
    max-width: 580px;
}

.content-right {
    flex: 0 0 auto;
    max-width: 400px;
}

.content-right--valign {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Contact layout (Page 5) */
.page-content--contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}


/* ═══════════════════════════════════════════
   HERO TITLE — Page 1
   ═══════════════════════════════════════════ */

.hero-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(1.8rem, 5vw, 4.5rem);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: clamp(0.3em, 1.5vw, 0.65em);
    line-height: 1.3;
    text-transform: uppercase;
}


/* ═══════════════════════════════════════════
   SECTION CONTENT — Pages 2, 3, 4
   ═══════════════════════════════════════════ */

.section-headline {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(1.6rem, 3.5vw, 3.2rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: clamp(0.85rem, 1.2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 480px;
}


/* ═══ Price Tag ═══ */
.price-label {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.price-tag {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.5rem);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 28px;
    line-height: 1.1;
}


/* ═══ Buttons ═══ */
.btn--gold {
    display: inline-block;
    padding: 14px 40px;
    font-family: var(--font-sans);
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.btn--gold:hover {
    background: transparent;
    color: var(--gold);
}

.btn--large {
    padding: 18px 50px;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
}

.btn-subtext {
    margin-top: 16px;
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
}


/* ═══ Amenities List ═══ */
.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.amenities-list li {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    color: rgba(255, 255, 255, 0.95);
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
}

.amenities-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 1px;
    background: var(--gold);
}


/* ═══ Feature Cards ═══ */
.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.feature-icon {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 10px;
}

.feature-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--white);
    margin-bottom: 6px;
}

.feature-desc {
    font-size: clamp(0.78rem, 0.95vw, 0.9rem);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}


/* ═══ Detail Grid ═══ */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
    margin-top: 8px;
}

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

.detail-label {
    font-size: clamp(0.7rem, 0.85vw, 0.8rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.detail-value {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}


/* ═══════════════════════════════════════════
   CONTACT PAGE — Page 5 (Premium Redesign)
   ═══════════════════════════════════════════ */

.contact-headline {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.4rem);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.06em;
}

.contact-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 28px auto 48px;
}

.contact-divider--bottom {
    width: 200px;
    margin: 48px auto 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 80px;
    text-align: left;
    width: 100%;
    max-width: 700px;
}

.contact-col {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

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

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50%;
    padding: 8px;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
}

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

.contact-label {
    font-size: clamp(0.7rem, 0.85vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.contact-value {
    font-size: clamp(0.92rem, 1.15vw, 1.05rem);
    color: var(--text-dark);
    line-height: 1.55;
    transition: color 0.25s ease;
}

a.contact-value:hover {
    color: var(--gold-dark);
}

.contact-footer {
    margin-top: 28px;
    font-size: clamp(0.72rem, 0.85vw, 0.8rem);
    color: var(--text-muted);
    letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════════
   DOT NAVIGATION
   ═══════════════════════════════════════════ */

.dot-nav {
    position: fixed;
    right: clamp(16px, 3vw, 36px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: all 0.35s ease;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: var(--gold);
    border-color: var(--gold-light);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

/* Dark dots for light page (page 5) */
.dot-nav.on-light .dot {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 0, 0, 0.3);
}

.dot-nav.on-light .dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

.dot-nav.on-light .dot.active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}


/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
    .page-content--split {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 28px;
    }

    .content-left,
    .content-right {
        max-width: 100%;
        width: 100%;
    }

    .content-right--valign {
        align-items: flex-start;
    }

    .detail-grid {
        gap: 18px 28px;
    }
}

@media (max-width: 600px) {
    :root {
        --page-pad-x: 20px;
        --page-pad-y: 30px;
    }

    .hero-title {
        font-size: clamp(1.2rem, 7vw, 2rem);
        letter-spacing: 0.2em;
        word-break: break-word;
    }

    .section-headline {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .section-desc {
        font-size: 0.85rem;
    }

    .price-tag {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .btn--gold {
        padding: 12px 28px;
        font-size: 0.8rem;
    }

    .btn--large {
        padding: 14px 32px;
    }

    .amenities-list {
        gap: 10px;
    }

    .amenities-list li {
        font-size: 0.85rem;
    }

    .feature-card {
        padding: 18px 20px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .contact-item {
        justify-content: center;
    }

    .contact-headline {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .contact-divider {
        margin: 18px auto 28px;
    }

    .contact-divider--bottom {
        width: 140px;
        margin: 32px auto 0;
    }

    .dot-nav {
        right: 10px;
        gap: 12px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 380px) {
    :root {
        --page-pad-x: 16px;
        --page-pad-y: 24px;
    }

    .hero-title {
        font-size: 1.15rem;
        letter-spacing: 0.15em;
    }

    .section-headline {
        font-size: 1.2rem;
        margin-bottom: 14px;
    }

    .section-desc {
        font-size: 0.8rem;
    }

    .price-tag {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 14px 16px;
    }

    .feature-title {
        font-size: 0.95rem;
    }

    .feature-desc {
        font-size: 0.76rem;
    }

    .contact-value {
        font-size: 0.85rem;
    }
}
