/* Import Font dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Montserrat:wght@400;700&display=swap');

/* Variabel Warna */
:root {
    --primary-bg: #0D1117;      /* Biru tua pekat / Hitam */
    --secondary-bg: #161B22;    /* Warna latar sedikit lebih terang */
    --border-color: #30363D;
    --text-primary: #C9D1D9;    /* Abu-abu terang untuk teks */
    --text-secondary: #8B949E;  /* Abu-abu lebih gelap */
    --accent-gold: #FFD700;
    --accent-red: #8B0000;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

/* Reset dan Pengaturan Dasar Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* Tombol (Button) */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-bg);
    border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    color: #fff;
}

/* --- STRUKTUR LANDING PAGE --- */

/* Header & Navigasi */
.header {
    background-color: var(--secondary-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-secondary);
}

.logo span {
    color: var(--accent-gold);
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu ul li {
    margin-left: 25px;
}

.nav-menu ul li a {
    font-weight: 600;
    font-size: 0.95rem;
}

.header-buttons .btn {
    margin-left: 10px;
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(13, 17, 23, 0.8), rgba(13, 17, 23, 0.9)), url('https://source.unsplash.com/1600x900/?islamic,education,tech') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Section Umum */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* Pilihan Kelas */
.kelas-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.kelas-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kelas-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.kelas-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.kelas-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Tentang Kami */
#tentang-kami {
    background-color: var(--secondary-bg);
}

/* Tabel Guru & Sekolah */
.table-container {
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: var(--secondary-bg);
}

.custom-table th, .custom-table td {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    text-align: left;
}

.custom-table th {
    background-color: #1F242C;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.custom-table tbody tr:hover {
    background-color: #1F242C;
}

/* List Sekolah */
.sekolah-list {
    list-style: none;
    column-count: 3;
    column-gap: 40px;
    margin-top: 30px;
}

.sekolah-list li {
    background-color: var(--secondary-bg);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}


/* Footer */
.footer {
    background-color: #010409;
    padding: 60px 0;
    text-align: center;
}

.footer-content {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
}

.footer-logo span {
    color: var(--accent-gold);
}

.footer-socials {
    margin-top: 20px;
}

.footer-socials a {
    font-size: 1.5rem;
    margin: 0 15px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
}