/* =========================
FILE : materi-detail-style.css
========================= */


/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
BODY + BACKGROUND
Ganti background sendiri
========================= */
body {
    font-family: Arial, sans-serif;
    color: #222;

    /* Background utama */
    background-image: url("../css/background1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* =========================
SECTION UTAMA
========================= */
.detail-page {
    width: 100%;
    min-height: 100vh;
    padding: 30px 50px 40px;
    background: transparent;
}


/* =========================
NAVBAR
========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}


/* =========================
LOGO AREA
========================= */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-box img {
    width: 65px;
    height: auto;
}

.logo-text h3 {
    color: #288fd7;
    font-size: 22px;
    line-height: 1.2;
}


/* =========================
MENU AREA
========================= */
.menu-area {
    display: flex;
    gap: 14px;
    align-items: center;
}

.btn-outline,
.btn-active {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-outline {
    border: 2px solid #288fd7;
    background: white;
    color: #288fd7;
}

.btn-active {
    background: #288fd7;
    color: white;
    border: 2px solid #288fd7;
}

.btn-icon {
    width: 18px;
    height: 18px;
}


/* =========================
JUDUL HALAMAN
========================= */
.title-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.title-icon {
    width: 90px;
}

.title-section h1,
.title-section h2 {
    color: #1568a8;
    font-weight: bold;
}

.title-section h1 {
    font-size: 58px;
}

.title-section h2 {
    font-size: 60px;
    line-height: 1.2;
}


/* =========================
BOX MATERI
========================= */
.content-box {
    background: white;
    border: 2px solid #288fd7;
    border-radius: 28px;
    padding: 30px;
    min-height: 700px;

    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}


/* Header box */
.box-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.box-icon {
    width: 50px;
}

.box-header h3 {
    font-size: 42px;
    color: #1568a8;
}


/* Isi materi */
.materi-content p {
    font-size: 24px;
    line-height: 1.8;
}

.materi-content li{
    margin-left: 20px;
    font-size: 18px;
    line-height: 1.5;

}

.subjudul p {
    font-size: 18px;

}

.deskripsigambar p{
    display: flex;
    font-size: 18px;
    justify-content: center;
}


/* =========================
PAGINATION
========================= */
.pagination-section {
    margin: 30px 0;
    text-align: center;
}

.pagination-dots {
    display: inline-flex;
    gap: 15px;
}

.dot {
    width: 18px;
    height: 18px;
    border: 2px solid #222;
    border-radius: 50%;
    display: inline-block;
}

.dot.active {
    background: #288fd7;
    border-color: #288fd7;
}

/* =========================
GAMBAR DI TENGAH CONTENT BOX
Horizontal Center
========================= */

.materi-image {
    width: 100%;

    /* membuat gambar ke tengah horizontal */
    display: flex;
    justify-content: center;

    /* jarak atas bawah */
    margin: 30px 0;

    border: 10px;
    border-color: black;
}


/* ukuran gambar */
.materi-image img {
    width: 600px; /* bisa diganti */
    max-width: 100%;
    height: auto;

    /* optional biar lebih rapi */
    border-radius: 0px;
}


/* =========================
BAGIAN BAWAH
========================= */
.bottom-section {
     display: flex;

    /* tombol tetap di kanan bawah */
    justify-content: flex-end;

    /* posisi bawah */
    align-items: flex-end;

    margin-top: 30px;
}

.bottom-left-image img {
    display: none;
}


/* Tombol kanan bawah */
.bottom-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
}


/* Tombol Quiz */
.btn-quiz {
    background: #78d14f;
    color: white;
    text-decoration: none;
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 22px;
    font-weight: bold;
}


/* Tombol Next */
.btn-next {
    background: #084671;
    color: white;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 28px;
    border-radius: 14px;
    font-size: 22px;
    font-weight: bold;
}


/* Tombol Back */
.btn-back {
    background: #084671;
    color: white;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 28px;
    border-radius: 14px;
    font-size: 22px;
    font-weight: bold;
}

.btn-WA {
    background: #ffffff;
    color: black;
    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 28px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
    border: 4;
    border-color: black;
}

.btn-WA:hover {
    background: lightgrey;
    transform: translateY(-2px);
}

.nav-icon {
    width: 18px;
    height: 18px;
}


/* =========================
HOVER EFFECT
========================= */

.btn-outline:hover {
    background: #288fd7;
    color: white;
    transform: translateY(-2px);
}

.btn-outline:hover .btn-icon {
    filter: brightness(0) invert(1);
}

.btn-active:hover {
    background: #1f7fc2;
}

.btn-next:hover,
.btn-back:hover {
    background: #063553;
    transform: translateY(-2px);
}

.btn-quiz:hover {
    background: #66c53c;
    transform: translateY(-2px);
}

.content-box:hover {
    transform: translateY(-3px);
    transition: 0.3s ease;
}

/* =========================
TABEL
========================= */

.materi-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 17px;
}

.materi-table th,
.materi-table td {
    border: 2px solid #666;
    padding: 18px;
    vertical-align: top;
    text-align: left;
}

.materi-table th {
    background: #f5f5f5;
    font-weight: bold;
}