/* Pengaturan Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #1e2522; /* Warna dasar gelap bernuansa hijau hutan tua */
    color: #e2e8f0;
}

/* Navigasi Atas */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #141a17;
    padding: 20px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #ffffff;
}

.nav-brand span {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 16px;
    letter-spacing: 0;
    text-transform: lowercase;
    opacity: 0.8;
}

.nav-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    margin-left: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a.active, .nav-links a:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 4px;
}

/* Struktur Konten Utama */
.main-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    max-width: 1300px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Kolom Kiri: Silabus Modul */
.sidebar-modules {
    background-color: #141a17;
    padding: 25px;
    border-radius: 12px;
    height: fit-content;
}

.section-title {
    font-size: 12px;
    letter-spacing: 3px;
    color: #718096;
    margin-bottom: 20px;
}

.module-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.module-card:hover, .module-card.active {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
}

.module-card .mod-num {
    font-size: 20px;
    font-weight: 300;
    color: #a0aec0;
}

.module-card.active .mod-num {
    color: #ffffff;
    font-weight: bold;
}

.mod-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
}

.mod-info p {
    font-size: 11px;
    color: #718096;
}

/* Kolom Ranan: Pemutar Video & Penjelasan */
.video-workspace {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Kotak Pemutar Video Tiruan */
.video-player-mock {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background-image: url('https://unsplash.com'); /* Konsisten dengan gambar pohon */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* Lebih gelap agar fokus ke tombol main */
}

.player-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.play-icon {
    font-size: 32px;
    background-color: rgba(255, 255, 255, 0.2);
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    backdrop-filter: blur(5px);
}

.play-icon:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.4);
}

/* Informasi Materi */
.materi-detail h2 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.meta-info {
    font-size: 12px;
    color: #a0aec0;
    margin-bottom: 15px;
}

.description-text {
    font-size: 15px;
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Tombol Aksi */
.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: #ffffff;
    color: #1e2522;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    padding: 12px 28px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #e2e8f0;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    padding: 12px 28px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Responsif Layar Kecil */
@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}