/* ============================================
   Homepage hero — full-bleed room scene (Plan A)
   ============================================ */

.content-wrapper {
    background-color: transparent;
    position: relative;
    z-index: 1;
    padding: 10px 0 10px;
}

.content-wrapper:has(.hero-slider-section) {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.content-wrapper > .hero-slider-section:first-child {
    margin-top: 0 !important;
}

.hero-slider-section,
.hero-slider-section.hero-fullbleed {
    position: relative;
    margin-top: 0 !important;
    margin-bottom: 0;
    background-color: #1a1816;
    width: 100%;
    height: clamp(420px, 62vh, 640px) !important;
    min-height: clamp(420px, 62vh, 640px) !important;
    max-height: none !important;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Full-bleed slide layout */
.slide-fullbleed {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1a1816;
}

.slide-fullbleed__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide-fullbleed__media picture,
.slide-fullbleed__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Left-to-right readability scrim — keeps mural visible on the right */
.slide-fullbleed__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(12, 11, 10, 0.78) 0%,
            rgba(12, 11, 10, 0.55) 38%,
            rgba(12, 11, 10, 0.18) 62%,
            rgba(12, 11, 10, 0.05) 100%
        ),
        linear-gradient(
            180deg,
            rgba(12, 11, 10, 0.2) 0%,
            transparent 35%,
            transparent 70%,
            rgba(12, 11, 10, 0.28) 100%
        );
}

.slide-fullbleed__content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: clamp(32px, 6vw, 72px) clamp(24px, 5vw, 80px);
    color: #fff;
}

.slide-brand {
    margin: 0 0 12px;
    font-family: "Sofia Sans Condensed", "Open Sans", sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #fff;
    line-height: 1.15;
}

.slide-fullbleed__title,
.slide-fullbleed__content h1.slide-fullbleed__title {
    margin: 0 0 14px;
    font-family: "Sofia Sans Condensed", "Open Sans", sans-serif;
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0.01em;
    color: #fff !important;
    text-transform: none !important;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    max-width: 16ch;
}

.slide-subtitle {
    margin: 0 0 22px;
    max-width: 34rem;
    font-family: "Open Sans", sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9) !important;
}

.slide-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 22px;
    margin-top: 4px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    background: #fff !important;
    border: 1px solid #fff !important;
    color: #111 !important;
    font-family: "Open Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-hero-primary:hover {
    background: transparent !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.slide-text-link {
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.slide-text-link:hover {
    opacity: 1;
    color: #fff;
}

/* Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.25rem;
    padding: 16px;
    cursor: pointer;
    transition: opacity 0.3s;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.slider-controls:hover {
    opacity: 0.7;
}

.slider-prev {
    left: 12px;
}

.slider-next {
    right: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.dot.active {
    background-color: #fff;
    border-color: #fff;
    transform: scale(1.15);
}

/* Legacy selectors neutralized (old circle layout) */
.slide-wood-bg,
.slide-vine-left,
.slide-content-right,
.slide-image-circle {
    display: none !important;
}

@media (max-width: 991.98px) {
    .hero-slider-section,
    .hero-slider-section.hero-fullbleed {
        height: clamp(460px, 70vh, 580px) !important;
        min-height: clamp(460px, 70vh, 580px) !important;
    }

    .slide-fullbleed__scrim {
        background:
            linear-gradient(
                180deg,
                rgba(12, 11, 10, 0.55) 0%,
                rgba(12, 11, 10, 0.35) 45%,
                rgba(12, 11, 10, 0.62) 100%
            );
    }

    .slide-fullbleed__content {
        max-width: 100%;
        justify-content: flex-end;
        padding-bottom: 56px;
    }

    .slide-fullbleed__title,
    .slide-fullbleed__content h1.slide-fullbleed__title {
        max-width: 18ch;
    }

    .slider-prev {
        left: 4px;
    }

    .slider-next {
        right: 4px;
    }
}

@media (max-width: 575.98px) {
    .slide-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .btn-hero-primary {
        width: 100%;
        max-width: 280px;
    }

    .slider-controls {
        font-size: 1.75rem;
        padding: 10px;
    }
}
