/* =========================
   HERO SECTION BARU
========================= */
.home_heroslider {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

@supports (height: 100svh) {
    .home_heroslider {
        height: 100svh;
    }
}

/* Swiper full */
.home_heroslider .swiper,
.home_heroslider .swiper-wrapper,
.home_heroslider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}

/* =========================
   BACKGROUND IMAGE
========================= */
.hero_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 1;

    transform: scale(1);
}

/* Zoom animation */
.slide-item.active .hero_bg {
    animation: zoomHero 6s ease forwards;
}

/* =========================
   OVERLAY
========================= */
.home_heroslider::before {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.35)
    );
}
/* =========================
   CONTENT
========================= */
.hero_content {
    position: relative; /* ⛔ ubah dari absolute */
    z-index: 5;

    justify-content: flex-start;
    padding-top: 80px;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #fff;

    width: 90%;
    max-width: 700px;

    margin: 0 auto;
    padding: 0 15px;
}

/* TEXT */
.hero_content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero_content p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* BUTTON */
.hero_btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;

    color: #fff;
    background: linear-gradient(135deg, #ff3c00, #ff7a00);

    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.hero_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 60, 0, 0.4);
}

/* =========================
   ANIMASI
========================= */
.slide-item.active h1 {
    animation: fadeUp 1s ease;
}

.slide-item.active p {
    animation: fadeUp 1.2s ease;
}

.slide-item.active .hero_btn {
    animation: fadeUp 1.4s ease;
}

@keyframes zoomHero {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   MOBILE FINAL PERFECT FIX
========================= */
@media (max-width: 768px) {

    /* HERO */
    .home_heroslider {
        width: 100%;
        height: 400px !important; /* ⛔ FIX UTAMA */
        min-height: 400px;
        overflow: hidden;
        position: relative;
        background: blue;
    }

    /* SWIPER */
    .home_heroslider .swiper,
    .home_heroslider .swiper-wrapper{
        height: 400px !important;
        margin-bottom: 0px;
        padding-bottom: 0px;
    }
    .home_heroslider .swiper-slide {
        width: 100%;
        height: 100dvh !important; /* ⛔ FIX */
        display: flex;
        align-items: flex-start;
        justify-content: center;
        position: relative;
      
    }

    /* BACKGROUND */
    .hero_bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 800px; /* ⛔ FIX */
        top: 0px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
    }

    /* CONTENT */
    .hero_content {
        position: relative;
        z-index: 5;

        width: 100%;
        margin-top: 280px;
        padding: 0 12px;

        text-align: center;
    }

    /* TEXT */
    .hero_content h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero_content p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    /* BUTTON */
    .hero_btn {
        padding: 10px 18px;
        font-size: 13px;
    }

}