/* RESET DASAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* WARNA UTAMA */
:root {
    --maroon: #800000; /* Warna maroon sesuai logo */
    --gold: #FFD700;
    --white: #ffffff;
    --black: #000000;
}

/* HEADER DAN NAVIGASI */
header {
    background-color: var(--maroon);
    color: var(--white);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-organisasi {
    height: 50px; /* Ukuran logo organisasi */
    margin-right: 15px;
}

.title-group h1 {
    font-size: 1.5em;
    margin: 0;
    color: var(--gold);
}

.title-group p {
    font-size: 0.8em;
    margin: 0;
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
}

.nav-list li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none; /* Sembunyikan tombol di desktop */
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5em;
    cursor: pointer;
}

/* KONTEN UTAMA */
main {
    padding-top: 60px; /* Jarak dari header sticky */
}

section {
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

section:nth-child(even) {
    background-color: #e9e9e9;
}

.hero {
    background: url('hero-bg.jpg') no-repeat center center/cover; /* Ganti dengan gambar latar belakang jika ada */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--maroon);
    color: var(--white);
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
    color: var(--gold);
}

.hero .logo-sekolah {
    height: 100px; /* Ukuran logo sekolah di hero */
    margin-top: 20px;
    background-color: var(--white);
    padding: 5px;
    border-radius: 5px;
}

/* STRUKTUR ANGGOTA */
.structure-section h3 {
    color: var(--maroon);
    margin-bottom: 40px;
}

.anggota-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pembina {
    background-color: var(--gold);
    color: var(--maroon);
    padding: 15px 30px;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.inti-organisasi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

.jabatan {
    background-color: var(--white);
    border: 2px solid var(--maroon);
    padding: 15px;
    border-radius: 8px;
    flex: 1 1 200px; /* Membuat item fleksibel, minimal 200px lebar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.jabatan h4 {
    color: var(--maroon);
    margin-bottom: 5px;
    font-size: 1.2em;
}

.note {
    margin-top: 30px;
    font-style: italic;
    color: #666;
}

/* FOOTER */
footer {
    background-color: var(--black);
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* RESPONSIVE (Untuk perangkat seluler) */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px;
    }

    .logo-container {
        margin-bottom: 10px;
    }

    .menu-toggle {
        display: block; /* Tampilkan tombol di seluler */
    }

    .nav-list {
        display: none; /* Sembunyikan daftar navigasi secara default */
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: rgba(128, 0, 0, 0.95); /* Sedikit transparan */
    }

    .nav-list.active {
        display: flex; /* Tampilkan jika menu aktif */
    }

    .nav-list li a {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px;
    }

    .inti-organisasi {
        flex-direction: column;
    }

    .jabatan {
        width: 100%;
    }
}
