/* |--------------------------------------------------------------------------
| SISWA.CSS
| Styling Khusus untuk Halaman Petunjuk Siswa
|--------------------------------------------------------------------------
*/

/* 1. HERO SECTION SISWA (TIDAK BERUBAH - BACKGROUND UTAMA AMAN) */
#hero-siswa {
    position: relative;
    width: 100%;
    height: 90vh; 
    min-height: 450px; 
    overflow: hidden;
    display: flex;
    align-items: center; 
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    background: url('asset/bgsiswa.jpeg') no-repeat center center/cover; 
}

/* Overlay untuk membuat teks lebih mudah dibaca (TETAP SAMA) */
#hero-siswa .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 0;
}

#hero-siswa .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 30px 40px; 
}

#hero-siswa .hero-content h1 {
    color: var(--light-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#hero-siswa .hero-content p {
    color: var(--light-color);
    font-weight: 400;
}

/* 2. STYLING PANDUAN VISUAL (TIDAK TERPOTONG) */
.visual-panduan-container {
    /* Container untuk menampung visual (video/gambar) */
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--light-color); /* Warna terang agar menyatu */
    width: 100%;
    
    /* PENTING: Biarkan tinggi fleksibel agar sesuai rasio asli gambar */
    height: auto; 
    max-height: none; 
    
    /* Gunakan Flexbox untuk menengahkan gambar di tengah container */
    display: flex;
    align-items: center; 
    justify-content: center;
    padding: 0; /* Hapus padding bawaan yang mungkin membuat ruang kosong */
}

.visual-panduan {
    display: block;
    max-width: 100%; 
    height: auto; 
    
    /* KUNCI: Gunakan 'contain' untuk memastikan SELURUH gambar terlihat (tidak terpotong) */
    object-fit: contain; 
}

/* 3. RESPONSIVE FIX */
@media (max-width: 991.98px) {
    .visual-panduan-container {
        /* Hapus batasan tinggi */
        max-height: none; 
    }
}

@media (max-width: 576px) {
    #hero-siswa {
        height: 50vh; 
        min-height: 350px;
    }
}