
/* ==========================================================
   GULF ISLAND — PROPERTY DETAIL PAGE
   Designed to match the supplied Property Detail screenshot
   ========================================================== */

.property-detail-wrapper {
    --gulf-bg: #f5f2e9;
    --gulf-ink: #1d2d2d;
    --gulf-muted: #71817d;
    --gulf-line: #d9d7cd;
    --gulf-green: #06383d;
    --gulf-green-dark: #042f34;
    --gulf-blue: #dcebed;   
    --gulf-white: #ffffff;

    background: var(--gulf-bg);
    color: var(--gulf-ink);
    font-family: "Poppins", Arial, sans-serif;
    padding: 58px 0 0px;
}

.property-detail-wrapper *,
.related-properties-wrapper * {
    box-sizing: border-box;
}

.property-detail-wrapper .container,
.related-properties-wrapper .container {
    width: min(1300px, calc(100% - 48px));
    margin: 0 auto;
}

/* -----------------------------
   GALLERY
   ----------------------------- */

.property-gallery-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5px;
    height: 580px;
    overflow: hidden;
}

.gallery-main,
.gallery-side a {
    overflow: hidden;
    display: block;
    background: #ddd;
}

.gallery-main img,
.gallery-side img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery-main:hover img,
.gallery-side a:hover img {
    transform: scale(1.025);
}

.gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 5px;
    min-width: 0;
}

.gallery-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 36px;
}

.btn-outline-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 15px 24px;
    border: 1px solid #b9beb9;
    border-radius: 999px;
    background: transparent;
    color: var(--gulf-ink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    transition: all .25s ease;
}

.btn-outline-pill:hover {
    background: #082C32;
    border-color: #082C32;
    color: #fff;
}

.gallery-hidden-items {
    display: none !important;
}

/* -----------------------------
   MAIN TWO-COLUMN CONTENT
   ----------------------------- */

.property-detail-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 58px;
    align-items: start;
}

.property-detail-left {
    min-width: 0;
}

.property-detail-right {
    position: relative;
}

.eyebrow-text,
.section-eyebrow {
    margin-bottom: 10px;
    color: #75908b;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 500;
}

.property-detail-title,
.section-heading,
.related-properties-wrapper .section-heading {
    font-family: "DM Serif Display", Georgia, serif;
    color: var(--gulf-ink);
    font-weight: 600;
}


.property-tagline{
    font-family: "Manrope", Georgia, serif;
    color: var(--gulf-ink);
    font-weight: 400;
}

.property-detail-title {
    margin: 0 0 8px;
    font-size: clamp(34px, 4vw, 43px);
    line-height: 1.04;
    letter-spacing: -1.5px;
}

.property-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 25px;
    font-size: 9px;
    color: #788783;
}

.stars {
    letter-spacing: 1px;
}

.star.filled {
    color: #b39b59;
}

.star.empty {
    color: #c9c8bf;
}

.property-tagline {
    max-width: 650px;
    margin: 0 0 9px;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -.25px;
}

.property-description {
    max-width: 650px;
    color: #65716e;
    font-size: 9px;
    line-height: 1.7;
}

.property-description p {
    margin: 0 0 10px;
}

/* -----------------------------
   STATS
   ----------------------------- */

.property-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--gulf-line);
    /*border-bottom: 1px solid var(--gulf-line);*/
    margin: 28px 0 42px;
}

.stat-item {
    min-height: 65px;
    padding: 17px 10px 14px 0;
    /*border-right: 1px solid var(--gulf-line);*/
}

.stat-item + .stat-item {
    padding-left: 18px;
}

.stat-item:last-child {
    border-right: 0;
}

.stat-value {
    display: block;
    margin-bottom: 5px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    line-height: 1;
}

.stat-label {
    display: block;
    color: #788783;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* -----------------------------
   CONTENT SECTIONS
   ----------------------------- */

.section-block {
    margin: 0 0 48px;
}

.section-heading {
    max-width: 600px;
    margin: 0 0 30px;
    font-size: clamp(28px, 3.2vw, 37px);
    line-height: 1.03;
    letter-spacing: -1px;
}

.section-intro {
    max-width: 650px;
    margin: 0 0 22px;
    color: #697572;
    font-size: 16px;
    line-height: 1.7;
}

/* Amenities */

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /*border-top: 1px solid var(--gulf-line);*/
        row-gap: 20px;
    column-gap: 30px;
}

.amenity-item {
    padding: 9px 12px 9px 0;
    border-bottom: 1px solid var(--gulf-line);
    color: #5f6d69;
    font-size: 14px;
}

.amenity-dot {
    margin-right: 6px;
    color: #8ca49f;
}

.extra-amenities-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 22px;
}

.extra-amenity-block h4 {
    margin: 0 0 5px;
    color: var(--gulf-ink);
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    font-family: 'DM Serif Display';
}



.detail-item h4 {
    margin: 0 0 5px;
    color: var(--gulf-ink);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    font-family: 'DM Serif Display';
}


.extra-amenity-block ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
}

.extra-amenity-block li {
    color: #6c7774;
    font-size: 14px;
    line-height: 1.7;
    width: 50%;
}

/* About / Location details */

.two-col-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 35px;
}

.detail-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--gulf-line);
}

.detail-item p {
    margin: 0;
    color: #6b7774;
    font-size: 14px;
    line-height: 1.6;
}

.location-info-box .detail-item {
    border-bottom: 0;
}

.location-info-box {
    padding: 16px 20px;
    margin: 20px 0 30px;
    background: var(--gulf-blue);
}

/* -----------------------------
   HOUSE RULES
   ----------------------------- */

.house-rules-list {
    border-top: 1px solid var(--gulf-line);
}

.house-rule-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gulf-line);
    font-size: 12px;
}

.rule-label {
    color: #687572;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.rule-value {
    color: var(--gulf-ink);
    text-align: right;
}

/* Additional House Rules content blocks */

.house-rules-content-blocks {
    margin-top: 28px;
    display: grid;
    gap: 24px;
}

.house-rules-content-block {
    padding: 22px 24px;
    border: 1px solid var(--gulf-line);
    background: rgba(255, 255, 255, .18);
}

.house-rules-content-heading {
    margin: 0 0 12px;
    color: var(--gulf-ink);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
}

.house-rules-content-description {
    color: #697572;
    font-size: 14px;
    line-height: 1.75;
}

.house-rules-content-description p { margin: 0 0 12px; }
.house-rules-content-description p:last-child { margin-bottom: 0; }
.house-rules-content-description ul,
.house-rules-content-description ol { margin: 10px 0 12px 20px; padding: 0; }
.house-rules-content-description li { margin-bottom: 6px; }
.house-rules-content-description a { color: var(--gulf-green); text-decoration: underline; }
.house-rules-content-description strong { color: var(--gulf-ink); }

/* -----------------------------
   TESTIMONIALS
   ----------------------------- */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.testimonial-card {
    min-height: 150px;
    padding: 20px;
    border: 1px solid var(--gulf-line);
    background: rgba(255,255,255,.12);
}

.testimonial-stars {
    margin-bottom: 13px;
    font-size: 14px;
    letter-spacing: 1px;
}

.testimonial-text {
    margin: 0 0 17px;
    color: #596763;
    font-size: 16px;
    line-height: 1.65;
}

.testimonial-author {
    color: #74827e;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

/* -----------------------------
   STICKY BOOKING BOX
   ----------------------------- */

.booking-box {
    position: sticky;
    top: 95px;
    padding: 20px;
    background: #faf9f3;
    box-shadow: 0 14px 32px rgba(24, 45, 43, .16);
}

.booking-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 3px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--gulf-line);
}

.from-label {
    width: 100%;
    color: #7a8c87;
    font-size: 14   px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-value {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    line-height: 1;
    color: var(--gulf-ink);
}

.price-unit {
    color: #7b8582;
    font-size: 14px;
}

.booking-min-stay {
    padding: 10px 0 20px;
    color: #74837f;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.booking-form {
    margin: 0;
}

.booking-field {
    margin-bottom: 11px;
}

.booking-field label {
    display: block;
    margin-bottom: 5px;
    color: #73817e;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    min-height: 45px;
    padding: 7px 9px;
    border: 1px solid #dddcd4;
    border-radius: 0;
    outline: none;
    background: transparent;
    color: var(--gulf-ink);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 15px;
    box-shadow: none;
}

.booking-field textarea {
    min-height: 58px;
    resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    border-color: #80938e;
}

.booking-submit-btn {
    width: 100%;
    min-height: 45px;
    margin-top: 4px;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--gulf-green);
    color: #fff;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background .25s ease;
}

.booking-submit-btn:hover {
    background: var(--gulf-green-dark);
}

.booking-save-btn {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #dddcd4;
    border-radius: 999px;
    background: transparent;
    color: #66736f;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
    cursor: pointer;
}

.booking-save-btn:hover {
    background-color: #06383d;
}

.booking-note {
    margin-top: 10px;
    color: #9a9d97;
    text-align: center;
    font-size: 12px;
}

/* -----------------------------
   BOOKING SUCCESS
   ----------------------------- */

.booking-success-msg {
    margin-bottom: 14px;
    padding: 10px;
    background: #dcebed;
    color: #285055;
    font-size: 12px;
    line-height: 1.5;
}

/* -----------------------------
   LIGHTBOX
   ----------------------------- */

.gulf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(4, 28, 31, .94);
}

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

.lightbox-img {
    max-width: min(1100px, 90vw);
    max-height: 82vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 2;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.lightbox-close {
    top: 22px;
    right: 28px;
    font-size: 32px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 34px;
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

.lightbox-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
}

/* -----------------------------
   RELATED PROPERTIES
   ----------------------------- */

.related-properties-wrapper {
    padding: 70px 0 82px;
    background: #DDE7EB;
    color: var(--gulf-ink);
    font-family: "Poppins", Arial, sans-serif;
}

.related-properties-wrapper .section-heading {
    margin-bottom: 28px;
}

.related-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.related-property-card {
    min-width: 0;
}

.related-card-img {
    display: block;
    height: 300px;
    overflow: hidden;
    background: #ccc;
}

.related-card-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.related-card-img:hover img {
    transform: scale(1.025);
}

.related-card-body {
    padding-top: 13px;
}

.related-card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.related-card-head h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
}

.related-card-head h3 a {
    color: var(--gulf-ink);
    text-decoration: none;
}

.related-card-head > span {
    flex-shrink: 0;
    color: #71807c;
    font-size: 12px;
    text-transform: uppercase;
}

.related-location {
    margin-top: 4px;
    color: #768580;
    font-size: 14px;
}

.related-meta,
.related-rating,
.related-night-min {
    margin-top: 6px;
    color: #74827e;
    font-size: 14px;
}

.related-rating .star {
    font-size: 14px;
}

.related-night-min {
    margin-bottom: 15px;
}

/* -----------------------------
   RESPONSIVE
   ----------------------------- */

@media (max-width: 900px) {
    .property-detail-wrapper {
        padding-top: 40px;
    }

    .property-detail-row {
        grid-template-columns: minmax(0, 1fr) 230px;
        gap: 35px;
    }

    .property-gallery-section {
        height: 300px;
    }

    .related-card-img {
        height: 150px;
    }
}

@media (max-width: 767px) {
    .property-detail-wrapper {
        padding: 30px 0 55px;
    }

    .property-detail-wrapper .container,
    .related-properties-wrapper .container {
        width: min(100% - 30px, 620px);
    }

    .property-gallery-section {
        grid-template-columns: 1fr;
        height: auto;
        gap: 5px;
    }

    .gallery-main {
        height: 260px;
    }

    .gallery-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 130px;
    }

    .gallery-actions {
        margin-bottom: 28px;
        flex-wrap: wrap;
    }

    .property-detail-row {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .property-detail-title {
        font-size: 34px;
    }

    .property-tagline {
        font-size: 16px;
    }

    .property-detail-right {
        order: -1;
    }

    .booking-box {
        position: relative;
        top: auto;
    }

    .property-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid var(--gulf-line);
    }

    .amenities-grid,
    .extra-amenities-blocks,
    .two-col-detail-grid,
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .related-properties-wrapper {
        padding: 50px 0 60px;
    }

    .related-properties-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .related-card-img {
        height: 210px;
    }
}

@media (max-width: 520px) {
    .house-rules-content-block { padding: 18px; }
    .house-rules-content-heading { font-size: 21px; }
    .property-gallery-section {
        grid-template-columns: 1fr;
    }

    .gallery-side {
        grid-template-columns: 1fr 1fr;
    }

    .property-detail-title {
        font-size: 31px;
    }

    .section-heading {
        font-size: 28px;
    }

    .amenities-grid,
    .extra-amenities-blocks,
    .two-col-detail-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .house-rule-row {
        gap: 15px;
    }

    .related-card-head {
        display: block;
    }

    .related-card-head > span {
        display: block;
        margin-top: 5px;
    }
}
