/* =========================
   HERO
   ========================= */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    margin-top: 80px;
    overflow: hidden;
}

/* Slider */
.hero-slider {
    width: 100%;
    height: 100%;
}

/* Slide */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    transition: opacity 1.2s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Overlay */
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 1;
}

/* Layout */
.stagger-left {
    flex-direction: row;
}

.stagger-right {
    flex-direction: row-reverse;
}

/* Image */
.hero-slide img {
    width: 50%;
    height: 82%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 2;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.hero-slide.active img {
    transform: scale(1);
}

/* Text */
.hero-text {
    max-width: 40%;
    color: #fff;
    z-index: 2;
    animation: textFade 1.2s ease forwards;
}

.hero-tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pink-primary);
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.2;
}

.hero-text p {
    margin-top: 18px;
    font-size: 16px;
    opacity: 0.9;
}

/* Button */
.hero-btn {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 32px;
    border-radius: 30px;
    background: var(--pink-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: #fff;
    color: #000;
}

/* Text animation */
@keyframes textFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 5;
}

.hero-dots span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.hero-dots span.active {
    width: 26px;
    border-radius: 12px;
    background: var(--pink-primary);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 992px) {

    /* Use full width slider on tablets */
    .hero {
        height: 80vh;
    }

    .hero-slide {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0 5%;
    }

    /* Make images behave as background */
    .hero-slide img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        z-index: 0;
        transform: scale(1);
    }

    /* Dark overlay for text readability */
    .hero-slide::after {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.5),
                rgba(0, 0, 0, 0.7));
    }

    /* Text centered */
    .hero-text {
        max-width: 600px;
        z-index: 2;
        margin: 0 auto;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 70vh;
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 14px;
        margin-top: 12px;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-dots {
        bottom: 15px;
    }
}