/* ========================================
   SINGLE PROPERTY PAGE - v4.3 BADGE UPDATE
   ✅ FIXED: Badge Colors per Figma
   - Under Construction: #928572
   - Plan Ready Lot: #606E76
   - For Sale/Move-in Ready: #6A8375
   - In Contract: #666666
   - Sold/Coming Soon: #EEEEEE bg, #5A4F42 text
   - Promo (Buy Now/Sale): White bg, #E8E5DF border, #2A2A2A text
======================================== */

/* ========================================
   ROOT VARIABLES
======================================== */
:root {
    /* Colors from Figma */
    --color-primary: #5A4F42;
    --color-light-text: #766C61;
    --color-800: #483F35;
    --color-400: #CCC8C0;
    --color-300: #E8E5DF;
    --color-200: #EFEDEB;
    --color-100: #FAF9F7;
    --color-white: #FFFFFF;
    
    /* Badge Colors - UPDATED v4.3 */
    --badge-move-in-ready: #6A8375;
    --badge-for-sale: #6A8375;
    --badge-under-construction: #928572;
    --badge-plan-ready: #606E76;
    --badge-in-contract: #666666;
    --badge-sold-bg: #EEEEEE;
    --badge-sold-text: #5A4F42;
    --badge-coming-soon-bg: #EEEEEE;
    --badge-coming-soon-text: #5A4F42;
    --badge-promo-bg: #FFFFFF;
    --badge-promo-border: #E8E5DF;
    --badge-promo-text: #2A2A2A;
    
    /* Map Pin Color - GREEN */
    --map-pin-color: #778869;
    
    /* Fonts */
    --font-heading: 'Sofia Pro', 'Sofia Sans', sans-serif;
    --font-body: 'Afacad Flux', 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding-x: 120px;
    --content-max-width: 1200px;
    --page-max-width: 1440px;
}

/* ========================================
   PAGE WRAPPER
======================================== */
.single-property-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: var(--color-white);
}

/* ========================================
   BREADCRUMB SECTION
======================================== */
.property-breadcrumb-section {
    width: 100%;
    background: var(--color-200);
    display: flex;
    justify-content: center;
}

.breadcrumb-container {
    width: 100%;
    max-width: var(--content-max-width);
    padding: 14px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.breadcrumb-link {
    color: var(--color-primary);
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 300;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb-link:hover {
    opacity: 0.7;
    color:  #928572!important;
}

.breadcrumb-separator {
    color: var(--color-primary);
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--color-primary);
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 400;
}

/* ========================================
   PROPERTY HEADER SECTION
======================================== */
.property-header-section {
    width: 100%;
    background: var(--color-100);
    display: flex;
    justify-content: center;
    padding: 48px 0;
}

.property-header-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 288px;
}

.property-header-left {
    width: 460px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 28px;
}

/* ========================================
   BADGE PILLS - UPDATED v4.3
======================================== */
.property-badges-container {
    display: inline-flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

/* Base Badge Pill Style */
.property-badge-pill {
    display: inline-flex;
    padding: 5px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: all 0.3s ease;
}

/* Move-in Ready / For Sale - Green #6A8375 */
.property-badge-pill,
.property-badge-pill.badge-move-in-ready,
.property-badge-pill.badge-for-sale {
    background: #6A8375;
}

.property-badge-pill .property-badge-text,
.property-badge-pill.badge-move-in-ready .property-badge-text,
.property-badge-pill.badge-for-sale .property-badge-text {
    color: #FFFFFF;
}

/* Under Construction - #928572 */
.property-badge-pill.badge-under-construction,
.property-badge-pill.badge-in-construction {
    background: #928572;
    border: none;
    outline: none;
}

.property-badge-pill.badge-under-construction .property-badge-text,
.property-badge-pill.badge-under-construction .property-badge-text-dark,
.property-badge-pill.badge-in-construction .property-badge-text,
.property-badge-pill.badge-in-construction .property-badge-text-dark {
    color: #FFFFFF;
}

/* Plan Ready Lot - #606E76 */
.property-badge-pill.badge-plan-ready,
.property-badge-pill.badge-plan-ready-lot {
    background: #606E76;
    border: none;
}

.property-badge-pill.badge-plan-ready .property-badge-text,
.property-badge-pill.badge-plan-ready-lot .property-badge-text {
    color: #FFFFFF;
}

/* In Contract - #666666 */
.property-badge-pill.badge-in-contract {
    background: #666666;
    border: none;
}

.property-badge-pill.badge-in-contract .property-badge-text {
    color: #FFFFFF;
}

/* Sold - #EEEEEE bg, #5A4F42 text */
.property-badge-pill.badge-sold {
    background: #EEEEEE;
    border: none;
}

.property-badge-pill.badge-sold .property-badge-text,
.property-badge-pill.badge-sold .property-badge-text-dark {
    color: #5A4F42;
}

/* Coming Soon - #EEEEEE bg, #5A4F42 text */
.property-badge-pill.badge-coming-soon {
    background: #EEEEEE;
    border: none;
}

.property-badge-pill.badge-coming-soon .property-badge-text,
.property-badge-pill.badge-coming-soon .property-badge-text-dark {
    color: #5A4F42;
}

/* Estimated Completion - Beige */
.property-badge-pill.badge-estimated {
    background: #E6E2DD;
    border: none;
}

.property-badge-pill.badge-estimated .property-badge-text-dark,
.property-badge-pill.badge-estimated .property-badge-text-dark-bold {
    color: #5A4F42;
}

/* Promo Badges (Buy Now, Sale 10%, etc.) */
.property-badge-pill.badge-promo,
.property-badge-pill.badge-buy-now,
.property-badge-pill.badge-sale {
    display: flex;
    padding: 5px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border: 1px solid #E8E5DF;
    background: #FFFFFF;
}

.property-badge-pill.badge-promo .property-badge-text,
.property-badge-pill.badge-promo .property-badge-text-dark,
.property-badge-pill.badge-buy-now .property-badge-text,
.property-badge-pill.badge-buy-now .property-badge-text-dark,
.property-badge-pill.badge-sale .property-badge-text,
.property-badge-pill.badge-sale .property-badge-text-dark {
    color: #2A2A2A;
    font-family: var(--font-body);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Text styles for badges */
.property-badge-text {
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 400;
}

.property-badge-text-dark {
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 300;
}

.property-badge-text-dark-bold {
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 500;
}

/* ========================================
   PROPERTY INFO
======================================== */
.property-header-info {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.property-name {
    align-self: stretch;
    color: var(--color-primary);
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

.property-address {
    align-self: stretch;
    color: var(--color-light-text);
    font-size: 24px;
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.4;
}

/* RIGHT SIDE */
.property-header-right {
    width: 384px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 28px;
}

.property-price-section {
    align-self: stretch;
    display: flex;
    justify-content: flex-end;
}

.price-amount {
    text-align: right;
    color: var(--color-primary);
    font-size: 36px;
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Action Buttons */
.property-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
}

.property-action-btn {
    height: 45px;
    padding: 0 24px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    text-transform: capitalize;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    white-space: nowrap;
}

.property-action-btn.primary-btn {
    background: var(--color-primary);
    color: var(--color-white);
}

.property-action-btn.primary-btn:hover {
    background: #928572!important;
    color: #FFFFFF!important;
}

.property-action-btn.secondary-btn {
    background: #FFFFFF!important;
    color: #2A2A2A!important;
    border-color:1px solid #2A2A2A!important;
}

.property-action-btn.secondary-btn:hover {
    background: #5A4F42!important;
    color:  #FFFFFF!important;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon .material-symbols-outlined {
    font-size: 20px;
}

/* ========================================
   HERO IMAGE SECTION
======================================== */
.property-hero-section {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
}

.property-hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 646;
    max-height: 80vh;
    min-height: 400px;
    overflow: hidden;
    display: block;
}

.property-hero-image img,
.property-hero-image .property-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ========================================
   HERO CTA BUTTON
======================================== */
.hero-cta-button {
    position: absolute;
    bottom: 40px;
    right: 0;
    z-index: 1000;
    pointer-events: all;
    display: block;
}

.hero-cta-closed {
    width: 54px;
    height: 255px;
    background: var(--color-primary);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.4);
    border-radius: 8px 0 0 8px;
}

.hero-cta-closed:hover {
    background: var(--color-800);
    box-shadow: -6px 6px 25px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.hero-cta-closed .material-symbols-outlined {
    color: var(--color-white);
    font-size: 24px;
    display: block;
}

.cta-text-vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--color-white);
    font-size: 16px;
    font-family: var(--font-body);
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
}

/* Expanded State */
.hero-cta-expanded {
    width: 211px;
    min-height: 366px;
    background: var(--color-primary);
    padding: 20px 15px;
    position: absolute;
    bottom: 0;
    right: 0;
    box-shadow: -6px 6px 30px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    border-radius: 8px 0 0 8px;
    display: none;
}

.hero-cta-expanded.active {
    display: flex;
}

.cta-content {
    width: 181px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--color-white);
}

.cta-icon-expanded {
    font-size: 24px;
    color: var(--color-white);
    cursor: pointer;
    align-self: flex-start;
    transition: transform 0.3s ease;
}

.cta-icon-expanded:hover {
    transform: translateX(-3px);
}

.cta-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
    text-transform: capitalize;
}

.cta-description {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--color-white);
    margin: 0;
    line-height: 1.4;
    text-transform: capitalize;
}

.cta-agent-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.agent-name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
    text-transform: capitalize;
}

.agent-title,
.agent-company,
.agent-phone {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--color-white);
    text-transform: capitalize;
}

.cta-contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
    transition: all 0.3s ease;
    gap: 15px;
    margin-top: 10px;
}

.cta-contact-button:hover {
    opacity: 0.9;
}

.cta-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 18px;
    flex-shrink: 0;
}

.cta-button-icon .material-symbols-outlined {
    font-size: 18px;
    color: var(--color-primary);
}

/* ========================================
   SPECIFICATIONS SECTION
======================================== */
.specifications-section {
    width: 100%;
    background: var(--color-100);
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.specifications-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 112px;
}

.specifications-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-card {
    width: 160px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
}

.spec-card-icon {
    font-size: 24px !important;
    color: var(--color-400) !important;
    flex-shrink: 0;
    display: block !important;
    width: 24px;
    height: 24px;
}

.spec-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    align-self: stretch;
}

.spec-card-label {
    color: var(--color-light-text);
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: uppercase;
    align-self: stretch;
}

.spec-card-value {
    color: var(--color-primary);
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 500;
    align-self: stretch;
}

/* ========================================
   CONTENT SECTIONS
======================================== */
.property-section {
    width: 100%;
    background: var(--color-white);
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.property-section.alt-bg {
    background: var(--color-100);
}

.property-section-inner {
    width: 100%;
    max-width: var(--content-max-width);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 400;
    color: var(--color-primary);
    margin: 0 0 28px 0;
}

/* ========================================
   OVERVIEW & KEY FEATURES SECTION
======================================== */
.overview-features-section {
    border-top: 1px solid var(--color-300);
}

.overview-features-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 96px;
}

.overview-content {
    width: 550px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.overview-content .section-title {
    margin: 0;
}

.overview-content .property-description {
    color: var(--color-primary);
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
}

.overview-content .property-description p {
    margin: 0 0 15px 0;
}

.overview-content .property-description p:last-child {
    margin-bottom: 0;
}

.features-content {
    width: 550px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.features-content .section-title {
    margin: 0;
}

.features-content .features-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.features-content .features-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.features-content .features-column:first-child {
    width: 256px;
}

.features-content .features-column:last-child {
    width: 224px;
}

.features-content .feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.features-content .feature-icon-container {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-content .feature-icon {
    font-size: 24px !important;
    color: var(--color-primary) !important;
    display: block !important;
}

.features-content .feature-title {
    flex: 1;
    color: var(--color-primary);
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.4;
}

/* ========================================
   PHOTO GALLERY SECTION
======================================== */
.gallery-section {
    border-top: 1px solid var(--color-300);
}

.gallery-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.photo-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.gallery-row-full {
    width: 100%;
    position: relative;
}

.gallery-row-full img {
    width: 100%;
    height: 654px;
    object-fit: cover;
    object-position: center;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-row-full img:hover {
    opacity: 0.9;
}

.gallery-row-two {
    width: 100%;
    display: flex;
    gap: 28px;
    position: relative;
}

.gallery-row-two > img {
    width: 585px;
    height: 319px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-row-two > img:hover {
    opacity: 0.9;
}

.gallery-last-image-wrapper {
    position: relative !important;
    width: 585px !important;
    height: 319px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    display: block !important;
}

.gallery-last-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
}

.gallery-button-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.3) !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
    padding: 20px !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.gallery-see-all-btn {
    padding: 10px 24px !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    background: var(--color-white) !important;
    color: var(--color-primary) !important;
    border: none !important;
    border-radius: 50px !important;
    outline: 0.5px solid var(--color-primary) !important;
    outline-offset: -0.5px !important;
    font-size: 18px !important;
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
    text-transform: capitalize !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    pointer-events: all !important;
    z-index: 3 !important;
}

.gallery-see-all-btn:hover {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-image-container {
    max-width: 1200px;
    max-height: 800px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 800px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.lightbox-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.lightbox-nav-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    padding: 0;
}

.lightbox-nav-btn:hover:not(:disabled) {
    transform: scale(1.1);
}

.lightbox-nav-btn .material-symbols-outlined {
    font-size: 40px;
    color: var(--color-primary);
}

.lightbox-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.lightbox-counter span {
    color: var(--color-primary);
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 400;
}

.lightbox-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    padding: 0;
}

.lightbox-close-btn:hover {
    transform: scale(1.1);
}

.lightbox-close-btn .material-symbols-outlined {
    font-size: 40px;
    color: var(--color-primary);
}

/* ========================================
   FLOOR PLANS SECTION
======================================== */
.floorplan-section {
    border-top: 1px solid var(--color-300);
}

.floorplan-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.floorplan-section-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floorplan-section .section-title {
    flex: 1;
    margin: 0;
}

.floorplan-dropdown-container {
    width: 192px;
    position: relative;
}

.floorplan-dropdown {
    width: 100%;
    height: 40px;
    padding: 8px 10px;
    background: var(--color-white);
    border: none;
    border-radius: 3px;
    outline: 1px var(--color-300) solid;
    outline-offset: -1px;
    color: var(--color-primary);
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 400;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: outline-color 0.3s ease;
}

.floorplan-dropdown:hover {
    outline-color: var(--color-400);
}

.floorplan-dropdown:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: -1px;
}

.floorplan-dropdown-container::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--color-primary);
    pointer-events: none;
    z-index: 2;
}

.floorplan-display-container {
    width: 100%;
    padding: 14px 240px;
    background: var(--color-white);
    outline: 1px var(--color-400) solid;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.floorplan-item-dropdown {
    display: none;
    width: 715px;
    max-width: 100%;
}

.floorplan-item-dropdown.active {
    display: block;
}

.floorplan-item-dropdown img {
    width: 715px;
    max-width: 100%;
    height: 550px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ========================================
   VIRTUAL TOUR SECTION
======================================== */
.tour-section {
    border-top: 1px solid var(--color-300);
}

.tour-container-wrapper {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.tour-container {
    width: 100%;
    height: 700px;
    position: relative;
    background: #000000;
    overflow: hidden;
}

.tour-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.tour-iframe,
.tour-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.tour-controls {
    width: 144px;
    height: 40px;
    padding: 5px 6px;
    position: absolute;
    bottom: 79px;
    right: 53px;
    background: rgba(48, 48, 48, 0.60);
    border-radius: 50px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    z-index: 10;
    transition: all 0.3s ease;
}

.tour-controls:hover {
    background: rgba(48, 48, 48, 0.80);
}

.tour-control-btn {
    padding: 5px 10px;
    background: transparent;
    border: none;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-white);
}

.tour-control-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.tour-control-btn .material-symbols-outlined {
    font-size: 20px;
    color: var(--color-white);
    display: block;
}

/* ========================================
   MAP SECTION
======================================== */
.map-section {
    width: 100%;
    padding: 80px 0 0 0;
    background: var(--color-white);
    margin-bottom: 54px;
    overflow: visible;
    position: relative;
}

.map-section .property-section-inner {
    position: relative;
}

.map-container-wrapper {
    width: 100%;
    height: 500px;
    position: relative;
    background: var(--color-300);
    overflow: hidden;
}

.leaflet-map-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(110deg, #E8E5DF 8%, #F5F3F0 18%, #E8E5DF 33%);
    background-size: 200% 100%;
    animation: mapSkeleton 1.5s linear infinite;
}

.leaflet-map-container.leaflet-container {
    animation: none;
    background: var(--color-300);
}

@keyframes mapSkeleton {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Custom marker pin - GREEN */
.custom-map-marker {
    background: transparent !important;
    border: none !important;
}

.marker-pin {
    width: 28px;
    height: 28px;
    background: #778869;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 3px 5px 6px 2px rgba(0, 0, 0, 0.40);
    transition: transform 0.3s ease;
}

.marker-pin.loading-pulse {
    animation: markerPulse 1.2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Custom Zoom Controls */
.map-zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 80px;
    background: var(--color-white);
    border-radius: 4px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

.map-zoom-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
}

.map-zoom-btn:hover {
    background: #F5F5F5;
}

.map-zoom-btn .material-symbols-outlined {
    font-size: 20px;
    color: var(--color-primary);
}

.zoom-divider {
    width: 28px;
    height: 1px;
    background: #E5E5E5;
    margin: 0 auto;
}

/* Hide Leaflet attribution */
.leaflet-control-zoom,
.leaflet-control-attribution {
    display: none !important;
}

/* ========================================
   CTA BANNER SECTION
======================================== */
.cta-banner-section {
    width: 100%;
    background: var(--color-white);
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 0;
}

.cta-banner-container {
    width: 100%;
    max-width: var(--content-max-width);
    min-height: 320px;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    background: var(--color-200);
    overflow: hidden;
}

.cta-banner-accent {
    width: 10px;
    background: var(--color-primary);
    flex-shrink: 0;
}

.cta-banner-content {
    flex: 1;
    padding: 40px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.cta-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 500px;
}

.cta-banner-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta-banner-title {
    color: var(--color-primary);
    font-size: 30px;
    font-family: var(--font-heading);
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

.cta-banner-description {
    color: var(--color-primary);
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 300;
    margin: 0;
    line-height: 1.5;
}

.cta-banner-btn {
    display: inline-flex;
    padding: 10px 24px;
    background: var(--color-white);
    border-radius: 50px;
    outline: 1px solid var(--color-primary);
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-primary);
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: capitalize;
    transition: all 0.3s ease;
    width: fit-content;
}

.cta-banner-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.cta-banner-btn .material-symbols-outlined {
    font-size: 20px;
}

.cta-banner-image {
    width: 350px;
    height: 240px;
    object-fit: cover;
    flex-shrink: 0;
}

/* ========================================
   FOOTER SPACER
======================================== */
.footer-spacer {
    width: 100%;
    height: 80px;
    background: var(--color-white);
}

/* ========================================
   RESPONSIVE - TABLET LARGE
======================================== */
@media (max-width: 1439px) {
    .breadcrumb-container,
    .property-header-container,
    .specifications-container,
    .property-section-inner,
    .overview-features-container,
    .gallery-container,
    .floorplan-container,
    .tour-container-wrapper {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .property-header-container {
        gap: 100px;
    }
    
    .overview-features-container {
        gap: 60px;
    }
    
    .overview-content,
    .features-content {
        width: calc(50% - 30px);
    }
    
    .gallery-row-two > img,
    .gallery-last-image-wrapper {
        width: calc(50% - 14px) !important;
        height: 280px !important;
    }
    
    .gallery-row-full img {
        height: 500px;
    }
    
    .floorplan-display-container {
        padding: 14px 80px;
    }
    
    .map-section {
        padding: 60px 0 0 0;
        margin-bottom: 54px;
    }
    
    .map-section .property-section-inner {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .map-container-wrapper {
        height: 450px;
    }
    
    .cta-banner-section {
        padding: 0 40px;
    }
    
    .cta-banner-content {
        padding: 40px;
        gap: 40px;
    }
    
    .cta-banner-image {
        width: 300px;
        height: 220px;
    }
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 1023px) {
    .breadcrumb-container,
    .property-header-container,
    .specifications-container,
    .property-section-inner,
    .overview-features-container,
    .gallery-container,
    .floorplan-container,
    .tour-container-wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .property-header-section {
        padding: 40px 0;
    }
    
    .property-header-container {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .property-header-left,
    .property-header-right {
        width: 100%;
    }
    
    .property-header-right {
        align-items: flex-start;
    }
    
    .property-price-section {
        justify-content: flex-start;
    }
    
    .price-amount {
        text-align: left;
    }
    
    .property-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .property-hero-image {
        min-height: 350px;
        max-height: 70vh;
    }
    
    .hero-cta-closed {
        width: 48px;
        height: 220px;
        padding: 15px 12px;
    }
    
    .cta-text-vertical {
        font-size: 14px;
    }
    
    .hero-cta-expanded {
        width: 200px;
        min-height: 340px;
    }
    
    .specifications-section {
        padding: 30px 0;
    }
    
    .specifications-container {
        gap: 40px;
    }
    
    .specifications-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .spec-card {
        width: 100%;
    }
    
    .property-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 26px;
        margin-bottom: 24px;
    }
    
    .overview-features-container {
        gap: 40px;
    }
    
    .overview-content,
    .features-content {
        width: calc(50% - 20px);
    }
    
    .photo-gallery {
        gap: 20px;
    }
    
    .gallery-row-full img {
        height: 400px;
    }
    
    .gallery-row-two > img,
    .gallery-last-image-wrapper {
        height: 250px !important;
    }
    
    .floorplan-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .floorplan-dropdown-container {
        width: 100%;
        max-width: 300px;
    }
    
    .floorplan-display-container {
        padding: 15px 20px;
    }
    
    .floorplan-item-dropdown img {
        max-height: 400px;
        height: auto;
    }
    
    .tour-container {
        height: 500px;
    }
    
    .tour-controls {
        bottom: 40px;
        right: 30px;
    }
    
    .map-section {
        padding: 60px 0 0 0;
        margin-bottom: 54px;
    }
    
    .map-section .property-section-inner {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .map-container-wrapper {
        height: 400px;
    }
    
    .cta-banner-section {
        padding: 0 30px;
    }
    
    .cta-banner-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .cta-banner-accent {
        width: 100%;
        height: 8px;
    }
    
    .cta-banner-content {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }
    
    .cta-banner-text {
        gap: 24px;
        max-width: 100%;
    }
    
    .cta-banner-image {
        width: 100%;
        height: 220px;
    }
    
    .footer-spacer {
        height: 60px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 767px) {
    .breadcrumb-container,
    .property-header-container,
    .specifications-container,
    .property-section-inner,
    .overview-features-container,
    .gallery-container,
    .floorplan-container,
    .tour-container-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .breadcrumb-link,
    .breadcrumb-separator,
    .breadcrumb-current {
        font-size: 12px;
    }
    
    .property-header-section {
        padding: 30px 0;
    }
    
    .property-header-left {
        gap: 20px;
    }
    
    .property-name {
        font-size: 28px;
    }
    
    .property-address {
        font-size: 18px;
    }
    
    .price-amount {
        font-size: 28px;
    }
    
    .property-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .property-action-btn {
        width: 100%;
        height: 45px;
        font-size: 16px;
    }
    
    .property-hero-image {
        min-height: 300px;
        max-height: 60vh;
    }
    
    .hero-cta-closed {
        width: 44px;
        height: 200px;
        padding: 15px 10px;
    }
    
    .cta-text-vertical {
        font-size: 13px;
    }
    
    .hero-cta-expanded {
        width: 190px;
        min-height: 320px;
        padding: 16px 12px;
    }
    
    .specifications-section {
        padding: 25px 0;
    }
    
    .specifications-container {
        gap: 30px;
    }
    
    .specifications-row {
        gap: 25px;
    }
    
    .spec-card {
        gap: 10px;
    }
    
    .spec-card-icon {
        font-size: 22px !important;
    }
    
    .spec-card-label {
        font-size: 12px;
    }
    
    .spec-card-value {
        font-size: 16px;
    }
    
    .property-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .overview-features-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .overview-content,
    .features-content {
        width: 100%;
    }
    
    .overview-content .property-description {
        font-size: 16px;
    }
    
    .features-content .features-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .features-content .features-column:first-child,
    .features-content .features-column:last-child {
        width: 100%;
    }
    
    .features-content .feature-item {
        gap: 12px;
    }
    
    .features-content .feature-icon {
        font-size: 20px !important;
    }
    
    .features-content .feature-title {
        font-size: 16px;
    }
    
    .photo-gallery {
        gap: 15px;
    }
    
    .gallery-row-two {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-row-two > img,
    .gallery-last-image-wrapper {
        width: 100% !important;
        height: 220px !important;
    }
    
    .gallery-row-full img {
        height: 280px;
    }
    
    .gallery-see-all-btn {
        font-size: 16px !important;
        padding: 10px 20px !important;
    }
    
    .gallery-lightbox {
        padding: 20px;
        gap: 30px;
    }
    
    .lightbox-image-container {
        max-height: 450px;
    }
    
    .lightbox-image-container img {
        max-height: 450px;
    }
    
    .lightbox-close-btn {
        top: 15px;
        right: 15px;
    }
    
    .lightbox-controls {
        gap: 30px;
    }
    
    .lightbox-nav-btn .material-symbols-outlined,
    .lightbox-close-btn .material-symbols-outlined {
        font-size: 32px;
    }
    
    .floorplan-item-dropdown img {
        max-height: 300px;
        width: 100%;
    }
    
    .tour-container {
        height: 350px;
    }
    
    .tour-controls {
        width: 120px;
        height: 36px;
        bottom: 20px;
        right: 15px;
    }
    
    .tour-control-btn {
        padding: 4px 8px;
    }
    
    .tour-control-btn .material-symbols-outlined {
        font-size: 18px;
    }
    
    .map-section {
        padding: 40px 0 0 0;
        margin-bottom: 54px;
    }
    
    .map-section .property-section-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .map-container-wrapper {
        height: 300px;
    }
    
    .map-zoom-controls {
        width: 36px;
        height: 72px;
        bottom: 15px;
        right: 15px;
    }
    
    .cta-banner-section {
        padding: 0 20px;
    }
    
    .cta-banner-accent {
        height: 6px;
    }
    
    .cta-banner-content {
        padding: 24px 20px;
        gap: 24px;
    }
    
    .cta-banner-text {
        gap: 20px;
    }
    
    .cta-banner-info {
        gap: 10px;
    }
    
    .cta-banner-title {
        font-size: 24px;
    }
    
    .cta-banner-description {
        font-size: 16px;
    }
    
    .cta-banner-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .cta-banner-image {
        height: 180px;
    }
    
    .footer-spacer {
        height: 50px;
    }
    
    /* Badge responsive */
    .property-badge-pill {
        padding: 4px 16px;
        font-size: 14px;
    }
}

/* ========================================
   RESPONSIVE - SMALL MOBILE
======================================== */
@media (max-width: 479px) {
    .breadcrumb-container,
    .property-header-container,
    .specifications-container,
    .property-section-inner,
    .overview-features-container,
    .gallery-container,
    .floorplan-container,
    .tour-container-wrapper {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .breadcrumb-link,
    .breadcrumb-separator,
    .breadcrumb-current {
        font-size: 11px;
    }
    
    .property-header-section {
        padding: 25px 0;
    }
    
    .property-badges-container {
        gap: 8px;
    }
    
    .property-badge-pill {
        padding: 4px 12px;
        font-size: 13px;
    }
    
    .property-name {
        font-size: 24px;
    }
    
    .property-address {
        font-size: 16px;
    }
    
    .price-amount {
        font-size: 24px;
    }
    
    .property-action-btn {
        height: 42px;
        font-size: 15px;
    }
    
    .property-hero-image {
        min-height: 250px;
        max-height: 50vh;
    }
    
    .hero-cta-closed {
        width: 40px;
        height: 180px;
        padding: 12px 8px;
    }
    
    .cta-text-vertical {
        font-size: 12px;
    }
    
    .hero-cta-expanded {
        width: 180px;
        min-height: 300px;
        padding: 14px 10px;
    }
    
    .specifications-section {
        padding: 20px 0;
    }
    
    .specifications-container {
        gap: 25px;
    }
    
    .specifications-row {
        gap: 20px;
    }
    
    .spec-card {
        gap: 8px;
    }
    
    .spec-card-icon {
        font-size: 20px !important;
    }
    
    .spec-card-label {
        font-size: 11px;
    }
    
    .spec-card-value {
        font-size: 14px;
    }
    
    .property-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .photo-gallery {
        gap: 12px;
    }
    
    .gallery-row-two {
        gap: 12px;
    }
    
    .gallery-row-full img {
        height: 220px;
    }
    
    .gallery-row-two > img,
    .gallery-last-image-wrapper {
        height: 180px !important;
    }
    
    .gallery-see-all-btn {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }
    
    .floorplan-dropdown {
        height: 36px;
        font-size: 13px;
    }
    
    .floorplan-item-dropdown img {
        max-height: 250px;
    }
    
    .tour-container {
        height: 280px;
    }
    
    .tour-controls {
        width: 100px;
        height: 32px;
        bottom: 15px;
        right: 10px;
    }
    
    .tour-control-btn .material-symbols-outlined {
        font-size: 16px;
    }
    
    .map-section {
        padding: 30px 0 0 0;
        margin-bottom: 54px;
    }
    
    .map-section .property-section-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .map-container-wrapper {
        height: 250px;
    }
    
    .map-zoom-controls {
        width: 32px;
        height: 64px;
        bottom: 12px;
        right: 12px;
    }
    
    .map-zoom-btn .material-symbols-outlined {
        font-size: 16px;
    }
    
    .cta-banner-section {
        padding: 0 16px;
    }
    
    .cta-banner-accent {
        height: 5px;
    }
    
    .cta-banner-content {
        padding: 20px 16px;
        gap: 20px;
    }
    
    .cta-banner-text {
        gap: 16px;
    }
    
    .cta-banner-info {
        gap: 8px;
    }
    
    .cta-banner-title {
        font-size: 22px;
    }
    
    .cta-banner-description {
        font-size: 15px;
    }
    
    .cta-banner-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .cta-banner-image {
        height: 160px;
    }
    
    .footer-spacer {
        height: 40px;
    }
}

/* ========================================
   RESPONSIVE - iPhone SE (320px - 375px)
======================================== */
@media (max-width: 375px) {
    .breadcrumb-container,
    .property-header-container,
    .specifications-container,
    .property-section-inner,
    .overview-features-container,
    .gallery-container,
    .floorplan-container,
    .tour-container-wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .breadcrumb-link,
    .breadcrumb-separator,
    .breadcrumb-current {
        font-size: 10px;
    }
    
    .property-badge-pill {
        padding: 3px 10px;
        font-size: 12px;
    }
    
    .property-name {
        font-size: 22px;
    }
    
    .property-address {
        font-size: 15px;
    }
    
    .price-amount {
        font-size: 22px;
    }
    
    .property-action-btn {
        height: 40px;
        font-size: 14px;
        padding: 0 18px;
    }
    
    .property-hero-image {
        min-height: 220px;
        max-height: 45vh;
    }
    
    .hero-cta-closed {
        width: 36px;
        height: 160px;
        padding: 10px 6px;
    }
    
    .cta-text-vertical {
        font-size: 11px;
    }
    
    .property-section {
        padding: 25px 0;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .gallery-row-full img {
        height: 200px;
    }
    
    .gallery-row-two > img,
    .gallery-last-image-wrapper {
        height: 160px !important;
    }
    
    .map-section {
        padding: 25px 0 0 0;
        margin-bottom: 54px;
    }
    
    .map-section .property-section-inner {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .map-container-wrapper {
        height: 220px;
    }
    
    .map-zoom-controls {
        width: 30px;
        height: 60px;
        bottom: 10px;
        right: 10px;
    }
    
    .map-zoom-btn .material-symbols-outlined {
        font-size: 14px;
    }
    
    .cta-banner-section {
        padding: 0 12px;
    }
    
    .cta-banner-accent {
        height: 4px;
    }
    
    .cta-banner-content {
        padding: 16px 14px;
        gap: 16px;
    }
    
    .cta-banner-text {
        gap: 14px;
    }
    
    .cta-banner-info {
        gap: 6px;
    }
    
    .cta-banner-title {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .cta-banner-description {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .cta-banner-btn {
        padding: 10px 18px;
        font-size: 14px;
        gap: 8px;
    }
    
    .cta-banner-btn .material-symbols-outlined {
        font-size: 16px;
    }
    
    .cta-banner-image {
        height: 140px;
    }
    
    .footer-spacer {
        height: 30px;
    }
}

/* ========================================
   RESPONSIVE - Very Small (320px)
======================================== */
@media (max-width: 320px) {
    .breadcrumb-container,
    .property-header-container,
    .specifications-container,
    .property-section-inner,
    .overview-features-container,
    .gallery-container,
    .floorplan-container,
    .tour-container-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .property-badge-pill {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .property-name {
        font-size: 20px;
    }
    
    .price-amount {
        font-size: 20px;
    }
    
    .map-section {
        padding: 20px 0 0 0;
        margin-bottom: 54px;
    }
    
    .map-section .property-section-inner {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .map-container-wrapper {
        height: 200px;
    }
    
    .cta-banner-section {
        padding: 0 10px;
    }
    
    .cta-banner-content {
        padding: 14px 12px;
        gap: 14px;
    }
    
    .cta-banner-title {
        font-size: 18px;
    }
    
    .cta-banner-description {
        font-size: 13px;
    }
    
    .cta-banner-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .cta-banner-image {
        height: 120px;
    }
}

