/* =========================================================
   ROCHA CIRCLE
   SHARED PROPERTY PRESENTATION
   Used by: 29 Arvida, Munson Road, future properties
========================================================= */

:root {
    --rc-black: #171715;
    --rc-charcoal: #222220;
    --rc-ivory: #f5f1e8;
    --rc-white: #ffffff;
    --rc-gold: #9a7a45;
    --rc-line: #ded8ce;
    --rc-muted: #6f7276;
    --rc-panel: #faf9f6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f7f6f2;
    color: var(--rc-black);
}


/* =========================================================
   PROPERTY HEADER
========================================================= */

.property-topbar {
    min-height: 82px;
    padding: 14px 38px;
    background: var(--rc-black);
    color: var(--rc-white);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.property-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--rc-white);
    text-decoration: none;
}

.property-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.property-brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    letter-spacing: .18em;
}

.property-brand-sub {
    margin-top: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .30em;
    opacity: .7;
}

.property-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.property-nav a {
    color: var(--rc-white);
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    opacity: .88;
    transition: opacity .2s ease;
}

.property-nav a:hover {
    opacity: 1;
}

.property-inquire {
    padding: 15px 27px;
    border: 1px solid rgba(255,255,255,.4);
    color: var(--rc-black) !important;
    background: var(--rc-ivory);
    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    letter-spacing: .20em;
    text-transform: uppercase;
}


/* =========================================================
   PROPERTY INTRODUCTION
========================================================= */

.property-intro {
    padding: 48px 40px 28px;
    background: #fbfaf7;
    border-bottom: 1px solid var(--rc-line);
}

.property-back {
    display: inline-block;
    margin-bottom: 24px;
    color: #323232;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: .18em;
}

.property-intro-row {
    display: grid;
    grid-template-columns: minmax(330px, 1.4fr) 1fr auto;
    align-items: center;
    gap: 45px;
}

.property-title h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    font-size: clamp(44px, 5vw, 72px);
    line-height: .95;
}

.property-title p {
    margin: 9px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.property-stats {
    display: flex;
    align-items: stretch;
}

.stat {
    min-width: 100px;
    padding: 2px 22px;
    text-align: center;
    border-right: 1px solid var(--rc-line);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: normal;
}

.stat span {
    display: block;
    margin-top: 5px;
    color: var(--rc-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.showing-button {
    display: inline-flex;
    min-width: 290px;
    justify-content: space-between;
    align-items: center;
    gap: 35px;

    padding: 22px 27px;
    background: var(--rc-black);
    color: var(--rc-white);
    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .20em;

    transition:
        background .2s ease,
        color .2s ease;
}

.showing-button:hover {
    background: #292927;
}


/* =========================================================
   PROPERTY NAVIGATION
========================================================= */

.property-tabs {
    display: flex;
    gap: 48px;
    align-items: center;

    padding: 0 40px;
    min-height: 60px;

    background: #fbfaf7;
    border-bottom: 1px solid var(--rc-line);
}

.property-tabs a {
    position: relative;
    padding: 22px 0 17px;

    color: #626874;
    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: .13em;
    text-transform: uppercase;
    white-space: nowrap;
}

.property-tabs a.active {
    color: var(--rc-black);
}

.property-tabs a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;
    background: var(--rc-gold);
}


/* =========================================================
   INTERACTIVE FLOOR PLAN
========================================================= */

.explorer-section {
    padding: 28px 20px 60px;
}

.explorer-grid {
    max-width: 1500px;
    margin: auto;

    display: grid;
    grid-template-columns:
        minmax(500px, 1.15fr)
        minmax(420px, .85fr);

    gap: 14px;
}

.explorer-panel {
    background: var(--rc-white);
    border: 1px solid #ebe8e1;
    border-radius: 10px;
    padding: 20px;
}

.explorer-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 16px;
}

.explorer-heading h2,
.viewer-heading h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: normal;
}

.explorer-heading p {
    margin: 6px 0 0;
    color: var(--rc-muted);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}


/* =========================================================
   FLOOR SELECTOR
========================================================= */

.floor-buttons {
    display: flex;
    gap: 6px;
}

.floor-button {
    border: 1px solid #dedede;
    background: var(--rc-white);

    padding: 11px 16px;
    border-radius: 5px;

    color: var(--rc-black);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.floor-button:hover {
    border-color: #aaa;
}

.floor-button.active {
    background: var(--rc-black);
    color: var(--rc-white);
    border-color: var(--rc-black);
}


/* =========================================================
   FLOOR PLAN CANVAS
========================================================= */

.floorplan-stage {
    position: relative;
    width: 100%;
    min-height: 560px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.floorplan-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.floorplan-image {
    display: block;

    max-width: 100%;
    max-height: 650px;

    width: auto;
    height: auto;
}

/* =========================================================
   PHOTO POV MARKERS — PUBLIC PROPERTY PAGE
   Matches the smaller markers used in Property Mapper
========================================================= */

.pov-marker {
    --x: 50%;
    --y: 50%;
    --rotation: 0deg;

    position: absolute;

    left: var(--x);
    top: var(--y);

    /* Invisible clickable area */
    width: 38px;
    height: 38px;

    padding: 0;
    border: 0;
    background: transparent;

    transform:
        translate(-6px, -19px)
        rotate(var(--rotation));

    transform-origin: 6px 32px;

    cursor: pointer;
    z-index: 10;
}


/* =========================================================
   PHOTOGRAPHER LOCATION DOT
========================================================= */

.pov-marker .pov-dot {
    position: absolute;

    left: 3px;
    bottom: 3px;

    width: 9px;
    height: 9px;

    background: #fff;

    border: 1.5px solid var(--rc-gold);
    border-radius: 50%;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, .18);
}


/* Selected photo */
.pov-marker.active .pov-dot {
    background: var(--rc-gold);
    border-color: var(--rc-black);
}


/* =========================================================
   CAMERA VIEW-DIRECTION ARCHES
========================================================= */

.pov-arc {
    position: absolute;

    left: 6px;
    bottom: 6px;

    border: 1.2px solid var(--rc-gold);

    border-left-color: transparent;
    border-bottom-color: transparent;

    border-radius: 0 100% 0 0;

    transform-origin: bottom left;
}


/* Inner arch */
.pov-arc.arc-1 {
    width: 10px;
    height: 10px;
}


/* Middle arch */
.pov-arc.arc-2 {
    width: 17px;
    height: 17px;
}


/* Outer arch */
.pov-arc.arc-3 {
    width: 24px;
    height: 24px;
}


/* Selected photo arches */
.pov-marker.active .pov-arc {
    border-top-color: var(--rc-black);
    border-right-color: var(--rc-black);
}

/* =========================================================
   FLOOR PLAN LEGEND
========================================================= */

.floorplan-legend {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 12px;

    color: var(--rc-muted);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.legend-symbol {
    position: relative;

    width: 40px;
    height: 28px;
}

.legend-symbol .pov-dot {
    position: absolute;

    bottom: 2px;
    left: 3px;

    width: 13px;
    height: 13px;

    border-radius: 50%;
    background: var(--rc-gold);
}

.legend-symbol::before,
.legend-symbol::after {
    content: "";

    position: absolute;

    left: 9px;
    bottom: 8px;

    border: 1.5px solid var(--rc-gold);

    border-left-color: transparent;
    border-bottom-color: transparent;

    border-radius: 0 100% 0 0;
}

.legend-symbol::before {
    width: 18px;
    height: 18px;
}

.legend-symbol::after {
    width: 28px;
    height: 28px;
}


/* =========================================================
   PHOTO VIEWER
========================================================= */

.viewer-panel {
    display: flex;
    flex-direction: column;
}

.viewer-heading {
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.viewer-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.photo-counter {
    color: var(--rc-muted);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.viewer-arrows {
    display: flex;
    gap: 7px;
}

.viewer-arrow {
    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: #efefed;
    color: var(--rc-black);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;

    cursor: pointer;

    transition: background .2s ease;
}

.viewer-arrow:hover {
    background: #dfddd8;
}


/* =========================================================
   LARGE PHOTO
========================================================= */

.main-photo-wrap {
    position: relative;

    margin-top: 8px;

    overflow: hidden;

    border-radius: 5px;
    background: #eee;
}

.main-photo {
    display: block;

    width: 100%;
    height: 545px;

    object-fit: cover;
}

.photo-caption {
    position: absolute;

    left: 18px;
    bottom: 18px;

    padding: 8px 11px;

    background: rgba(20,20,18,.78);
    color: var(--rc-white);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: .10em;
    text-transform: uppercase;
}


/* =========================================================
   PHOTO THUMBNAILS
========================================================= */

.thumbnails {
    display: flex;
    gap: 8px;

    margin-top: 12px;

    overflow-x: auto;

    padding-bottom: 5px;
}

.thumb {
    flex: 0 0 105px;

    border: 2px solid transparent;
    background: transparent;

    border-radius: 6px;

    padding: 2px;

    cursor: pointer;
}

.thumb.active {
    border-color: var(--rc-black);
}

.thumb img {
    display: block;

    width: 100%;
    height: 72px;

    object-fit: cover;

    border-radius: 4px;
}

.thumb span {
    display: block;

    padding-top: 6px;

    color: #535862;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;

    white-space: nowrap;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .property-nav {
        display: none;
    }

    .property-intro-row {
        grid-template-columns: 1fr;
    }

    .property-stats {
        justify-content: flex-start;
    }

    .showing-button {
        width: 100%;
    }

    .explorer-grid {
        grid-template-columns: 1fr;
    }

    .floorplan-stage {
        min-height: 430px;
    }

    .main-photo {
        height: min(65vw, 500px);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .property-topbar {
        padding: 12px 18px;
    }

    .property-brand-name {
        font-size: 18px;
    }

    .property-brand-sub {
        font-size: 7px;
    }

    .property-inquire {
        display: none;
    }

    .property-intro {
        padding: 35px 20px 22px;
    }

    .property-title h1 {
        font-size: 47px;
    }

    .property-title p {
        font-size: 19px;
    }

    .property-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat {
        padding: 12px;
        border-bottom: 1px solid var(--rc-line);
    }

    .property-tabs {
        padding: 0 20px;
        gap: 27px;

        overflow-x: auto;
    }

    .explorer-section {
        padding: 15px 8px 40px;
    }

    .explorer-panel {
        padding: 14px;
    }

    .explorer-heading {
        display: block;
    }

    .floor-buttons {
        margin-top: 15px;
        overflow-x: auto;
    }

    .floor-button {
        white-space: nowrap;
    }

    .floorplan-stage {
        min-height: 360px;
    }

    .pov-marker {
        transform:
            translate(-12px, -30px)
            rotate(var(--rotation))
            scale(.82);
    }

    .main-photo {
        height: 68vw;
        min-height: 280px;
    }
}