/* =========================================================
   REQUEST A SHOWING
========================================================= */

.showing-container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.showing-hero {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            rgba(17, 48, 82, 0.60),
            rgba(17, 48, 82, 0.60)
        ),
        url("../images/hero/showing-hero.jpg")
        center / cover no-repeat;

    text-align: center;
    color: #ffffff;
}

.showing-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 42, 72, 0.10);
}

.showing-hero-content {
    position: relative;
    z-index: 2;

    width: min(850px, 90%);
    margin: 0 auto;

    padding: 90px 0 70px;
}

.showing-hero .section-eyebrow {
    color: #d5a54a;
}

.showing-hero h1 {
    margin: 18px 0 22px;

    color: #ffffff;

    font-family: var(--heading-font);
    font-size: clamp(3.5rem, 6vw, 5.8rem);
    font-weight: 500;
    line-height: 0.98;
}

.showing-hero p {
    max-width: 680px;
    margin: 0 auto;

    color: rgba(255,255,255,0.92);

    font-size: 1.08rem;
    line-height: 1.8;
}


/* =========================================================
   FORM SECTION
========================================================= */

.showing-section {
    padding: 105px 0 100px;
    background: #f5f7f9;
}

.showing-heading {
    max-width: 760px;
    margin: 0 auto 55px;

    text-align: center;
}

.showing-heading h2 {
    margin: 15px 0 18px;

    color: var(--text);

    font-family: var(--heading-font);
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 500;
    line-height: 1.05;
}

.showing-heading p {
    margin: 0;

    color: var(--text-light);
    line-height: 1.8;
}


/* =========================================================
   TWO COLUMN LAYOUT
========================================================= */

.showing-layout {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.72fr)
        minmax(0, 1.28fr);

    gap: 30px;

    align-items: start;
}


/* =========================================================
   PROPERTY CARD
========================================================= */

.showing-property-card {
    background: #ffffff;

    border: 1px solid #e1e6eb;
    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(20, 45, 75, 0.07);

    position: sticky;
    top: 110px;
}

.showing-property-image {
    aspect-ratio: 16 / 10;
    background: #e8edf2;
    overflow: hidden;
}

.showing-property-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.showing-property-content {
    padding: 28px;
}

.showing-property-label {
    display: block;

    margin-bottom: 8px;

    color: #c99532;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.showing-property-content h3 {
    margin: 0 0 8px;

    color: var(--text);

    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.05;
}

.showing-property-content p {
    margin: 0 0 18px;

    color: var(--text-light);

    line-height: 1.6;
}

.showing-property-content strong {
    display: block;

    margin-bottom: 20px;

    color: var(--primary);

    font-size: 1.2rem;
}

.showing-view-property {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    color: var(--primary);

    font-size: 0.88rem;
    font-weight: 700;

    text-decoration: none;
}

.showing-view-property:hover {
    color: #c99532;
}


/* =========================================================
   FORM CARD
========================================================= */

.showing-form-card {
    padding: 45px;

    background: #ffffff;

    border: 1px solid #e1e6eb;
    border-radius: 10px;

    box-shadow:
        0 15px 40px rgba(20, 45, 75, 0.07);
}

.form-section {
    padding-bottom: 30px;
    margin-bottom: 30px;

    border-bottom: 1px solid #e1e6eb;
}

.form-section:last-of-type {
    margin-bottom: 25px;
}

.form-section h3 {
    margin: 0 0 22px;

    color: var(--primary);

    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 600;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #303942;

    font-size: 0.86rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #d9e0e6;
    border-radius: 6px;

    background: #ffffff;

    color: #303942;

    font-family: var(--body-font);
    font-size: 0.95rem;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
    height: 50px;
    padding: 0 14px;
}

.form-group textarea {
    min-height: 130px;
    padding: 14px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(30, 70, 120, 0.10);
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.showing-form-message {
    display: none;

    margin-bottom: 18px;
    padding: 13px 15px;

    border-radius: 6px;

    font-size: 0.88rem;
    line-height: 1.5;
}

.showing-form-message.show {
    display: block;
}

.showing-form-message.success {
    background: #edf7ef;
    color: #2d6a3b;
}

.showing-form-message.error {
    background: #fbeeee;
    color: #9a3535;
}


/* =========================================================
   SUBMIT
========================================================= */

.showing-submit {
    width: 100%;
    min-width: 0;
    border: 0;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.showing-form-note {
    margin: 15px 0 0;

    color: var(--text-light);

    font-size: 0.76rem;
    line-height: 1.65;

    text-align: center;
}


/* =========================================================
   WHAT HAPPENS NEXT
========================================================= */

.showing-next {
    padding: 100px 0;

    background: var(--primary);
    color: #ffffff;
}

.showing-next-content {
    max-width: 680px;
}

.showing-next .section-eyebrow {
    color: #d5a54a;
}

.showing-next h2 {
    margin: 15px 0 22px;

    color: #ffffff;

    font-family: var(--heading-font);
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 500;
    line-height: 1;
}

.showing-next p {
    max-width: 650px;

    margin: 0 0 30px;

    color: rgba(255,255,255,0.84);

    line-height: 1.8;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .showing-layout {
        grid-template-columns: 1fr;
    }

    .showing-property-card {
        position: static;
    }

}


@media (max-width: 650px) {

    .showing-hero {
        min-height: 480px;
    }

    .showing-hero-content {
        padding: 70px 0 55px;
    }

    .showing-hero h1 {
        font-size: 3rem;
    }

    .showing-section {
        padding: 75px 0;
    }

    .showing-form-card {
        padding: 30px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 18px;
    }

    .showing-property-content {
        padding: 24px;
    }

    .showing-next {
        padding: 75px 0;
    }

}