/* ==========================================================
   showroom — PAGE STYLES
   ========================================================== */

.showroom-page,
.showroom-page button,
.showroom-page a {
    font-family: inherit;
}

.showroom-page {
    --hotel-dark: #1b263b;
    --hotel-muted: #8993a3;

    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    overflow: hidden;
}

.showroom-content {
    width: min(1080px, calc(100% - 56px));
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   HERO
   ========================================================== */

.showroom-hero {
    position: relative;
    width: 100%;
    height: 430px;
    padding: 0;
    margin: 60px 0 0;
    background: #ffffff;
}

.showroom-hero-box {
    position: relative;
    width: min(1080px, calc(100% - 56px));
    height: 430px;
    margin-left: auto;
    margin-right: auto;
}

.showroom-hero-gradient {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 76px;
    width: 88%;
    height: 282px;
    background: #0a3776;
}

.showroom-hero-media {
    position: absolute;
    z-index: 5;
    left: 0;
    top: 0;
    width: 430px;
    height: 250px;
    overflow: hidden;
    background: #e9edf2;
    box-shadow: 0 12px 27px rgba(22, 39, 65, 0.17);
}

.showroom-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showroom-hero-copy {
    position: absolute;
    z-index: 4;
    left: 35%;
    bottom: 34px;
    width: 56%;
    color: #ffffff;
}

.showroom-hero-copy .eyebrow {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.showroom-hero-copy h1 {
    margin: 0 0 9px;
    padding: 0;
    color: #ffffff;
    font-size: 36px;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -.02em;
}

.showroom-hero-copy p {
    width: 100%;
    max-width: 570px;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 400;
}


/* ==========================================================
   RESOURCES (3 TEXT COLUMNS)
   ========================================================== */

.showroom-resources {
    width: 100%;
    padding: 74px 0 70px;
    background: #ffffff;
}

.section-intro {
    margin-bottom: 48px;
    text-align: center;
}

.small-kicker {
    display: block;
    margin-bottom: 9px;
    color: #1659a8;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 30px;
    align-items: stretch;
}

.resource-item {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    min-height: 180px;
    box-sizing: border-box;
}

.resource-content {
    min-width: 0;
    width: 100%;
}

.resource-content p {
    margin: 0;
    padding: 0;
    color: var(--hotel-muted);
    font-size: 15px;
    line-height: 1.65;
}


/* ==========================================================
   VIDEO + TEXT
   ========================================================== */

.showroom-message {
    width: 100%;
    padding: 70px 0 80px;
    background: #ffffff;
}

.showroom-video-content {
    width: min(1080px, calc(100% - 56px));
    margin-left: auto;
    margin-right: auto;
}

.showroom-video-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #111827;
    border-radius: 2px;
    box-shadow: 0 12px 30px rgba(30, 48, 75, .10);
}

.showroom-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111827;
}

.showroom-video-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.showroom-video-placeholder[hidden] {
    display: none;
}

.showroom-video-text {
    width: 54%;
    margin-left: auto;
    margin-top: 34px;
    text-align: left;
}

.showroom-video-text .small-kicker {
    margin-bottom: 9px;
}

.showroom-video-text p {
    max-width: 590px;
    margin: 0;
    padding: 0;
    color: var(--hotel-muted);
    font-size: 15px;
    line-height: 1.75;
}


/* ==========================================================
   DYNAMIC IMAGE + TEXT SLIDER
   ========================================================== */

.showroom-features {
    width: 100%;
    padding: 28px 0 90px;
    background: #ffffff;
}

.feature-slider {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
}

.feature-card {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: transparent;
    opacity: 0;
    transform: translateX(115%);
    transition:
        transform .75s cubic-bezier(.22, .61, .36, 1),
        opacity .75s ease;
    pointer-events: none;
}

.feature-card.is-active {
    z-index: 3;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.feature-card.is-previous {
    z-index: 2;
    opacity: 1;
    transform: translateX(-115%);
    pointer-events: none;
}

.feature-image {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 68%;
    height: 100%;
    overflow: hidden;
    background: #edf0f5;
}

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

.feature-body {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 50%;
    width: 51%;
    min-height: 235px;
    box-sizing: border-box;
    padding: 46px 52px 46px 0;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .90);
}

.feature-body::after {
    content: "";
    position: absolute;
    top: 0;
    right: -70px;
    bottom: 0;
    width: 70px;
    background: rgba(255, 255, 255, .90);
}

.feature-body h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 13px;
    color: var(--hotel-dark);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
}

.feature-body p {
    position: relative;
    z-index: 2;
    max-width: 470px;
    margin: 0;
    padding: 0;
    color: var(--hotel-muted);
    font-size: 15px;
    line-height: 1.75;
    font-weight: 400;
}


/* ==========================================================
   TABLET — 900px
   ========================================================== */

@media (max-width: 900px) {

    .showroom-hero {
        height: 440px;
    }

    .showroom-hero-box {
        width: calc(100% - 40px);
        height: 440px;
    }

    .showroom-hero-gradient {
        top: 82px;
        width: 88%;
        height: 300px;
    }

    .showroom-hero-media {
        width: 390px;
        height: 228px;
    }

    .showroom-hero-copy {
        left: 28%;
        bottom: 35px;
        width: 58%;
    }

    .showroom-hero-copy h1 {
        font-size: 32px;
    }

    .showroom-content {
        width: calc(100% - 40px);
    }

    .resource-grid {
        column-gap: 28px;
    }

    .showroom-video-content {
        width: calc(100% - 40px);
    }

    .showroom-video-wrapper {
        height: 360px;
    }

    .showroom-video-text {
        width: 62%;
        margin-top: 30px;
    }

    .feature-slider {
        height: 390px;
    }

    .feature-image {
        width: 72%;
    }

    .feature-body {
        width: 53%;
        min-height: 215px;
        padding: 38px 42px 38px 0;
    }

    .feature-body::after {
        right: -55px;
        width: 55px;
    }
}


/* ==========================================================
   TABLET / SMALL — 700px
   ========================================================== */

@media (max-width: 700px) {

    .showroom-hero {
        height: 500px;
        margin-top: 40px;
    }

    .showroom-hero-box {
        width: calc(100% - 32px);
        height: 500px;
    }

    .showroom-hero-gradient {
        top: 105px;
        width: 91%;
        height: 340px;
    }

    .showroom-hero-media {
        left: 0;
        top: 0;
        width: 67%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .showroom-hero-copy {
        left: 12%;
        bottom: 35px;
        width: 76%;
    }

    .showroom-hero-copy h1 {
        font-size: 36px;
    }

    .resource-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .resource-item {
        width: min(500px, 100%);
        min-height: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .showroom-message {
        padding: 55px 0 65px;
    }

    .showroom-video-content {
        width: calc(100% - 32px);
    }

    .showroom-video-wrapper {
        height: 300px;
    }

    .showroom-video-text {
        width: 100%;
        margin-top: 28px;
    }

    .showroom-features {
        padding: 18px 0 70px;
    }

    .feature-slider {
        height: 520px;
    }

    .feature-image {
        top: 0;
        right: 0;
        width: 88%;
        height: 325px;
    }

    .feature-body {
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        width: 76%;
        min-height: 235px;
        padding: 34px 30px 34px 0;
        transform: none;
    }

    .feature-body::after {
        right: -38px;
        width: 38px;
    }
}


/* ==========================================================
   MOBILE — 500px
   ========================================================== */

@media (max-width: 500px) {

    .showroom-hero {
        height: 475px;
        margin-top: 30px;
    }

    .showroom-hero-box {
        width: calc(100% - 24px);
        height: 475px;
    }

    .showroom-hero-gradient {
        top: 108px;
        right: 0;
        width: 92%;
        height: 325px;
    }

    .showroom-hero-media {
        left: 0;
        top: 14px;
        width: 73%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .showroom-hero-copy {
        left: 13%;
        bottom: 30px;
        width: 73%;
    }

    .showroom-hero-copy .eyebrow {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .showroom-hero-copy h1 {
        margin-bottom: 8px;
        font-size: 30px;
    }

    .showroom-hero-copy p {
        font-size: 15px;
        line-height: 1.65;
    }

    .showroom-content {
        width: calc(100% - 30px);
    }

    .showroom-resources {
        padding: 60px 0 48px;
    }

    .section-intro {
        margin-bottom: 38px;
    }

    .showroom-message {
        padding: 48px 0 52px;
    }

    .showroom-video-content {
        width: calc(100% - 30px);
    }

    .showroom-video-wrapper {
        height: 220px;
    }

    .showroom-video-text {
        margin-top: 24px;
    }

    .showroom-features {
        padding: 8px 0 60px;
    }

    .feature-slider {
        height: 500px;
    }

    .feature-image {
        width: 92%;
        height: 295px;
    }

    .feature-body {
        width: 84%;
        min-height: 225px;
        padding: 30px 22px 30px 0;
    }

    .feature-body::after {
        right: -28px;
        width: 28px;
    }
}


/* ==========================================================
   VERY SMALL MOBILE — 360px
   ========================================================== */

@media (max-width: 360px) {

    .showroom-hero {
        height: 455px;
    }

    .showroom-hero-box {
        height: 455px;
    }

    .showroom-hero-gradient {
        top: 103px;
        height: 315px;
    }

    .showroom-hero-media {
        top: 12px;
        width: 76%;
    }

    .showroom-hero-copy {
        bottom: 28px;
        left: 12%;
        width: 76%;
    }

    .showroom-hero-copy h1 {
        font-size: 24px;
    }

    .showroom-hero-copy p {
        font-size: 13px;
    }

    .feature-slider {
        height: 475px;
    }

    .feature-image {
        width: 94%;
        height: 275px;
    }

    .feature-body {
        width: 87%;
        min-height: 215px;
        padding: 27px 20px 27px 0;
    }
}
