/* ============================================
   HERO SLIDER COMPONENT
   ============================================
   Full-screen hero carousel with transparent navbar overlay
============================================ */

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

.hero-slider .carousel {
    width: 100%;
}

.hero-slider .carousel-item {
    position: relative;
}

.hero-slider .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ----------------------------------------
   Hero Images
---------------------------------------- */
.hero-slider__image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

.hero-slider__image--desktop {
    display: block;
}

.hero-slider__image--mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-slider__image--desktop {
        display: none;
    }

    .hero-slider__image--mobile {
        display: block;
    }

    .hero-slider__image {
        height: 100%;
    }
}

/* ----------------------------------------
   Hero Caption Overlay
---------------------------------------- */
.hero-slider__caption {
    position: absolute;
    bottom: 5%;
    left: var(--container-padding);

    width: 100%;
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: var(--bs-gutter-x, 0.75rem);
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

@media (min-width: 576px) {
    .hero-slider__caption {
        max-width: 540px;
        padding-left: calc(var(--bs-gutter-x, 1.5rem) / 2);
        padding-right: calc(var(--bs-gutter-x, 1.5rem) / 2);
    }
}

@media (min-width: 768px) {
    .hero-slider__caption {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .hero-slider__caption {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .hero-slider__caption {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .hero-slider__caption {
        max-width: 1320px;
    }
}

.hero-slider__content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-slider__content--top {
    margin-bottom: -15px;
    position: relative;
    z-index: 2;
}

.hero-slider__text-wrapper {
    width: fit-content;
}

.hero-slider__label {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.2em;
}

.hero-slider__title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero-slider__subtitle {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.5rem;
    padding: 0.3rem 0.5rem;
    border: 1px solid #fff;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.hero-slider__qr {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
}

/* ----------------------------------------
   Carousel Controls
---------------------------------------- */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.hero-slider .carousel-control-prev {
    left: var(--container-padding);
}

.hero-slider .carousel-control-next {
    right: var(--container-padding);
}


.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    opacity: 1;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 50%;
    background-size: 50%;
}

.hero-slider .carousel-indicators {
    margin-bottom: 2rem;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.hero-slider .carousel-indicators button.active {
    background-color: #fff;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (max-width: 992px) {
    .hero-slider__title {
        font-size: 2rem;
    }

    .hero-slider__label {
        font-size: 1rem;
    }

    .hero-slider__qr {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .hero-slider__caption {
        bottom: 12%;
    }

    .hero-slider__content {
        gap: 0.5rem;
    }

    .hero-slider__content--top {
        margin-bottom: 0;
    }

    .hero-slider__title {
        font-size: 1.4rem;
    }

    .hero-slider__label {
        font-size: 0.75rem;
    }

    .hero-slider__subtitle {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        margin-top: 0.2rem;
    }

    .hero-slider__qr {
        width: 45px;
        height: 45px;
        padding: 3px;
    }
}