/* |--------------------------------------------------------------------------
| GURU.CSS
| Styling Khusus untuk Halaman Petunjuk Guru
|--------------------------------------------------------------------------
*/

/* 1. HERO SECTION GURU (BACKGROUND) */
#hero-guru { 
    position: relative;
    width: 100%;
    height: 90vh; 
    min-height: 400px; 
    overflow: hidden;
    display: flex;
    align-items: center; 
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    
    /* PENTING: Cek lagi nama file 'bguru.jpeg' di folder 'asset/' */
    background: url('asset/bguru.jpeg') no-repeat center center/cover; 
}

/* Overlay & Content tetap sama */
#hero-guru .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 0;
}

#hero-guru .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 30px 40px; 
}

/* 2. STYLING PANDUAN VISUAL (VIDEO/GAMBAR RAPIH & TERPOTONG DI TENGAH) */
.visual-panduan-container { 
    /* Container untuk menampung visual */
    overflow: hidden;
    border-radius: 12px;
    background-color: #000; 
    width: 100%;
    
    /* KUNCI: Tetapkan tinggi yang RAPIH (400px) */
    height: auto; 
    max-height: none;
}

.visual-panduan {
    display: block;
    width: 100%;
    /* Mengisi penuh tinggi container 400px */
    height: 100%; 
    
    /* KUNCI: 'cover' untuk mengisi penuh dan memotong (cropping) di tengah */
    object-fit: cover; 
    object-position: center; 
}

/* 3. RESPONSIVE FIX */
@media (max-width: 991.98px) {
    .visual-panduan-container {
        /* Tinggi untuk tablet */
        height: 300px; 
        max-height: 300px; 
    }
}

@media (max-width: 576px) {
    #hero-guru {
        height: 50vh; 
        min-height: 350px;
    }
    .visual-panduan-container {
        /* Tinggi untuk HP */
        height: 200px; 
        max-height: 200px;
    }
}