/* ========== FONTS ========== */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("public/fonts/Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("public/fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
}

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

html,
body {
    height: 100%;
    width: 100%;
}

html {
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
    display: none;
}

body {
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
}

/* ========== NAVIGATION ========== */
#navigation {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 24px;
    background-color: #fafaf9;
}

#navigation button {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #292524;
    background: transparent;
    border: none;
    transition: opacity 0.3s;
}

#navigation button:hover {
    opacity: 0.7;
}

/* ========== PROGRESS BAR ========== */
#progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: #e7e5e4;
    z-index: 9999;
    cursor: pointer;
}

#progress-thumb {
    position: absolute;
    top: 1px;
    left: 0;
    height: 10px;
    width: 80px;
    background: #78716c;
    border-radius: 5px;
    cursor: grab;
}

#progress-thumb:active {
    cursor: grabbing;
    background: #292524;
}

/* ========== SCROLL CONTAINER ========== */
#scroll-container {
    height: 100vh;
    overflow: hidden;
    background-color: #fafaf9;
}

#scroll-track {
    display: flex;
    height: 100%;
}

/* ========== SLIDES (common) ========== */
.slide {
    position: relative;
    flex-shrink: 0;
    width: 100vw;
    height: 100%;
    display: flex;
    overflow: hidden;
}

/* ========== PARALLAX ========== */
.parallax-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    width: 110%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* ========== TYPOGRAPHY ========== */
.subtitle {
    font-family: "Cormorant Garamond", serif;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #79716b;
    text-align: center;
}

.subtitle-dark {
    color: rgba(255,255,255,0.5);
}

.label {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #79716b;
    margin-bottom: 16px;
}

.label-dark {
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
}

.body-text {
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    color: #292524;
}

.body-text.indent {
    text-indent: 10px;
}

/* ========== SLIDE 1 - HERO ========== */
.slide-hero .parallax-wrap {
    z-index: 1;
}

.hero-panel {
    width: 35%;
    height: 100%;
    background: #fafaf9;
    box-shadow: 0px 0px 142.5px rgba(0,0,0,0.8);
    z-index: 10;
    position: relative;
    overflow: hidden;
}

.hero-panel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px 50px;
    height: 100%;
}

.hero-title {
    text-align: center;
    flex-shrink: 0;
}

.hero-title h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 60px;
    line-height: 1.26;
    text-transform: uppercase;
    color: #292524;
    letter-spacing: 1.2px;
    font-weight: normal;
}

.hero-subtitle {
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    line-height: 1.26;
    text-transform: uppercase;
    color: #292524;
    letter-spacing: 1.2px;
}

.hero-info {
    flex-shrink: 0;
    width: 100%;
}

.hero-info .label {
    margin-bottom: 0;
}

.price {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 40px;
    color: #292524;
    margin-top: 3px;
}

.hero-info .description {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #79716b;
    margin-top: 27px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12.5px;
    border-top: 0.75px solid #e7e5e4;
    border-bottom: 0.75px solid #e7e5e4;
    padding: 22.5px 0;
    width: 100%;
}

.stat-icon {
    width: 27px;
    height: 27px;
}

.stat-value {
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    line-height: 45px;
    color: #292524;
    margin-top: 9px;
}

.stat-value sup {
    font-size: 18px;
}

.stat-label {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    line-height: 18px;
    letter-spacing: 1.35px;
    text-transform: uppercase;
    color: #79716b;
    margin-top: 0.75px;
}

/* ========== SLIDE 2 - Description ========== */
.slide-img-panel {
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.overlay-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-size: 140px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 4px 30px rgba(0,0,0,0.5));
    white-space: nowrap;
    pointer-events: none;
}

.text-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    margin-top: 10px;
}

.slide-text-panel-wide {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: #fafaf9;
    padding: 20px 60px;
    position: relative;
    overflow: hidden;
}

.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    margin-top: 10px;
}

.bullet-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
}

.bullet-item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========== SLIDE 4 - Floor Intro ========== */
.slide-floor-intro {
    position: relative;
    background: #fafaf9;
    align-items: center;
    justify-content: center;
    width: 80%;
}

.floor-intro-subtitle {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    white-space: nowrap;
}

.floor-intro-photo {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    overflow: hidden;
}

.floor-intro-title {
    position: absolute;
    top: 5%;
    z-index: 2;
    display: flex;
    flex-direction: row;
    color: #79716B;
    pointer-events: none;
}

.floor-intro-label {
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-size: 70px;
}

.floor-intro-icons {
    position: absolute;
    z-index: 2;
    display: flex;
    gap: 30px;
    pointer-events: none;
}

.floor-intro-icons img {
    width: 32px;
    height: 32px;
    opacity: 1;
}

.floor-intro-icons-bottom {
    bottom: 4%;
    max-width: 360px;
}

/* ========== SLIDE 5 - Floor Description ========== */
.slide-floor-desc {
    position: relative;
    background: #fafaf9;
    flex-direction: column;
}

.floor-desc-strip {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.floor-desc-strip-top {
    top: 0;
    height: 70%;
}

.floor-desc-text {
    position: absolute;
    top: 75%;
    left: 60px;
    max-width: 600px;
    z-index: 2;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    line-height: 1.5;
    color: #292524;
}

.floor-desc-text p + p {
    margin-top: 1em;
}

/* ========== SLIDE 10 - FLOOR PLAN ========== */
.slide-floorplan {
    display: block;
}

.floorplan-container {
    height: 100%;
    width: 100%;
    background: #fafaf9;
    display: flex;
    flex-direction: column;
    padding: 50px;
}

.floorplan-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.floorplan-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    line-height: 1.1;
    color: #292524;
    margin-top: 8px;
    font-weight: normal;
}

.floor-buttons {
    display: flex;
    gap: 30px;
}

.floor-btn {
    padding: 12px 24px;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    background: transparent;
    color: #292524;
    border: 0.75px solid #d6d3d1;
    transition: all 0.3s;
}

.floor-btn:hover {
    border-color: #292524;
}

.floor-btn.active {
    background: #292524;
    color: white;
    border-color: #292524;
}

.floorplan-main {
    flex: 1;
    display: flex;
    gap: 32px;
    min-height: 0;
    padding: 30px 0 0;
}

.floorplan-svg-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0 solid #e7e5e4;
    overflow: hidden;
    perspective: 1200px;
}

.floorplan-svg-wrap svg {
    width: 100%;
    height: 100%;
    border-radius: 0;
    transform-style: preserve-3d;
}

.room-path {
    cursor: pointer;
    fill: rgba(41, 37, 36, 0.03);
    stroke: #d6d3d1;
    stroke-width: 1;
    filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.08));
    transition: fill 0.25s, stroke 0.25s, filter 0.25s, transform 0.25s;
}

.room-path:hover,
.room-path.hovered {
    fill: rgba(206, 146, 95, 0.18);
    stroke: #CE925F;
    stroke-width: 1.5;
    filter: drop-shadow(4px 6px 6px rgba(0, 0, 0, 0.15));
    transform: translate(-1px, -2px);
}

.room-label {
    pointer-events: none;
    user-select: none;
    font-family: "Cormorant Garamond", serif;
    fill: #292524;
}

.room-area-label {
    pointer-events: none;
    user-select: none;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    fill: #79716b;
}

.hidden {
    display: none;
}

/* Preview panel */
.floorplan-preview {
    width: 60vw;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-placeholder,
.preview-image {
    flex: 1;
    position: relative;
    background: #ececec;
    overflow: hidden;
}

.preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-placeholder p {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #a8a29e;
    text-align: center;
}

.preview-image {
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s;
}

.preview-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 24px;
}

.preview-room-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    line-height: 1.1;
    color: white;
    padding-left: 20px;
}

.preview-room-area {
    font-family: "Inter", sans-serif;
    font-size: 24px;
    line-height: 20px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
    padding-left: 20px;
}

/* ========== SLIDE 11 - CONTACT ========== */
.slide-contact {
    display: flex;
}

.contact-info {
    width: 50%;
    height: 100%;
    background: #292524;
    color: white;
    padding: 48px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 60px;
    line-height: 1.1;
    color: white;
}

.contact-desc {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    max-width: 448px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-link {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    line-height: 1.2;
    color: white;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-address {
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    line-height: 1.5;
    color: white;
}

.contact-socials {
    display: flex;
    gap: 24px;
}

.contact-socials a {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color 0.3s;
}

.contact-socials a:hover {
    color: white;
}

/* Form */
.contact-form-wrap {
    width: 50%;
    height: 100%;
    background: #fafaf9;
    padding: 48px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-inner {
    max-width: 448px;
    margin: 0 auto;
    width: 100%;
}

.form-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    line-height: 1.1;
    color: #292524;
    margin-bottom: 8px;
}

.form-desc {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #79716b;
    margin-bottom: 40px;
}

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

.form-group label {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #79716b;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #e7e5e4;
    background: transparent;
    padding: 12px 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    color: #292524;
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #d6d3d1;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #292524;
}

.submit-btn {
    width: 100%;
    background: #292524;
    color: white;
    padding: 16px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    margin-top: 16px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #1c1917;
}

.form-success {
    text-align: center;
    padding: 64px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #292524;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    line-height: 1.1;
    color: #292524;
}

.success-desc {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #79716b;
    margin-top: 8px;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
    /* Hide horizontal progress bar */
    #progress-bar { display: none; }

    /* Nav */
    #navigation {
        top: 0;
        left: 0;
        right: 0;
        padding: 8px 16px;
        gap: 12px;
        justify-content: center;
    }
    #navigation button {
        font-size: 12px;
        letter-spacing: 0.8px;
    }

    /* Scroll container → vertical */
    #scroll-container {
        height: auto;
        overflow: visible;
    }
    #scroll-track {
        flex-direction: column;
    }

    /* Slides → full width, auto height */
    .slide {
        width: 100% !important;
        height: auto;
        min-height: 100vh;
        flex-direction: column;
    }

    /* Parallax → static on mobile */
    .parallax-wrap {
        position: relative;
        width: 100%;
        height: 100%;
    }
    .parallax-bg {
        width: 100% !important;
        height: 100% !important;
        position: absolute;
        inset: 0;
    }

    /* ---- Hero ---- */
    .slide-hero {
        flex-direction: column-reverse;
        min-height: 100vh;
    }
    .slide-hero .parallax-wrap {
        position: absolute;
        inset: 0;
        width: 100% !important;
        margin-left: 0 !important;
    }
    .slide-hero .parallax-bg {
        width: 100% !important;
    }
    .hero-panel {
        width: 100%;
        background: rgba(250, 250, 249, 0.92);
        padding: 0;
        box-shadow: none;
    }
    .hero-panel-inner {
        padding: 60px 24px 32px;
        gap: 20px;
    }
    .hero-title h1 { font-size: 40px; }
    .hero-subtitle { font-size: 18px; }
    .price { font-size: 24px; line-height: 30px; }
    .hero-info .description { font-size: 13px; margin-top: 16px; }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 16px 0;
    }
    .stat-value { font-size: 22px; line-height: 30px; }
    .stat-label { font-size: 9px; letter-spacing: 1px; }
    .stat-icon { width: 22px; height: 22px; }

    /* ---- Description slides ---- */
    .slide-description {
        flex-direction: column;
        min-height: auto;
    }
    .slide-img-panel {
        width: 100% !important;
        height: 50vh;
        flex-shrink: 0;
    }
    .overlay-title {
        font-size: 48px !important;
    }
    .slide-text-panel-wide {
        padding: 24px;
        height: auto;
        min-height: auto;
    }
    .text-block { margin-top: 0; }
    .bullet-list { margin-top: 0; }
    .bullet-item { padding: 6px 0; }
    .body-text { font-size: 15px; }

    /* ---- Floor Intro ---- */
    .slide-floor-intro {
        width: 100% !important;
        min-height: 70vh;
    }
    .floor-intro-photo {
        width: 80%;
        height: 60%;
        left: 10%;
        top: 20%;
    }
    .floor-intro-label { font-size: 48px; }
    .floor-intro-icons { gap: 16px; }
    .floor-intro-icons img { width: 24px; height: 24px; }

    /* ---- Floor Description ---- */
    .slide-floor-desc {
        min-height: 60vh;
    }
    .floor-desc-text {
        left: 24px;
        font-size: 18px;
        max-width: calc(100% - 48px);
    }

    /* ---- Floor Plan ---- */
    .slide-floorplan {
        min-height: auto;
    }
    .floorplan-container {
        padding: 60px 16px 24px;
        height: auto;
    }
    .floorplan-header {
        gap: 12px;
    }
    .floorplan-title { font-size: 28px; }
    .floor-buttons { gap: 12px; }
    .floor-btn {
        padding: 8px 16px;
        font-size: 16px;
    }
    .floorplan-main {
        flex-direction: column;
        padding: 16px 0 0;
        gap: 16px;
    }
    .floorplan-svg-wrap {
        width: 100%;
        min-height: 50vh;
        perspective: none;
    }
    .floorplan-preview {
        width: 100%;
        min-height: 40vh;
    }
    .preview-room-name { font-size: 32px; }
    .preview-room-area { font-size: 18px; }

    /* ---- Contact ---- */
    .slide-contact {
        flex-direction: column;
        min-height: auto;
    }
    .contact-info {
        width: 100%;
        height: auto;
        padding: 60px 24px 32px;
        gap: 32px;
    }
    .contact-title { font-size: 36px; }
    .contact-link { font-size: 22px; }
    .contact-address { font-size: 18px; }
    .contact-form-wrap {
        width: 100%;
        height: auto;
        padding: 32px 24px;
    }
}
