/* ============================================================
   HERO INDEX – CLEAN PREMIUM (LAYOUT TETAP)
============================================================ */

.hero-section {
    width: 100%;
    height: 600px;
    background-image: url('../../GAMBAR/BACKGROUND/hero-conveyor.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
}

/* CINEMATIC OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.38),
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.70)
    );
    z-index: 1;
}

/* HERO WRAPPER */
.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    max-width: 1400px;
    margin: auto;
    height: 100%;
    padding-top: 40px;
}



/* ============================================================
   LEFT SIDE (TEXT BOX) — LAYOUT TIDAK DIRUBAH
============================================================ */

/* FIX TEKS KE KIRI */
.hero-left {
    width: 55%;
    color: gold;
    background: rgba(0,0,0,0.35);
    padding: 25px 30px;
    border-radius: 10px;
    backdrop-filter: blur(2px);

    /* GESER KIRI tapi RESPONSIVE */
    transform: translateX(-180px); /* BASE default, clean */

    transform-origin: top left;
}


/* FIX Glow Gold (hilang garis kuning) */
.hero-left h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 0 6px rgba(242,214,117,0.18); /* FIX */
}


.hero-left p {
    font-size: 17px;
    color: #eaeaea;
    margin-bottom: 18px;
    line-height: 1.7;
}

/* BUTTON WRAPPER */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* MERAH PREMIUM */
.btn-hero {
    background: #b01717;
    border: 1px solid #ffdf7d;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none !important; /* FIX underline */
}

.btn-hero-outline {
    border: 1px solid #F2D675;
    color: #F2D675 !important;
    background: transparent;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none !important; /* FIX underline */
}



.btn-hero:hover {
    background: #F2D675;
    color: #000 !important;
    box-shadow: 0 0 12px rgba(242,214,117,0.55);
}

.btn-hero-outline:hover {
    background: #F2D675;
    color: #000 !important;
    box-shadow: 0 0 12px rgba(242,214,117,0.55);
}

/* ============================================================
   RIGHT SIDE (VIDEO) — LAYOUT TETAP
============================================================ */

.hero-right {
    width: 40%;
    display: flex;
    justify-content: center;
}

.hero-video-wrapper {
    padding: 14px;
    border-radius: 18px;
    background: rgba(0,0,0,0.30);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.55),
        0 0 15px rgba(242,214,117,0.20);
}

.hero-video {
    width: 450px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.20);
    background: #000;
}








/* ============================================================
   4. INDEX MOBILE RESPONSIVE
============================================================ */



@media (max-width: 992px) {


    /* HERO */
    .hero-section {
        width: auto;
        height: auto;
        padding-bottom: 100px;
        margin-top: 0px !important;
        padding-top: 50px !important;
        background-position: top !important;
        
    }

    

    .hero-container {
        flex-direction: column !important;
        width: 79% !important;
        gap: 15px !important;
        
    }

    .hero-left {
        
        margin: 0 auto !important;
        padding: 20px 18px !important;

        width: 100% ;
        transform-origin: top left !important;



        background: rgba(0,0,0,0.45) !important; /* transparan elegan */
        backdrop-filter: blur(6px) !important;   /* blur lembut */
        border-radius: 16px !important;          /* sudut halus */
        box-shadow: 0 4px 12px rgba(0,0,0,0.35) !important; /* shadow premium */

        text-align: center !important;
    }

    .hero-left h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    .hero-left p {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
        opacity: 0.95 !important;
    }

    /* tombol tidak terlalu nempel */
    .hero-buttons {
        margin-top: 10px !important;
        gap: 12px !important;
        justify-content: center !important;
    }


    .hero-right {
        width: 100% !important;
    }

    .hero-video {
        width: 100% !important;
        max-width: 420px !important;
    }





    
}


/* 480px */
@media (max-width: 480px) {
    .hero-left h1 { font-size: 22px !important; }
}




/* ZOOM 110%  — RANGE BESAR DESKTOP */
@media (min-width:993px) and (max-width:1800px) and (min-width:1450px) {

    /* KOTAK TEKS */
    .hero-left {
        width: 45% !important;                     /* sedikit ramping */
        transform: translateX(-110px) scale(1.1) !important; 
        margin-bottom: 60px;
    }

    /* H1 */
    .hero-left h1 {
        font-size: 40px !important;                /* sedikit lebih kecil */
        line-height: 1.18 !important;
    }

    /* PARAGRAF */
    .hero-left p {
        font-size: 16px !important;
        line-height: 1.60 !important;
    }

    /* GAP ANTARA TEKS & VIDEO */
    .hero-container {
        gap: 22px !important;
    }

    /* VIDEO */
    .hero-video-wrapper {
        transform: scale(0.70) translateX(200px) !important;
        margin-bottom: 110px;
    }
}







/* ZOOM 125% */
@media (min-width:993px) and (max-width:1600px) and (min-width:1300px) {

    .hero-left {
        width: 40% !important;
        transform: translateX(-10px) scale(1.1) !important;
        margin-bottom: 100px;
    }

    .hero-left h1 {
        font-size: 38px !important;
        line-height: 1.15 !important;
    }

    .hero-left p {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .hero-container {
        gap: 20px !important;
    }

    .hero-video-wrapper {
        transform: scale(0.75) translateX(20px) !important; 
        transform-origin: top right !important;
        margin-bottom: 10px;
    }
}

/* ZOOM 150% */
@media (min-width:993px) and (max-width:1300px) and (min-width:1100px) {

    .hero-left {
        width: 40% !important;
        transform: translateX(50px) scale(1) !important;
        margin-bottom: 100px;
    }

    .hero-left h1 {
        font-size: 34px !important;
        line-height: 1.15 !important;
    }

    .hero-left p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .hero-container {
        gap: 18px !important;
    }

    .hero-video-wrapper {
        transform: scale(0.7) translateX(-85px) !important; 
        transform-origin: top right !important;
        margin-bottom: 80px;
    }
}


/* ZOOM 175% */
@media (min-width:993px) and (max-width:1100px) and (min-width:1000px) {

    .hero-left {
        width: 40% !important;
        transform: translateX(40px) scale(1) !important;
        margin-bottom: 125px;
    }

    .hero-left h1 {
        font-size: 30px !important;
        line-height: 1.15 !important;
    }

    .hero-left p {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    .hero-container {
        gap: 16px !important;
    }

    .hero-video-wrapper {
        transform: scale(0.75) translateX(-110px) !important; 
        transform-origin: top right !important;
        margin-bottom: 110px;
    }
}



@media (max-width: 992px) {

    /* HERO FIX */
    .hero-section {
        height: auto !important;
        padding: 40px 0 80px !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .hero-container {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        padding: 0 18px !important;
        gap: 20px !important;
    }

    .hero-left {
        width: 100% !important;
        margin: 0 auto !important;
        padding: 20px !important;

        /* FIX PALING PENTING */
        transform: none !important;

        background: rgba(0,0,0,0.45) !important;
        backdrop-filter: blur(4px) !important;
        border-radius: 14px !important;
        text-align: center !important;
    }

    .hero-left h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }

    .hero-left p {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
    }

    .hero-buttons {
        justify-content: center !important;
        gap: 12px !important;
        margin-top: 10px !important;
    }

    .hero-right {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .hero-video-wrapper {
        width: 100% !important;
        max-width: 450px !important;
        padding: 10px !important;
    }

    .hero-video {
        width: 100% !important;
        height: auto !important;
        max-height: 260px !important;
        border-radius: 12px !important;
    }
}
