/* ==========================================================================
   Single Display Home — page styles
   Figma node: 6951:22990
   Sections: Hero · Info · Gallery · Floorplan · Location
   (Contact section styles live in contact-section.css)
   ========================================================================== */

/* ── Shared max-width / padding ─────────────────────────────────────────── */
.sdh-info,
.sdh-gallery,
.sdh-floorplan,
.sdh-location {
    padding-inline: 60px;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */

.sdh-hero {
    position: relative;
    width: 100%;
    height: 900px;
    overflow: hidden;
    background-color: #1c1c1c; /* fallback */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdh-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Bottom gradient — 277px, multiply blend */
.sdh-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 277px;
    background: linear-gradient(
        to top,
        rgba(28, 28, 28, 0.35) 0%,
        transparent 100%
    );
    pointer-events: none;
}

/* Centred home name */
.sdh-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.sdh-hero__title {
    font-family: 'freight-neo-pro', 'Freight Neo', Georgia, serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

/* Scroll indicator */
.sdh-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.sdh-hero__scroll-label {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #ffffff;
    white-space: nowrap;
}

.sdh-hero__scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #e6dfd7;
    border-radius: 1000px;
    flex-shrink: 0;
}

/* ==========================================================================
   2. INFO — bg #e6dfd7
   ========================================================================== */

.sdh-info {
    background-color: #e6dfd7;
    padding-block: 80px;
    padding-inline: var(--gutter);
}

.sdh-info__inner {
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    min-width: 0;
}

/* ── Left ──────────────────────────────────────────────────────────────── */
.sdh-info__left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 538px;
}

/* Eyebrow: Geist Medium 14px uppercase */
.sdh-info__eyebrow {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1c1c1c;
    margin: 0;
}

/* H2: Freight Neo Book 40px, lh 1.15 */
.sdh-info__heading {
    font-family: 'freight-neo-pro', 'Freight Neo', Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.15;
    color: #1c1c1c;
    margin: 0;
    overflow-wrap: break-word;
}

/* Icon row: bed / bath / garage */
.sdh-info__icons {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sdh-info__icon-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sdh-info__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.sdh-info__icon-value {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #1c1c1c;
}

/* CTA buttons */
.sdh-info__ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Right ─────────────────────────────────────────────────────────────── */
.sdh-info__right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

/* Description wysiwyg */
.sdh-info__description p {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #1c1c1c;
    margin: 0 0 0.75em;
    overflow-wrap: break-word;
}

.sdh-info__description p:last-child {
    margin-bottom: 0;
}

/* 2-column details table */
.sdh-info__details {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.sdh-info__details-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.sdh-info__detail-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #b99980;
    gap: 12px;
    min-width: 0;
}

.sdh-info__detail-label {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.39;
    color: #1c1c1c;
    flex-shrink: 0;
}

.sdh-info__detail-value {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #1c1c1c;
    text-align: right;
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: break-word;
}

.sdh-info__media-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.sdh-info__media-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 25px;
    border-radius: 1000px;
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 100%;
    letter-spacing: 0.16px;
    color: var(--Lead-Colours-White, #ffffff);
    text-align: center;
    text-transform: capitalize;
    text-decoration: none;
    background-color: var(--Lead-Colours-Yakisugi, #1c1c1c);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sdh-info__media-btn:hover,
.sdh-info__media-btn:focus-visible {
    background-color: #000000;
    color: #ffffff;
}

/* ==========================================================================
   3. GALLERY — bg white
   ========================================================================== */

.sdh-gallery {
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* ── Row 1: Featured room (landscape left + text right, items-end) ──────── */
.sdh-gallery__row--main {
    display: flex;
    align-items: flex-end;
    gap: 60px;
    width: 100%;
    max-width: var(--max-width);
}

.sdh-gallery__main-image {
    flex: 1;
    aspect-ratio: 722 / 578;
    overflow: hidden;
    margin: 0;
    min-width: 0;
}

.sdh-gallery__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sdh-gallery__main-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 0 0 538px;
    width: 538px;
}

/* ── Row 2: Secondary room (small left + text + large portrait right) ────── */
.sdh-gallery__row--secondary {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: var(--max-width);
}

.sdh-gallery__secondary-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    min-width: 0;
}

.sdh-gallery__secondary-image-sm {
    aspect-ratio: 417 / 334;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.sdh-gallery__secondary-image-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sdh-gallery__secondary-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sdh-gallery__secondary-image-lg {
    flex: 0 0 863px;
    width: 863px;
    height: 690px;
    overflow: hidden;
    margin: 0;
}

.sdh-gallery__secondary-image-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Shared room text styles ──────────────────────────────────────────── */
.sdh-gallery__room-name {
    font-family: 'Geist', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    color: #1c1c1c;
    margin: 0;
}

.sdh-gallery__room-desc p {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #1c1c1c;
    margin: 0 0 0.75em;
}

.sdh-gallery__room-desc p:last-child {
    margin-bottom: 0;
}

/* ── Centre quote ─────────────────────────────────────────────────────── */
.sdh-gallery__quote {
    max-width: 922px;
    text-align: center;
    width: 100%;
}

.sdh-gallery__quote p {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #1c1c1c;
    margin: 0 0 0.75em;
}

.sdh-gallery__quote p:last-child {
    margin-bottom: 0;
}

/* ── 4-image portrait grid ────────────────────────────────────────────── */
.sdh-gallery__grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    max-width: var(--max-width);
}

.sdh-gallery__grid-item {
    flex: 1;
    aspect-ratio: 315 / 394;
    overflow: hidden;
    margin: 0;
    min-width: 0;
}

.sdh-gallery__grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   4. FLOORPLAN — bg white
   ========================================================================== */

.sdh-floorplan {
    background-color: #ffffff;
    padding-top: 80px;
    padding-bottom: 80px;
}

.sdh-floorplan__inner {
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

/* ── Left ──────────────────────────────────────────────────────────────── */
.sdh-floorplan__left {
    display: flex;
    flex-direction: column;
    gap: 42px;
    flex: 0 0 338px;
    width: 338px;
}

/* FLOORPLAN eyebrow */
.sdh-floorplan__eyebrow {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1c1c1c;
    margin: 0;
}

/* Specs table */
.sdh-floorplan__specs {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sdh-floorplan__spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #b99980;
    gap: 12px;
    white-space: nowrap;
}

.sdh-floorplan__spec-label {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #1c1c1c;
    flex-shrink: 0;
}

.sdh-floorplan__spec-value {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #1c1c1c;
    text-align: right;
}

/* CTA rows — matches hd-floorplan__image-ctas */
.sdh-floorplan__actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.sdh-floorplan__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 25px;
    border-radius: 1000px;
    font-family: var(--font-body, 'Geist', sans-serif);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    line-height: 1;
    border: 1px solid #1c1c1c;
}

.sdh-floorplan__btn--dark {
    background: #1c1c1c;
    color: #fff;
}

.sdh-floorplan__btn--dark:hover,
.sdh-floorplan__btn--dark:focus-visible {
    background: transparent;
    color: #1c1c1c;
    outline: none;
}

.sdh-floorplan__btn--outline {
    background: transparent;
    color: #1c1c1c;
}

.sdh-floorplan__btn--outline:hover,
.sdh-floorplan__btn--outline:focus-visible {
    background: #1c1c1c;
    color: #fff;
    outline: none;
}

/* ── Right ─────────────────────────────────────────────────────────────── */
.sdh-floorplan__right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    min-width: 0;
}

.sdh-floorplan__image-wrap {
    aspect-ratio: 1600 / 1186;
    width: 100%;
    margin: 0;
}

.sdh-floorplan__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Floorplan lightbox */
.sdh-floorplan-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(28, 28, 28, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.sdh-floorplan-lightbox[hidden] {
    display: none;
}

.sdh-floorplan-lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    line-height: 0;
    transition: opacity 0.2s;
}

.sdh-floorplan-lightbox__close:hover {
    opacity: 0.7;
}

.sdh-floorplan-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   5. LOCATION — bg #f0ebdf
   ========================================================================== */

.sdh-location {
    background-color: #f0ebdf;
    padding-top: 100px;
    padding-bottom: 100px;
}

.sdh-location__inner {
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

/* ── Left ──────────────────────────────────────────────────────────────── */
.sdh-location__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 537px;
    width: 537px;
}

.sdh-location__text {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Eyebrow */
.sdh-location__eyebrow {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #1c1c1c;
    margin: 0;
}

/* H2 */
.sdh-location__heading {
    font-family: 'freight-neo-pro', 'Freight Neo', Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.15;
    color: #1c1c1c;
    margin: 0;
}

/* Details block */
.sdh-location__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sdh-location__details-label {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.39;
    color: #1c1c1c;
    margin: 0;
}

.sdh-location__details-value {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.39;
    color: #1c1c1c;
    margin: 0;
    text-decoration: none;
    display: block;
}

a.sdh-location__details-value:hover {
    text-decoration: underline;
}

/* "Get Directions" underline link */
.sdh-location__directions {
    display: inline-flex;
    align-items: center;
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.16px;
    color: #1c1c1c;
    text-decoration: none;
    border-bottom: 1px solid #1c1c1c;
    padding-bottom: 2px;
    text-transform: capitalize;
}

.sdh-location__directions:hover {
    opacity: 0.7;
}

/* ── Right: map ────────────────────────────────────────────────────────── */
.sdh-location__map {
    flex: 1;
    min-width: 0;
    height: 429px;
    overflow: hidden;
}

.sdh-location__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.sdh-location__map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   Responsive — ≤1200px
   ========================================================================== */
@media (max-width: 1200px) {
    .sdh-info,
    .sdh-gallery,
    .sdh-floorplan,
    .sdh-location {
        padding-inline: 40px;
    }

    .sdh-info__left {
        flex: 1 1 44%;
        max-width: none;
    }

    .sdh-info__right {
        flex: 1 1 52%;
    }

    .sdh-info__left,
    .sdh-info__right {
        min-width: 0;
    }

    .sdh-gallery__secondary-image-lg {
        flex: 0 0 600px;
        width: 600px;
    }
}

/* ==========================================================================
   Responsive — ≤1024px
   ========================================================================== */
@media (max-width: 1024px) {
    .sdh-hero {
        height: 600px;
    }

    .sdh-info__left {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .sdh-info__inner {
        flex-direction: column;
    }

    .sdh-gallery__row--main,
    .sdh-gallery__row--secondary {
        flex-direction: column;
    }

    .sdh-gallery__main-text,
    .sdh-gallery__secondary-image-lg {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
    }

    .sdh-gallery__secondary-left {
        width: 100%;
    }

    .sdh-floorplan__inner {
        flex-direction: column;
    }

    .sdh-floorplan__left {
        flex: 0 0 auto;
        width: 100%;
    }

    .sdh-location__inner {
        flex-direction: column;
    }

    .sdh-location__content {
        flex: 0 0 auto;
        width: 100%;
    }

    .sdh-location__map {
        width: 100%;
        height: 320px;
    }
}

/* ==========================================================================
   Responsive — ≤768px
   ========================================================================== */
@media (max-width: 768px) {
    .sdh-info,
    .sdh-gallery,
    .sdh-floorplan,
    .sdh-location {
        padding-inline: 16px;
    }

    .sdh-hero {
        height: 480px;
    }

    .sdh-hero__title {
        font-size: 36px;
    }

    .sdh-info {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .sdh-info__heading {
        font-size: 32px;
    }

    .sdh-info__icons {
        gap: 30px;
    }

    .sdh-info__details {
        flex-direction: column;
    }

    .sdh-info__detail-row {
        align-items: flex-start;
    }

    .sdh-gallery {
        gap: 40px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .sdh-gallery__grid {
        flex-wrap: wrap;
    }

    .sdh-gallery__grid-item {
        flex: 0 0 calc(50% - 10px);
    }

    .sdh-floorplan {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .sdh-floorplan__spec-row {
        white-space: normal;
    }

    .sdh-location {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .sdh-location__heading {
        font-size: 32px;
    }

    .sdh-location__map {
        height: 260px;
    }
}
