/* ======================================================
   Direktori Perpustakaan Digital
   Kementerian Pertanian Republik Indonesia
====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #059669;
    /* Diselaraskan dengan nuansa emerald Tailwind */
    --primary-dark: #047857;
    --secondary: #10B981;
    --light: #F8FAFC;
    /* slate-50 */
    --white: #FFFFFF;
    --text: #1E293B;
    /* slate-800 */
    --muted: #64748B;
    /* slate-500 */
    --border: #E2E8F0;
    /* slate-200 */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --radius: 16px;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

/* ===========================
   HEADER CUSTOM (Jika Dipakai)
=========================== */

.site-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    flex-shrink: 0;
}

.header-title h1 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
}

.header-title p {
    margin-top: 6px;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
}

/* ===========================
   STATISTICS & GRID
=========================== */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h3 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-title {
    margin: 40px 0 20px;
    font-size: 30px;
    font-weight: 700;
}

/* ===========================
   RESPONSIVE MOBILE
=========================== */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-title h1 {
        font-size: 28px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}