/* RESET DASAR & FONT */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #ffffff; /* Latar putih bersih */
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HEADER & NAVIGASI */
header {
    background-color: #1a237e; /* Biru tua elegan (Indigo) */
    color: white;
    padding: 18px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Montserrat', sans-serif; /* Font logo yang kuat */
    font-size: 1.8em;
    font-weight: 700;
    color: #ffc107; /* Kuning keemasan, kontras dan berkelas */
}

#main-nav ul {
    list-style: none;
    display: flex;
}

#main-nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s;
    font-weight: 600;
}

#main-nav ul li a:hover {
    background-color: #2c387e; /* Warna hover lebih gelap */
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
}

/* HERO SECTION */
.hero-section {
    background: url('placeholder-bg.jpg') no-repeat center center/cover; /* Ganti dengan gambar sekolah */
    background-color: #e3f2fd;
    padding: 100px 20px;
    text-align: center;
    margin: 0 0 40px 0;
}

.hero-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
    margin-bottom: 15px;
    color: #1a237e;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff5722; /* Oranye/Merah bersemangat */
    color: white;
    padding: 14px 35px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
}

/* BAGIAN INFORMASI (Grid Layout) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Default 2 kolom untuk Perizinan & Kontak */
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Shadow yang lebih dalam */
    border-top: 5px solid #1a237e; 
}

/* Kartu Deskriptif Utama (IDENTITAS SEKOLAH) mengambil lebar penuh */
.full-width-card {
    grid-column: 1 / -1; /* Memastikan kartu deskriptif selalu di atas dan penuh */
}

.card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1a237e;
    margin-bottom: 15px;
    font-size: 1.5em;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 10px;
}

.icon {
    margin-right: 8px;
}

.card p {
    margin-bottom: 10px;
}

.small-button {
    background-color: #00bcd4; /* Biru langit (Cyan) untuk tombol sekunder */
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.small-button:hover {
    background-color: #0097a7;
}

/* BAGIAN PETA */
.map-section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: #f7f7f7;
    border-radius: 8px;
}

.map-container {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.map-overlay {
    /* Gaya yang sama seperti sebelumnya untuk interaktivitas */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: opacity 0.3s;
    z-index: 10;
}

.map-overlay.hidden {
    display: none;
}

.map-note {
    text-align: center;
    margin-top: 15px;
    color: #6c757d;
}

/* FOOTER */
/* --- MODIFIKASI BAGIAN FOOTER DI style.css --- */

footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 30px 0; /* Tambah padding */
    font-size: 0.9em;
}

footer .container {
    display: flex;
    flex-direction: column; /* Default vertikal untuk mobile */
    align-items: center;
}

.copyright {
    margin-bottom: 20px;
    font-size: 1em;
}

.partner-links {
    width: 100%;
    margin-top: 10px;
}

.partner-links h4 {
    font-family: 'Montserrat', sans-serif;
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 600;
}

.partner-list {
    display: flex; /* Untuk tata letak horizontal di desktop */
    justify-content: center;
    flex-wrap: wrap; /* Memastikan tautan turun baris jika layar kecil */
    gap: 15px; /* Jarak antar tautan */
}

.partner-list a {
    color: #adb5bd; /* Warna abu-abu terang */
    text-decoration: none;
    transition: color 0.3s;
    padding: 5px 0;
}

.partner-list a:hover {
    color: #ffffff; /* Putih terang saat di-hover */
    text-decoration: underline;
}

/* --- RESPONSIVITAS (Media Queries) --- */
@media (min-width: 769px) {
    footer .container {
        /* Tata letak horizontal (Copyright di kiri, Partner di kanan) */
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .copyright {
        margin-bottom: 0;
        text-align: left;
    }

    .partner-links {
        width: auto;
        text-align: right;
    }

    .partner-list {
        justify-content: flex-end; /* Ratakan tautan ke kanan */
    }
}

/* --- RESPONSIVITAS (Media Queries) --- */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    
    /* Navigasi Mobile */
    .nav-toggle {
        display: block;
    }

    #main-nav {
        position: absolute;
        top: 70px; /* Di bawah header */
        left: 0;
        width: 100%;
        background-color: #1a237e; 
        transition: max-height 0.3s ease-out;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    #main-nav.active {
        max-height: 300px;
    }

    #main-nav ul {
        flex-direction: column; 
        padding: 10px 0;
    }

    /* Grid Informasi Mobile */
    .info-grid {
        grid-template-columns: 1fr; /* Semua kartu menjadi satu kolom di mobile */
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 15px;
    }
    .hero-content h2 {
        font-size: 2em;
    }
}


