/* =================================================
   STRUKTUR.CSS - HALAMAN STRUKTUR ORGANISASI
   Tema Biru Putih Modern - Selaras dengan Halaman Lain
   ================================================= */

/* ========== VARIABEL WARNA ========== */
:root {
    --primary-blue: #0a4d8c;
    --secondary-blue: #1e6eb5;
    --accent-blue: #3498db;
    --light-blue: #eef5fc;
    --pure-white: #ffffff;
    --soft-white: #f8fafd;
    --text-dark: #2c3e50;
    --text-light: #5a6a7a;
    --border-light: #d9e6f2;
    --shadow: 0 10px 30px rgba(10, 77, 140, 0.08);
    --shadow-hover: 0 15px 40px rgba(10, 77, 140, 0.12);
}

/* ========== RESET & DASAR ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--soft-white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== BANNER HALAMAN ========== */
.page-banner {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
    margin-bottom: 3rem;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.banner-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--pure-white);
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb span {
    color: var(--pure-white);
    font-weight: 500;
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.header-line {
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
    margin: 0 auto 1rem;
    border-radius: 4px;
}

.subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ========== STRUKTUR SECTION ========== */
.struktur-section {
    padding: 0 0 5rem;
}

/* Card Struktur */
.struktur-card {
    background: var(--pure-white);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

/* Badge Info */
.struktur-badge {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
}

.struktur-badge i {
    margin-right: 8px;
    color: var(--accent-blue);
}

/* Image Wrapper */
.struktur-image-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.struktur-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-light);
}

.struktur-img:hover {
    transform: scale(1.02);
}

/* Zoom Hint */
.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
    pointer-events: none;
    z-index: 5;
}

/* Action Buttons */
.struktur-actions {
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: var(--pure-white);
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.btn-download:hover {
    background: transparent;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ========== INFO TAMBAHAN (PUTIH SOLID) ========== */
.struktur-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.info-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.info-item i {
    font-size: 2.2rem;
    color: #3498db;
    background: #eef5fc;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-item:hover i {
    background: #0a4d8c;
    color: white;
    transform: translateY(-5px);
}

.info-item span {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.info-item small {
    color: #5a6a7a;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f8fafd;
    padding: 4px 12px;
    border-radius: 20px;
}

/* No Data */
.no-data {
    text-align: center;
    padding: 4rem;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.no-data i {
    font-size: 4rem;
    color: var(--border-light);
    margin-bottom: 1rem;
}

.no-data p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ========== LIGHTBOX MODAL ========== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: block;
}

.lightbox-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-container.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.lightbox-container img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* ========== TOMBOL KEMBALI ========== */
.button-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-kembali {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    background: var(--primary-blue);
    color: var(--pure-white);
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-kembali:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-kembali i {
    font-size: 0.9rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -48%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .struktur-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 250px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .struktur-card {
        padding: 1.5rem;
    }
    
    .struktur-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .button-wrapper {
        justify-content: center;
    }
    
    .zoom-hint {
        bottom: 10px;
        right: 10px;
        padding: 3px 10px;
        font-size: 0.6rem;
    }
    
    .lightbox-close {
        top: -30px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    .btn-kembali {
        width: 100%;
        justify-content: center;
    }
}