/* Reset kecil */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: #223;
    background: #f5f7f6;
}

.background-section {
    background: url("https://cdn.rri.co.id/berita/51/images/1705982291998-I/5bbd24phknhn99p.jpeg") no-repeat center center;
    background-size: cover;
}

/* NAVBAR */
.site-navbar {
    background: linear-gradient(90deg, #116b3f, #000);
    border-bottom: 1px solid #000;
    position: sticky;
    top: 0;
    z-index: 60;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 1px 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0px;
    text-decoration: none;
    color: inherit;
}
.brand-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
}
.brand-title {
    font-weight: 800;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}
.brand-sub {
    font-size: 12px;
    color: #ccc;
    margin-top: 2px;
}

/* nav links */
.nav-links {
    margin-left: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
}
.nav-item {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}
.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-search {
    display: flex;
    gap: 8px;
}
.nav-search input {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #e6efe7;
    min-width: 220px;
}
.nav-search button {
    background: #1f6f3f;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}
/* Standardized Button Styles */
.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #1f6f3f, #2aa05a);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2aa05a, #1f6f3f);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 111, 63, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-cancel {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: #fff;
}

.btn-cancel:hover {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-ghost {
    background: rgba(17, 107, 63, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(31, 111, 63, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

/* mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
}

/* HERO */
.hero {
    padding: 40px 0;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 480px;
    align-items: center;
    padding: 0 20px;
}
.hero-left h1 {
    font-size: 34px;
    margin: 0 0 12px;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.hero-left .lead {
    color: #f0f0f0;
    margin-bottom: 18px;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.hero-search {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}
.hero-search input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e6efe7;
}
.hero-ctas .btn {
    margin-right: 8px;
}

/* hero map preview */
.hero-right {
    position: relative;
}
.hero-map {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    border: 2px solid #e9efe7;
    overflow: hidden;
    background: #eaeff0;
}
.map-caption {
    margin-top: 8px;
    font-size: 13px;
    color: #6c7a72;
}

/* STATS */
.stats-section {
    padding: 28px 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.stats-grid {
    display: flex;
    gap: 16px;
}
.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 6px 18px rgba(20, 80, 40, 0.06);
    flex: 1;
}
.stat-icon {
    font-size: 28px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(180deg, #eef7ef, #f8fffa);
    color: #116b3f;
}
.stat-value {
    font-weight: 800;
    font-size: 20px;
    color: #133f2a;
}
.stat-label {
    color: #71867f;
    font-size: 13px;
}

/* FEATURES */
.features-section {
    padding: 28px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.feature {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(20, 80, 40, 0.04);
    text-align: left;
}
.feature-icon {
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f0fbf3;
    color: #14673c;
    margin-bottom: 8px;
}

/* LATEST LIST */
.latest-section {
    padding: 30px 0;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.latest-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.latest-item {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid #eef6ef;
}
.latest-item .li-symbol {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f6fbf6;
    color: #18673b;
}

/* CTA */
.cta-section {
    background: linear-gradient(90deg, #f1faf5, #ffffff);
    padding: 28px 0;
    border-top: 1px solid #eef6ef;
}
.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 20px;
}

/* FOOTER */
.site-footer {
    background: #0f2b20;
    color: #dcebe0;
    padding: 28px 0;
    margin-top: 20px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    padding: 0 20px;
}
.footer-col {
    flex: 1;
}
.footer-logo {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
}
.footer-col h4 {
    margin: 0 0 8px;
    color: #fff;
}
.footer-col p,
.footer-col a,
.footer-col small {
    color: #cde6d7;
    font-size: 14px;
    text-decoration: none;
}
.footer-bottom {
    max-width: 1200px;
    margin: 18px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    color: #9fbda9;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .latest-list {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    #nav-links.show {
        display: flex;
        flex-direction: column;
        gap: 6px;
        position: absolute;
        top: 72px;
        left: 20px;
        right: 20px;
        background: #fff;
        padding: 12px;
        border-radius: 10px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }
}
