/* =========================================================
   STYLE-PPT.CSS (RESPONSIVE & APPLE KEYNOTE STYLE)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@300;400;700&display=swap');

/* Reset Box Sizing agar padding tidak merusak ukuran elemen */
* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #2b2b2b 0%, #000000 100%);
    color: #ffffff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: hidden;
    scroll-behavior: smooth;
}

/* Kontainer Utama Slide */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Pengaturan Slide Dasar */
.slide {
    display: none;
    width: 80%;
    max-width: 1200px;
    max-height: 90vh; /* Agar konten tidak terpotong ke bawah */
    text-align: center;
    animation: fade 0.8s ease-in-out;
    overflow-y: auto; /* Memunculkan scroll jika konten terlalu panjang */
    padding: 20px;
}

/* Sembunyikan scrollbar agar estetika tetap bersih */
.slide::-webkit-scrollbar {
    display: none; 
}

.active-slide {
    display: block;
}

/* Tipografi ala Apple Keynote (Desktop Base) */
h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

h2 {
    font-size: 2rem;
    font-weight: 300;
    color: #a1a1a1;
    margin-bottom: 30px;
}

p, li {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    text-align: left;
}

ul, ol {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    padding-left: 20px;
}

li {
    margin-bottom: 12px;
}

/* Penyorotan Teks (Highlight) */
.highlight-blue { color: #007aff; font-weight: 700; }
.highlight-red { color: #ff3b30; font-weight: 700; }
.highlight-green { color: #34c759; font-weight: 700; }
.highlight-vintage { color: #d4af37; font-weight: 700; font-family: 'Courier New', Courier, monospace; }

/* Desain Tabel Minimalis */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 1.3rem;
}

th, td {
    padding: 15px;
    border-bottom: 1px solid #444;
    text-align: left;
    vertical-align: top;
}

th {
    font-weight: 700;
    color: #fff;
}

td {
    color: #ccc;
    font-weight: 300;
}

/* Tata Letak Kolom (Grid / Split) untuk Desktop */
.split-2, .split-3, .layout-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.split-2-box, .layout-box {
    width: 48%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

.split-3-box {
    width: 32%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

/* Box untuk Kutipan (Blockquote) */
.quote-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #007aff;
    padding: 25px;
    font-style: italic;
    border-radius: 0 12px 12px 0;
    margin-top: 20px;
    text-align: left;
}

.quote-box p {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.5;
}

/* Gambar Responsif */
img {
    max-width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Tombol Navigasi Panah di Tengah */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 15px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 4rem;
    font-weight: bold;
    transition: 0.3s ease;
    user-select: none;
    text-decoration: none;
    z-index: 50;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
    color: rgba(255, 255, 255, 1);
}

/* Tombol Fullscreen di pojok */
.fs-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
    z-index: 100;
}

.fs-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Animasi Transisi */
@keyframes fade {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* =========================================================
   MEDIA QUERIES (PENGATURAN RESPONSIVE UNTUK HP / MOBILE)
   ========================================================= */
@media screen and (max-width: 768px) {
    
    .slide {
        width: 95%; /* Lebarkan area konten di HP */
        padding-top: 60px; /* Beri jarak agar tidak tertutup tombol Fullscreen */
        padding-bottom: 20px;
    }

    /* Penyesuaian Ukuran Huruf (Lebih Kecil) */
    h1 { font-size: 2rem !important; margin-bottom: 10px; }
    h2 { font-size: 1.3rem !important; margin-bottom: 15px; }
    p, li { font-size: 1.1rem !important; line-height: 1.5; }
    
    /* Ubah Tata Letak Kolom Menjadi Vertikal (Bertumpuk ke Bawah) */
    .split-2, .split-3, .layout-grid {
        flex-direction: column;
        gap: 15px;
    }

    .split-2-box, .split-3-box, .layout-box {
        width: 100% !important; /* Paksa lebar 100% di HP */
        padding: 15px;
    }

    /* Penyesuaian Tabel untuk Layar Sempit */
    table {
        font-size: 1rem;
        display: block; 
        overflow-x: auto; /* Bisa digeser ke kanan-kiri (scroll) jika tabel terlalu panjang */
        white-space: nowrap; /* Mencegah teks tabel bertumpuk */
    }

    th, td { padding: 10px; }

    /* Penyesuaian Quote Box */
    .quote-box {
        padding: 15px;
        margin-top: 15px;
    }
    .quote-box p { font-size: 1.2rem !important; }

    /* Penyesuaian Gambar */
    img { max-height: 200px !important; }

    /* Pengecilan Tombol Navigasi */
    .prev, .next {
        font-size: 2.5rem;
        padding: 10px;
    }
    .prev { left: 0px; }
    .next { right: 0px; }

    /* Pengecilan Tombol Fullscreen */
    .fs-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
        top: 10px;
        right: 10px;
    }
}