/* =========================================
   TEMA: KUNING & HITAM (DARK MODE IT SEC)
   Situs: Bertiga Mitra Solusi
   ========================================= */

/* Reset dasar agar tampilan konsisten di semua browser */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tipografi menggunakan Sistem Font Bawaan (Super Cepat, Tanpa Render-Block) */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #E0E0E0; /* Teks abu-abu terang agar mata tidak sakit membaca */
    background-color: #121212; /* Latar belakang hitam pekat/dark gray */
    padding: 0 20px;
}

/* Wrapper Utama agar konten berada di tengah dan nyaman dibaca (Desktop & Mobile) */
header, main, footer {
    max-width: 800px;
    margin: 0 auto;
}

/* =========================================
   HEADER & NAVIGASI
   ========================================= */
header {
    padding: 30px 0 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Menyesuaikan otomatis di layar HP */
    gap: 20px;
    margin-bottom: 15px;
}

nav a {
    color: #FFD700; /* Kuning Emas */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #FFFFFF; /* Berubah putih saat disorot mouse */
}

/* Garis pembatas warna kuning */
hr {
    border: 0;
    height: 2px;
    background-color: #FFD700; 
    margin-bottom: 30px;
}

/* =========================================
   KONTEN UTAMA (TYPOGRAPHY & SECTIONS)
   ========================================= */
h1 {
    color: #FFFFFF;
    font-size: 2.2em;
    margin-bottom: 5px;
    line-height: 1.2;
}

h2 {
    color: #FFD700;
    font-size: 1.5em;
    margin-bottom: 15px;
    margin-top: 10px;
}

h3 {
    color: #E0E0E0;
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Styling khusus untuk tanggal/penulis di bawah H1 */
article > header p {
    color: #888888;
    font-size: 0.9em;
    margin-bottom: 40px;
}

/* Membuat setiap Section (Tanya Jawab) terlihat seperti "Kartu" dokumentasi */
section {
    background-color: #1E1E1E; /* Abu-abu gelap */
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #FFD700; /* Garis kuning tegas di sisi kiri */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

p {
    margin-bottom: 15px;
}

/* Highlight "Answer Target" (Paragraf pertama yang ditebalkan) agar menonjol */
strong {
    color: #FFFFFF;
    font-weight: 600;
    display: block;
    font-size: 1.05em;
}

/* Link di dalam paragraf */
main a {
    color: #FFD700;
    text-decoration: none;
    border-bottom: 1px dashed #FFD700;
}

main a:hover {
    color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
}

/* List / Daftar */
ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

address {
    font-style: normal;
    background: #121212;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #333;
    margin-bottom: 15px;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    margin-top: 50px;
    padding-bottom: 30px;
    text-align: center;
}

footer p {
    color: #888888;
    font-size: 0.9em;
    margin-bottom: 10px;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.85em;
}

footer nav a {
    color: #888888;
    border-bottom: none;
}

footer nav a:hover {
    color: #FFD700;
}
/* =========================================
   STYLING UNTUK GAMBAR / DIAGRAM TEKNIS
   ========================================= */
figure.diagram-teknis {
    margin: 35px 0;
    text-align: center;
    background-color: #121212; /* Latar belakang agar menyatu dengan dark mode */
    padding: 15px;
    border: 1px solid #333333;
    border-radius: 8px;
}

figure.diagram-teknis img {
    max-width: 100%; /* Wajib agar gambar tidak tumpah di layar HP */
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

figure.diagram-teknis figcaption {
    font-size: 0.85em;
    color: #888888;
    margin-top: 15px;
    font-style: italic;
    border-top: 1px dashed #333333;
    padding-top: 10px;
}