/* =========================================
   HERO SECTION - GLOBAL (DESKTOP)
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    background-image: url('../img/hero-aksiva.webp'); 
    background-size: cover;
    background-position: center;
    
    /* FLEXBOX SETUP */
    display: flex;
    align-items: center; 
    justify-content: center; /* Container tetap di tengah */
}

/* Overlay Gelap */
.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 15%, rgba(0,0,0,0.4));
    z-index: 1;
}

/* Konten Hero */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: left;
}

/* Typography Desktop (Sudah Perfect) */
.headline {
    font-size: 3.5rem; 
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
}

.sub-headline {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 650px;
}

.text-orange {
    color: var(--primary-color);
}

/* Tombol CTA Desktop */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.btn-primary:hover {
    background-color: #e07b00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.6);
}

/* =========================================
   TABLET VIEW (Max-width: 768px)
   ========================================= */
@media screen and (max-width: 768px) {
    /* 1. UBAH JADI CENTER */
    .hero-content {
        text-align: center; /* Membuat teks rata tengah */
        padding-left: 0; /* Reset padding kiri desktop */
    }

    .headline {
        font-size: 2.5rem;
    }

    .sub-headline {
        font-size: 1rem;
        max-width: 90%;
        margin-bottom: 30px;
        
        /* PENTING: Agar blok paragraf ada di tengah */
        margin-left: auto; 
        margin-right: auto;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* =========================================
   MOBILE VIEW (Max-width: 480px)
   ========================================= */
@media screen and (max-width: 480px) {
    /* 1. UBAH JADI CENTER (Explicit) */
    .hero-content {
        text-align: center;
        padding-top: 60px; /* Jarak aman dari atas */
    }

    .headline {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .sub-headline {
        font-size: 0.9rem;
        margin-bottom: 25px;
        line-height: 1.5;
        color: #ccc;
        
        /* Pastikan di HP juga rata tengah */
        margin-left: auto;
        margin-right: auto;
    }

    /* Tombol Full Width */
    .btn-primary {
        /* 1. RESET LEBAR: Ubah jadi auto biar ngikutin teks (ngga full layar) */
        width: auto !important; 
        display: inline-flex !important; /* Pakai flex biar teks di tengah rapi */
        
        /* 2. RESET TINGGI: Padding kita paksa jadi 12px atas-bawah */
        padding: 12px 35px !important; 
        
        /* 3. RESET UKURAN FONT & LINE HEIGHT */
        font-size: 0.95rem !important;
        line-height: 1.2 !important; /* Mencegah tombol jadi gembung */
        
        /* 4. RESET LAINNYA */
        min-height: 0 !important;
        height: auto !important;
        margin-top: 10px; /* Kasih jarak dikit dari teks */
        
        /* Styling tambahan */
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3); /* Shadow halus */
    }
}