
.header--overlay.no-trans {
    transition: none !important
}

:root {
    --header-h: 72px;
    --vh: 1vh;
    --accent: #BF9948;
}

.header {
    z-index: 1000;
    transition: background-color .25s, backdrop-filter .25s, box-shadow .25s
}


#header-spacer {
    height: var(--header-h)
}

.navx-shell {
    display: none
}

@media (max-width: 768px) {
    .navx-shell {
        display: inline-flex
    }

    .header__navbar {
        display: none
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

/* ===== HERO ===== */
.luxury-hero {
    position: relative;
    height: calc(var(--vh) * 100);
    min-height: calc(var(--vh) * 100);
    padding-top: var(--header-h);
    overflow: hidden;
    background: #0f0f0f
}

.luxury-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: contrast(1.05) saturate(1.03) brightness(.55)
}

.luxury-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, .36) 100%);
    pointer-events: none;
}

.luxury-wrap {
    position: relative;
    z-index: 3;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding-block: 40px
}

.lux-left {
    width: 80%;
    color: #fff
}

.lux-left h1 {
    font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 800;
    line-height: 1.06;
    font-size: clamp(28px, 3.2vw, 44px);
    margin-bottom: 12px;
    letter-spacing: .15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35)
}

.lux-left .desc {
    font-size: clamp(17px, 1.05vw, 20px);
    line-height: 1.75;
    color: rgba(255, 255, 255, .92);
    max-width: 60ch;
    padding-bottom: 70px
}

/* ===== CAROUSEL ===== */
.rooms {
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px
}

.rooms-viewport {
    width: clamp(320px, 48vw, 720px);
    aspect-ratio: 16/10;
    position: relative;
    overflow: visible;
    background: transparent;
    border: 0;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d
}

.room-slide {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    transform-origin: 52% center;
    backface-visibility: hidden;
    box-shadow: none;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1), opacity .38s ease, filter .38s ease;
    will-change: transform, opacity, filter
}

.room-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.room-slide::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 72px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .55) 100%);
    pointer-events: none;
    opacity: .45;
    z-index: 0
}

.room-slide.is-active::after {
    opacity: .35
}

/* caption */
.room-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    z-index: 3;
    isolation: isolate;
}

.room-caption::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 48%, rgba(0, 0, 0, .80) 100%)
}

.room-caption > * {
    position: relative;
    z-index: 1
}

.cap-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-items: start;
}

.cap-label {
    font-weight: 500;
    font-size: 17px;
    letter-spacing: .08em;
    color: #BF9948;
    filter: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(974%) hue-rotate(342deg) brightness(96%) contrast(93%) drop-shadow(0 1px 2px rgba(0, 0, 0, .35))
}

.cap-title {
    font-weight: 600;
    font-size: clamp(18px, 1.6vw, 26px);
    line-height: 1.15;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(58vw, 560px)
}

.cap-video {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
    color: #fff;
    opacity: 1 !important
}

.cap-video[aria-disabled="true"] {
    opacity: .6;
    pointer-events: none
}

.cap-video-text {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    margin-right: 30px;
    white-space: nowrap
}

.play-icon-img {
    width: 24px;
    height: 24px;
    display: block;
    flex: 0 0 auto;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
    transition: transform .2s ease
}

.cap-video:hover .play-icon-img {
    transform: translateY(-1px)
}

.play-icon-img.accent {
    height: 35px;
    width: 35px;
    left: 138px;
    top: -3px;
    filter: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(974%) hue-rotate(342deg) brightness(96%) contrast(93%) drop-shadow(0 1px 2px rgba(0, 0, 0, .35))
}

.room-slide:not(.is-active) .cap-video {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease
}

.room-slide.is-active .cap-video {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.rooms-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center
}

.rooms-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s
}

.rooms-btn:hover {
    background: #BF9948;
    color: #2a2a2a;
    transform: translateY(-1px)
}

.nav-link:focus, .nav-link:hover {
    filter: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(974%) hue-rotate(342deg) brightness(96%) contrast(93%) drop-shadow(0 1px 2px rgba(0, 0, 0, .35))
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .luxury-wrap {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        gap: 32px;
        padding-block: 40px 50px;
    }

    .lux-left,
    .rooms {
        width: 100%;
        text-align: center;
    }

    .lux-left {
        margin-top: 10px;
    }

    .lux-left h1 {
        font-size: clamp(26px, 4vw, 38px);
    }

    .lux-left .desc {
        font-size: 16px;
        line-height: 1.6;
        max-width: 80%;
        margin: 0 auto;
        padding-bottom: 30px;
    }

    .rooms-viewport {
        width: min(88vw, 560px);
        aspect-ratio: 4/3;
    }

    .room-caption {
        padding: 14px;
        gap: 12px;
    }

    .cap-title {
        max-width: 80vw;
        font-size: 20px;
        white-space: normal;
        text-overflow: unset;
    }

    .cap-video-text {
        font-size: 15px;
        margin-right: 12px;
    }
}

@media (max-width: 576px) {
    .room-slide {
        position: absolute;
        inset: 0;
        transform: none !important;
        opacity: 0;
        pointer-events: none;
        z-index: 1;
    }

    .room-slide.is-active {
        opacity: 1;
        pointer-events: auto;
        z-index: 10;
    }

    /* Hide background “book” look completely */
    .room-slide:not(.is-active) {
        display: none !important;
    }

    /* Make sure navigation buttons stay visible */
    .rooms-nav {
        position: relative;
        z-index: 20;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .luxury-hero {
        height: auto;
        min-height: unset;
        overflow: visible;
        padding-bottom: 20px;
    }

    .luxury-wrap {
        height: auto;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-block: 30px 40px;
    }

    .lux-left .desc {
        max-width: 95%;
        padding-bottom: 20px;
    }

    .rooms {
        gap: 10px;
    }

    .rooms-viewport {
        width: 92vw;
        aspect-ratio: 3/4;
        overflow: visible;
    }

    .room-slide::after {
        width: 50px;
    }

    .rooms-btn {
        width: 42px;
        height: 42px;
    }

    .play-icon-img.accent {
        top: -7px !important;
        left: 130px !important;
    }

    .room-caption {
        align-items: end;
        gap: 8px;
        padding: 12px 14px;
    }

    .cap-label {
        font-size: 14px;
        letter-spacing: 0.05em;
    }

    .cap-title {
        font-size: 18px;
        max-width: 100%;
    }

    .cap-video {
        margin-top: 4px;
    }

    .cap-video-text {
        font-size: 14px;
        margin-right: 41px;
    }

    .play-icon-img {
        width: 22px;
        height: 22px;
    }
}

/* ===== Simple video modal ===== */
.vmodal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(0, 0, 0, .6);
    z-index: 9999;
    padding: 24px
}

.vmodal.is-open {
    display: grid
}

.vmodal__box {
    position: relative;
    width: min(92vw, 1000px);
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45)
}

.vmodal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    background: rgba(0, 0, 0, .5);
    border: 0;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 40px;
    text-align: center
}
/* ===== Header (final stable version) ===== */
.header {
    z-index: 1000;
}


.header--overlay.is-solid {
    background: rgba(15, 15, 16, .88);
    backdrop-filter: saturate(140%) blur(6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

/* spacer to avoid content jump */
#header-spacer {
    height: var(--header-h);
}

.vmodal__frame, .vmodal__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block
}

.header--overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition:
            background-color .4s ease,
            backdrop-filter .4s ease,
            box-shadow .4s ease,
            transform .35s ease;
    will-change: background-color, backdrop-filter, box-shadow, transform;
    transform: translateY(0);
}

/* Solid state after scrolling past hero */
.header--overlay.is-solid {
    background: rgba(15, 15, 16, .88);
    backdrop-filter: saturate(140%) blur(6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

/* Hidden while scrolling down */
.header--overlay.is-hidden {
    transform: translateY(-100%);
}

/* Spacer (to prevent layout jump) */
#header-spacer {
    height: var(--header-h);
}

