/* CONFIGURASI GLOBAL */
:root {
    --primary-color: #1e3a8a; /* Navy Modern */
    --secondary-color: #3b82f6; /* Blue Tech */
    --text-dark: #1f2937; /* Hitam Soft nyaman dibaca */
    --text-light: #4b5563; /* Abu-abu Soft untuk deskripsi */
    --bg-light: #f8fafc; /* Latar belakang terang lembut */
    --bg-white: #ffffff;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
}

/* KONTEN BERSIH / ANTI-SARA & AMAN */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* NAVIGASI RESPONSIF */
nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
}

.nav-container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container .logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-container .logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* BERANDA (HERO SECTION) */
header {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent), 
                radial-gradient(circle at bottom left, rgba(30, 58, 138, 0.05), transparent);
    padding: 120px 0 80px 0;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.hero-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.pre-title {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

header h1 {
    font-size: 42px;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

header .highlight {
    color: var(--secondary-color);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-badges span {
    background: #eff6ff;
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 6px -1px rgba(30, 58, 138, 0.2);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #172554;
    transform: translateY(-2px);
}

/* ELEMEN JUDUL UMUM */
section {
    padding: 80px 5%;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-top: -35px;
    margin-bottom: 40px;
    font-size: 15px;
}

/* BIODATA CARD */
.bio-wrapper {
    display: flex;
    justify-content: center;
}

.bio-card {
    background: var(--bg-white);
    width: 100%;
    max-width: 750px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.bio-row {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.bio-row:last-child {
    border-bottom: none;
}

.bio-row .label {
    width: 35%;
    font-weight: 600;
    color: var(--text-light);
    font-size: 15px;
}

.bio-row .value {
    width: 65%;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
}

.font-code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}

/* CARDS GRID (ALASAN & CITA) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.info-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 19px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-light);
    text-align: justify;
}

/* GALERI TATA LETAK */
.gallery-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-box {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.img-container {
    overflow: hidden;
    height: 220px;
    background-color: #edf2f7;
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-box:hover img {
    transform: scale(1.05);
}

.gallery-desc {
    padding: 20px;
}

.gallery-desc h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.gallery-desc p {
    font-size: 13px;
    color: var(--text-light);
}

/* FOOTER */
footer {
    background-color: var(--primary-color);
    color: #93c5fd;
    padding: 30px 0;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.footer-content p {
    font-size: 14px;
    font-weight: 500;
}

.footer-sub {
    font-size: 12px;
    color: #60a5fa;
    margin-top: 5px;
}

/* RESPONSIVE DESIGN (BREAKPOINTS) */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
    }

    header h1 {
        font-size: 30px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .bio-row {
        flex-direction: column;
        gap: 4px;
    }

    .bio-row .label {
        width: 100%;
        font-size: 13px;
    }

    .bio-row .value {
        width: 100%;
    }
    
    section {
        padding: 50px 20px;
    }
}