/**
 *   Written By Arya W.R.
 *   Updated: Red Glass Theme - No bullets in menus
 *   Color palette updated to #AA1C41 (dominant)
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #F9F0F2 0%, #F5E6EA 100%);
    color: #2d1e1a;
    line-height: 1.5;
}

:root {
    --red-primary: #AA1C41;
    --red-dark: #8B1634;
    --red-light: #F4D8DF;
}

/* ========== HEADER GLASS ========== */
.modern-header {
    background: rgba(170, 28, 65, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo-img {
    height: 75px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.brand-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.brand-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    line-height: 1.2;
    margin: 0;
}
.brand-text .tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
}
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}
.glass-nav {
    background: transparent;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-menu li {
    position: relative;
    list-style: none;
}
.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: 0.2s;
}
.nav-menu a:hover {
    color: #F9E74B; /* kuning untuk kontras */
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    background: rgba(170, 28, 65, 0.96);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s;
    border: 1px solid rgba(255,255,255,0.3);
    z-index: 1001;
    list-style: none;
}
.dropdown-menu li {
    list-style: none;
    padding: 0;
}
.dropdown-menu a {
    padding: 0.6rem 1.2rem;
    display: block;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background: rgba(255,255,255,0.2);
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hilangkan semua bullet di menu manapun */
ul, ol {
    list-style: none;
}
.nav-menu, .nav-menu ul, .dropdown-menu, .dropdown-menu ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.nav-menu li, .dropdown-menu li {
    list-style-type: none;
}
/* Pastikan tidak ada bullet di submenu */
.dropdown-menu, .dropdown-menu li, .nav-menu, .nav-menu li {
    list-style-type: none !important;
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .glass-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(170, 28, 65, 0.98);
        backdrop-filter: blur(12px);
        transition: right 0.3s;
        padding: 5rem 1.5rem;
        z-index: 1000;
    }
    .glass-nav.active { right: 0; }
    .nav-menu { flex-direction: column; gap: 1.5rem; }
    .dropdown-menu {
        position: static;
        background: rgba(0,0,0,0.2);
        backdrop-filter: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
        margin-top: 0.5rem;
        padding-left: 1rem;
        border: none;
    }
    .dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
    .dropdown-menu a {
        white-space: normal;
    }
    .brand-text h1 {
        font-size: 1.1rem;
    }
    .logo-img {
        height: 55px;
    }
}

/* ========== SLIDER ========== */
.slider-container {
    position: relative;
    max-width: 1280px;
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.slides {
    display: flex;
    transition: transform 0.5s ease;
}
.slide {
    min-width: 100%;
    position: relative;
}
.slide img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.prev:hover, .next:hover {
    background: var(--red-primary);
}
.prev {
    left: 20px;
}
.next {
    right: 20px;
}
.dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 15;
}
.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
}
.dot.active, .dot:hover {
    background: #F9E74B;
}

/* ========== CONTAINER & CARD ========== */
.container {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    border-left: 8px solid var(--red-primary);
    padding-left: 1rem;
    margin-bottom: 2rem;
    color: var(--red-dark);
}

/* ========== TAB BERITA ========== */
.tab-berita {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.tab-buttons {
    display: flex;
    background: var(--red-light);
    border-bottom: 2px solid var(--red-primary);
}
.tab-btn {
    flex: 1;
    padding: 1rem;
    font-weight: 700;
    background: transparent;
    border: none;
    color: #5a2a28;
    cursor: pointer;
    transition: 0.2s;
}
.tab-btn.active {
    background: var(--red-primary);
    color: white;
}
.tab-content {
    padding: 2rem;
    display: none;
}
.tab-content.active { display: block; }
.berita-item {
    border-bottom: 1px solid #f0e0de;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: 0.2s;
}
.berita-item:hover {
    background: var(--red-light);
    border-radius: 16px;
    padding-left: 0.8rem;
}
.berita-item h3 { color: var(--red-dark); margin-bottom: 0.5rem; }
.berita-date { font-size: 0.8rem; color: #AA1C41; }

/* ========== STRUKTUR ORGANISASI ========== */
.struktur-kategori {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.struktur-kategori h3 {
    color: var(--red-dark);
    border-left: 5px solid var(--red-primary);
    padding-left: 1rem;
}
.struktur-card-hirarki {
    background: #fff5f5;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    transition: 0.2s;
}
.struktur-card-hirarki:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(170, 28, 65, 0.2);
}
.struktur-card-hirarki img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--red-primary);
}
.struktur-info h3 { color: var(--red-dark); }
.jabatan { color: var(--red-primary); font-weight: 600; }

/* ========== DOKUMEN ========== */
.doc-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.2s;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.doc-icon { color: var(--red-primary); font-size: 2.5rem; }
.download-doc {
    background: var(--red-primary);
    color: white;
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    display: inline-block;
    text-decoration: none;
}
.download-doc:hover { background: var(--red-dark); }

/* ========== FORM KONTAK ========== */
.kontak-form {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 28px;
}
.btn-kirim {
    background: var(--red-primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    cursor: pointer;
}
.btn-kirim:hover { background: var(--red-dark); }

/* ========== SPONSOR ========== */
.sponsor-section {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
}
.sponsor-title {
    color: var(--red-dark);
    margin-bottom: 1.5rem;
}
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.sponsor-item img {
    max-height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* ========== FOOTER ========== */
footer {
    background: var(--red-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

/* ========== BUTTONS & LINKS ========== */
.btn, .back-link {
    background: var(--red-primary);
    color: white;
    border-radius: 40px;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-block;
}
.btn:hover, .back-link:hover { background: var(--red-dark); }

/* ========== TAMBAHAN UNTUK LIST DI KONTEN ========== */
/* Tetap tampilkan bullet untuk konten berita atau list biasa, tapi tidak untuk menu */
.berita-konten ul, .berita-konten ol,
.sejarah-konten ul, .sejarah-konten ol,
.visi-misi-container ul, .visi-misi-container ol {
    list-style: revert;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ========== TAB DOKUMEN (KATEGORI) ========== */
.tab-dokumen {
    background: white;
    border-radius: 28px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 1rem;
}

.tab-buttons-dokumen {
    display: flex;
    flex-wrap: wrap;
    background: var(--red-light);
    border-bottom: 2px solid var(--red-primary);
}

.tab-btn-dokumen {
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    color: #5a2a28;
    font-size: 1rem;
}

.tab-btn-dokumen:hover {
    background: rgba(170, 28, 65, 0.1);
}

.tab-btn-dokumen.active {
    background: var(--red-primary);
    color: white;
}

.tab-content-dokumen {
    padding: 2rem;
    display: none;
    animation: fade 0.3s ease;
}

.tab-content-dokumen.active {
    display: block;
}

@media (max-width: 768px) {
    .tab-btn-dokumen {
        flex: 1;
        text-align: center;
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}