/* ==========================================================================
   Hero Carousel
   ========================================================================== */

.vane-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}

.vane-hero__slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.vane-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.vane-hero__picture {
    position: absolute;
    inset: 0;
    display: block;
}

.vane-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.vane-hero__slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.vane-hero__content {
    z-index: 2;
}

.vane-hero__slide--active {
    opacity: 1;
    visibility: visible;
}

.vane-hero__content {
    position: absolute;
    top: calc(50% + var(--vane-header-height) / 2);
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    text-align: center;
}

.vane-hero__logo {
    width: 850px;
    max-width: 95vw;
    height: auto;
    fill: var(--vane-white);
    transform: translateY(18px);
}

.vane-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px 10px;
    text-align: center;
    line-height: 1;
    font-family: var(--vane-font-primary);
    font-size: 40px;
    font-weight: 300;
    text-decoration: none;
    color: var(--vane-black);
    background-color: var(--vane-white);
    border: 1px solid var(--vane-white);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.vane-hero__button:hover {
    background-color: var(--vane-white);
    color: var(--vane-black);
    font-weight: 300;
}

/* Navigation dots with pill container */
.vane-hero__dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 8px 14px;
    background-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    z-index: 10;
}

.vane-hero__dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    padding: 0;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.4) !important;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    outline: none;
}

.vane-hero__dot--active,
.vane-hero__dot:hover,
.vane-hero__dot:focus,
.vane-hero__dot:active {
    background-color: #000000 !important;
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .vane-hero {
        height: calc(100vh - var(--vane-header-height));
        min-height: 320px;
    }

    .vane-hero__image {
        object-position: center top;
    }

    .vane-hero__content {
        gap: 30px;
    }

    .vane-hero__logo {
        width: 70vw;
        max-width: 280px;
        transform: translateY(12px);
    }

    .vane-hero__button {
        padding: 12.5px 32px 9px;
        font-size: 18px;
    }

    .vane-hero__button:active {
        background-color: rgba(0, 0, 0, 0.2);
        color: var(--vane-white);
        font-weight: 700;
    }

    .vane-hero__dots {
        bottom: 20px;
        gap: 8px;
        padding: 6px 12px;
        border-radius: 15px;
    }

    .vane-hero__dot {
        width: 6px;
        height: 6px;
    }
}
