/* ================================================================
   HERO COMPONENT — 3 Reusable Types
   1. .hero--full   → Full viewport, bg image/video, overlay text
   2. .hero--split  → Two-column grid, image + content side by side
   3. .hero--half   → Half-screen height, bg image/video, overlay text
   ================================================================ */


/* ================================
   SHARED BASE
   ================================ */

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__media img,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}


/* ================================
   1. HERO FULL
   Full viewport, bg image/video, text at bottom-left
   ================================ */

.hero--full {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - var(--header-height));
}

.hero--full .hero__overlay {
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.10) 50%,
            rgba(0, 0, 0, 0.60) 100%);
}

/* Per-slide content layer */
.hero--full .hero__content-layer {
    position: relative;
    z-index: 3;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: var(--header-height);
}

.hero--full .hero__content-slide {
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 80px;
    text-align: left;
}

.hero--full .hero__content-slide.is-active {
    display: flex;
    width: 100%;
}

.hero--full .hero__title {
    font-family: 'Albert Sans', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 63px;
    color: #ffffff;
    margin: 0;
}

.hero--full .hero__title em {
    font-family: 'Libre Bodoni', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 68px;
    line-height: 63px;
}

.hero--full .hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 42px;
}

.hero--full .hero__actions .btn {
    background: #ffffff;
    color: #000000;
    padding: 0 26px;
    height: 52px;
    box-shadow: 0px 1px 4px rgba(24.73, 32.61, 60.56, 0.08);
}

.hero--full .hero__actions .btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ================================
   HERO FULL — Slider
   ================================ */

.hero__slider {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero__track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__slide {
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
}

.hero__slide img,
.hero__slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Navigation Arrows — wrapper keeps arrows inside hero */
.hero__nav-wrapper {
    position: absolute;
    z-index: 4;
    right: var(--site-padding-x, 160px);
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero__nav {
    width: 90px;
    height: 90px;
    border-radius: 1000px;
    border: none;
    background: transparent;
    outline: 0.5px solid rgba(241, 236, 231, 1);
    outline-offset: -0.5px;
    color: rgba(241, 236, 231, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.hero__nav:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero__nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.hero__nav svg {
    width: 19px;
    height: 19px;
}

.hero__nav--prev {
    order: 2;
}

/* Dots — bottom center */
.hero__dots {
    position: absolute;
    z-index: 4;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 15px;
}

@media (min-width: 1200px) {
    .hero__dots {
        display: flex;
    }
}

.hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.23);
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
}

.hero__dot.is-active {
    width: 20px;
    height: 20px;
    background: transparent;
    outline: 0.5px solid #ffffff;
    outline-offset: -0.5px;
}

.hero__dot.is-active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
}


/* ================================
   2. HERO SPLIT
   Two-column: content left, image right
   ================================ */

.hero--split {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
    background-color: #F1ECE7;
}

/* Split doesn't use absolute media/overlay — it's a grid layout */
.hero--split .hero__media,
.hero--split .hero__overlay {
    display: none;
}

.hero--split .hero__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    width: 100%;
}

.hero--split .hero__content {
    max-width: 100%;
}

.hero--split .hero__title {
    margin: 0 0 20px;
    font-family: 'Albert Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
}

.hero--split .hero__text {
    margin: 0 0 32px;
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
}

.hero--split .hero__text p {
    margin: 0 0 16px;
}

.hero--split .hero__text p:last-child {
    margin-bottom: 0;
}

.hero--split .hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero--split .hero__actions .btn {
    padding: 0 20px;
    font-size: 14px;
    height: 46px;
}

.hero--split .hero__actions .btn img,
.hero--split .hero__actions .btn svg {
    width: 16px;
    height: 16px;
}

.hero--split .hero__media-col {
    position: relative;
}

.hero--split .hero__media-col img {
    width: 100%;
    height: 67vh;
    display: block;
    object-fit: cover;
    object-position: center center;
}


/* ================================
   3. HERO HALF
   Half-screen height, bg image, text at bottom-left
   ================================ */

.hero--half {
    min-height: clamp(250px, 25vw, 400px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero--half .hero__overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.15) 100%);
}

.hero--half .hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-bottom: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero--half .hero__title {
    font-family: 'Albert Sans', sans-serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 88px;
    letter-spacing: 0;
    color: #ffffff;
    margin: 0;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

/* --- Desktop (1200px – 1439px) --- */
@media (min-width: 1200px) and (max-width: 1439px) {
    .hero--full {
        min-height: calc(100vh - var(--header-height));
    }
}

/* --- Wide screens (1200px – 1920px) --- */
@media (min-width: 1200px) and (max-width: 1920px) {
    .hero--split {
        padding: 40px 0;
    }
}

/* --- Small Laptop (1024px – 1199px) --- */
@media (min-width: 1024px) and (max-width: 1199px) {
    .hero--full .hero__content-slide {
        padding-bottom: 40px;
    }

    .hero--full .hero__content {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
    }

    .hero--full .hero__actions {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero--full .hero__title {
        font-size: 48px;
    }
}

/* --- Tablet (768px – 1023px) --- */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Full */
    .hero--full .hero__content-slide {
        padding-bottom: 36px;
    }

    .hero--full .hero__content {
        padding-bottom: 50px;
    }

    .hero--full .hero__title {
        font-size: 40px;
    }

    .hero--full .hero__title em {
        font-size: 56px;
        line-height: 52px;
    }

    .hero--full .hero__actions {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Nav arrows */
    .hero__nav-wrapper {
        right: 20px;
        bottom: 20px;
        gap: 6px;
    }

    .hero__nav {
        width: 60px;
        height: 60px;
    }

    .hero__nav svg {
        width: 15px;
        height: 15px;
    }

    /* Half */
    .hero--half {
        height: 340px;
    }

    .hero--half .hero__title {
        font-size: 40px;
    }
}

/* --- Large Mobile (480px – 767px) --- */
@media (min-width: 480px) and (max-width: 767px) {
    /* Full */
    .hero--full .hero__content-slide {
        padding-bottom: 30px;
    }

    .hero--full .hero__content {
        padding-bottom: 48px;
    }

    .hero--full .hero__title {
        font-size: 32px;
        line-height: 42px;
    }

    .hero--full .hero__title em {
        font-size: 46px;
        line-height: 42px;
    }

    .hero--full .hero__actions {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Split */
    .hero--split .hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero--split .hero__content {
        max-width: 100%;
        order: 0;
    }

    .hero--split .hero__media-col {
        order: 1;
    }

    .hero--split .hero__media-col img {
        min-height: 300px;
        max-height: 400px;
    }

    /* Nav arrows */
    .hero__nav-wrapper {
        right: 16px;
        bottom: 16px;
        gap: 6px;
    }

    .hero__nav {
        width: 50px;
        height: 50px;
    }

    .hero__nav svg {
        width: 13px;
        height: 13px;
    }

    /* Half */
    .hero--half {
        height: 300px;
    }

    .hero--half .hero__title {
        font-size: 36px;
    }
}

/* --- Medium Mobile (375px – 479px) --- */
@media (min-width: 375px) and (max-width: 479px) {
    /* Full */
    .hero--full .hero__content-slide {
        padding-bottom: 24px;
    }

    .hero--full .hero__content {
        padding-bottom: 40px;
    }

    .hero--full .hero__title {
        font-size: 28px;
        line-height: 36px;
    }

    .hero--full .hero__title em {
        font-size: 40px;
        line-height: 36px;
    }

    .hero--full .hero__actions {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Split */
    .hero--split .hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero--split .hero__content {
        max-width: 100%;
        order: 0;
    }

    .hero--split .hero__media-col {
        order: 1;
    }

    .hero--split .hero__media-col img {
        min-height: 280px;
        max-height: 380px;
    }

    .hero--split .hero__actions {
        flex-direction: row;
    }

    /* Nav arrows */
    .hero__nav-wrapper {
        right: 12px;
        bottom: 14px;
        gap: 5px;
    }

    .hero__nav {
        width: 44px;
        height: 44px;
    }

    .hero__nav svg {
        width: 12px;
        height: 12px;
    }

    /* Half */
    .hero--half {
        height: 260px;
    }

    .hero--half .hero__title {
        font-size: 22px;
    }
}

/* --- Small Mobile (< 375px) --- */
@media (max-width: 374px) {
    /* Full */
    .hero--full .hero__content {
        padding-bottom: 36px;
    }

    .hero--full .hero__title {
        font-size: 24px;
        line-height: 32px;
    }

    .hero--full .hero__title em {
        font-size: 34px;
        line-height: 32px;
    }

    .hero--full .hero__actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero--full .hero__actions .btn {
        font-size: 14px;
    }

    /* Split */
    .hero--split .hero__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero--split .hero__content {
        max-width: 100%;
        order: 0;
    }

    .hero--split .hero__media-col {
        order: 1;
    }

    .hero--split .hero__media-col img {
        min-height: 260px;
        max-height: 350px;
    }

    .hero--split .hero__actions {
        flex-direction: row;
    }

    /* Half */
    .hero--half {
        height: 220px;
    }

    .hero--half .hero__title {
        font-size: 20px;
    }
}
