/* Luxury Slider Section */
.luxury-slider-section {
    position: relative;
    width: 100%;
    min-height: var(--ls-min-height);
    height: var(--ls-min-height);
    overflow: hidden;
    color: var(--ls-text);
    isolation: isolate;
    background: #0f0f0f;
}

.luxury-slider-fullscreen {
    min-height: 100vh;
    height: 100vh;
}

.ls-bg-stack,
.ls-bg-slide,
.ls-bg-slide img,
.ls-overlay {
    position: absolute;
    inset: 0;
}

.ls-bg-stack {
    z-index: 0;
}

.ls-bg-slide {
    opacity: 0;
    transform: scale(1.035);
    transition: opacity var(--ls-speed) ease, transform calc(var(--ls-speed) + 900ms) ease;
}

.ls-bg-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.ls-bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.92) brightness(.82);
}

.ls-overlay {
    z-index: 2;
    background:
        radial-gradient(circle at 50% 44%, rgba(0,0,0,.08), rgba(0,0,0,.48) 62%, rgba(0,0,0,.72) 100%),
        var(--ls-overlay);
}

.ls-content {
    position: absolute;
    z-index: 5;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(760px, calc(100% - 48px));
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ls-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    /* margin-bottom: 18px; */
}

.ls-logo-wrap img {
    width: var(--ls-logo-width, 220px);
    height: var(--ls-logo-height, -10px);
    max-width: min(var(--ls-logo-width, 220px), calc(100vw - 48px));
    object-fit: contain;
    display: block;
}

.ls-logo-symbol {
    color: var(--ls-accent);
    font-size: 26px;
    line-height: 1;
}

.ls-logo-text {
    color: var(--ls-text);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 800;
    opacity: .82;
}

.ls-eyebrow {
    color: var(--ls-accent);
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
}

.ls-content h2 {
    margin: 0;
    color: var(--ls-text);
    font-family: var(--lumana-header-font);
    font-size: clamp(42px, 5.3vw, 86px);
    line-height: .94;
    font-weight: 400;
    text-shadow: 0 18px 50px rgba(0,0,0,.32);
}

.ls-content h1 span {
    display: block;
}

.ls-title-line-2 {
    margin-top: 8px;
}

.ls-subtitle {
    max-width: 640px;
    margin: 18px auto 0;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.65;
}

.ls-cta {
    margin-top: 22px;
    min-width: 130px;
    height: 42px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.38);
    color: var(--ls-text);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 900;
    text-transform: uppercase;
    background: rgba(0,0,0,.18);
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.ls-cta:hover {
    background: var(--ls-accent);
    border-color: var(--ls-accent);
    color: #111;
}

.ls-thumbs {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 92px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
}

.ls-thumb {
    width: 76px;
    height: 76px;
    padding: 0;
    border: 2px solid rgba(255,255,255,.36);
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,.12);
    cursor: pointer;
    opacity: .78;
    transform: scale(.92);
    transition: opacity .25s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ls-thumb.is-active {
    opacity: 1;
    transform: scale(1.08);
    border-color: var(--ls-accent);
    box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 14px 34px rgba(0,0,0,.35);
}

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

.ls-wave-wrap {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    height: 150px;
    pointer-events: none;
    opacity: .96;
}

.ls-wave-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
}

.luxury-slider-section.is-changing .ls-content {
    animation: lsContentPulse .72s ease both;
}

@keyframes lsContentPulse {
    0% { opacity: .78; transform: translate(-50%, -48%); }
    100% { opacity: 1; transform: translate(-50%, -50%); }
}

@media (max-width: 900px) {
    .ls-content {
        top: 38%;
    }

    .ls-thumbs {
        bottom: 230px;
        gap: 12px;
    }

    .ls-thumb {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 640px) {
    .luxury-slider-section,
    .luxury-slider-fullscreen {
        min-height: 760px;
        height: 760px;
    }

    .ls-content {
        top: 35%;
    }

    .ls-content h1 {
        font-size: 12px;
    }

    .ls-thumbs {
        bottom: 150px;
        max-width: calc(100% - 32px);
        overflow-x: auto;
        padding: 20px;
        scrollbar-width: none;
    }

    .ls-thumbs::-webkit-scrollbar {
        display: none;
    }

    .ls-thumb {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
    }
}


/* Slider bottom static color area below/behind the wave */
.ls-bottom-static-color {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--ls-bottom-h, 92px);
    background: var(--ls-bottom-bg, #050505);
    pointer-events: none;
}

.ls-wave-wrap {
    z-index: 4;
}

.ls-thumbs {
    z-index: 6;
}


/* Final fix: bottom color follows the wave curve instead of a straight rectangle */
.ls-bottom-static-color {
    display: none !important;
}

.ls-wave-wrap {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--ls-bottom-h, 140px);
    pointer-events: none;
    opacity: .96;
}

.ls-wave-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ls-wave-fill {
    fill: var(--ls-bottom-bg, #050505);
}

.ls-wave-line {
    fill: none;
    stroke: var(--ls-wave);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Final position fix: move wave + curved bottom color slightly upward */
.ls-wave-wrap {
    bottom: 38px !important;
    height: var(--ls-bottom-h, 140px) !important;
}

.ls-wave-fill {
    fill: var(--ls-bottom-bg, #050505) !important;
}

.ls-wave-line {
    stroke: var(--ls-wave) !important;
}

/* This covers the small area below the lifted wave with the same bottom color */
.luxury-slider-section::after {
    content: "";
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42px;
    background: var(--ls-bottom-bg, #050505);
    pointer-events: none;
}

/* Keep thumbnails and wave above the filled base */
.ls-thumbs {
    z-index: 7 !important;
}

.ls-wave-wrap {
    z-index: 5 !important;
}
