/* ============================================
   SETARA NAFFAS ECOSYSTEM กค STYLE.CSS
   Komposisi: 40% Orange กค 40% Putih กค 20% Hitam
   ============================================ */

:root {
    --orange: #E67E22;
    --orange-light: #FFF3E0;
    --orange-dark: #d4701a;
    --white: #ffffff;
    --off-white: #fafafa;
    --black: #1a1a1a;
    --dark: #333333;
    --gray: #666666;
    --gray-light: #888888;
    --border: #eeeeee;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ========== NAVBAR ========== */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    position: relative;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-img { width: 38px; height: 38px; border-radius: 8px; object-fit: contain; }
.logo-text { font-weight: 700; font-size: 1rem; color: var(--black); line-height: 1.2; }
.logo-text small {
    display: block;
    font-weight: 400;
    font-size: 0.65rem;
    color: var(--orange);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    padding: 8px;
    line-height: 1;
}

/* ========== HERO ========== */
.hero {
    background: var(--orange-light);
    text-align: center;
    padding: 80px 0 60px;
}
.badge {
    display: inline-block;
    background: var(--white);
    color: var(--orange);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    max-width: 680px;
    margin: 0 auto 20px;
    line-height: 1.25;
    color: var(--black);
}
.highlight { color: var(--orange); }
.hero-desc {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 620px;
    margin: 0 auto 32px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline { border: 2px solid var(--orange); color: var(--orange); background: transparent; }
.btn-outline:hover { background: var(--orange-light); }

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--white);
    border-radius: 20px;
    padding: 36px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.stat-box { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--orange); display: block; }
.stat-label { font-size: 0.85rem; color: var(--gray-light); margin-top: 4px; }

/* ========== SECTION HEADER ========== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
    display: inline-block;
    background: var(--orange-light);
    color: var(--orange);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.section-title { font-size: 2rem; font-weight: 800; color: var(--black); }

/* ========== PROGRAM ========== */
.section-program { padding: 80px 0; background: var(--white); }
.program-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prog-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 28px;
    border: 2px solid var(--border);
    transition: all 0.3s;
}
.prog-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); }
.prog-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.prog-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.prog-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.prog-link { color: var(--orange); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.prog-link:hover { text-decoration: underline; }

/* ========== PARTNER ========== */
.section-partner { padding: 80px 0; background: var(--off-white); }
.partner-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.partner-logo {
    width: 150px;
    height: 110px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 16px;
}
.partner-logo:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.partner-logo img {
    max-width: 110px;
    max-height: 55px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}
.partner-logo:hover img { filter: grayscale(0%); }
.partner-logo span { font-size: 2rem; }
.partner-logo small { font-size: 0.7rem; color: var(--gray-light); margin-top: 4px; }
.partner-cta { text-align: center; margin-top: 24px; color: var(--gray-light); font-size: 0.9rem; }
.partner-cta a { color: var(--orange); font-weight: 600; }

/* ========== BERITA ========== */
.section-berita { padding: 80px 0; background: var(--white); }
.berita-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.berita-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.berita-item:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-color: var(--orange);
    transform: translateY(-4px);
}
.berita-img {
    height: 140px;
    background: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.berita-date {
    display: inline-block;
    background: var(--orange-light);
    color: var(--orange);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    margin: 16px 0 10px 20px;
}
.berita-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; padding: 0 20px; }
.berita-item h4 a { color: var(--black); text-decoration: none; }
.berita-item h4 a:hover { color: var(--orange); }
.berita-item p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; margin-bottom: 8px; padding: 0 20px; }
.berita-author { font-size: 0.75rem; color: var(--gray-light); display: block; padding: 0 20px 20px; }
.berita-all { text-align: center; margin-top: 28px; }

/* ========== KONTAK ========== */
.section-kontak { padding: 80px 0; background: var(--white); }
.kontak-box {
    background: var(--black);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
}
.kontak-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.kontak-box p { font-size: 1.05rem; opacity: 0.8; margin-bottom: 32px; }

/* ========== FOOTER ========== */
.footer { background: var(--black); color: var(--white); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer h4 { margin-bottom: 12px; font-size: 1rem; }
.footer p, .footer a { color: #aaa; font-size: 0.9rem; text-decoration: none; display: block; margin-bottom: 6px; }
.footer a:hover { color: var(--orange); }
.footer-bottom { text-align: center; color: #666; font-size: 0.8rem; border-top: 1px solid #333; padding-top: 20px; }

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
    /* Navbar */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 14px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 16px 16px;
        z-index: 200;
    }
    .nav-links.show { display: flex; }
    .menu-toggle { display: block; }

    /* Hero */
    .hero { padding: 50px 0 40px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-desc { font-size: 0.9rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; text-align: center; }

    /* Stats */
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 24px 12px; }
    .stat-number { font-size: 1.5rem; }

    /* Sections */
    .section-program,
    .section-partner,
    .section-berita,
    .section-kontak { padding: 50px 0; }

    /* Program */
    .program-cards { grid-template-columns: 1fr; gap: 16px; }

    /* Partner */
    .partner-row { gap: 12px; }
    .partner-logo { width: 130px; height: 90px; }

    /* Berita */
    .berita-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Section Title */
    .section-title { font-size: 1.5rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer { padding: 36px 0 20px; }

    /* Kontak */
    .kontak-box { padding: 36px 20px; }
    .kontak-box h2 { font-size: 1.4rem; }
}