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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f4f7fa;
    color: #333;
    line-height: 1.6;
}

/* =====================
   NAVBAR
===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    gap: 20px;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    color: white;
}

.navbar.scrolled {
    background: #2e7d32;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #ffd54f;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* =====================
   HERO
===================== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide:nth-child(1) { background-image: url('../img/fotokarta.jpg'); }
.slide:nth-child(2) { background-image: url('../img/fotoibu2kwt.jpg'); }
.slide:nth-child(3) { background-image: url('../img/fotojamaah.jpg'); }
.slide:nth-child(4) { background-image: url('../img/fotodemplot.jpg'); }

.slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 { font-size: 48px; }
.hero p  { margin-top: 15px; font-size: 18px; }

/* =====================
   CONTAINER & SECTION
===================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    min-height: 100vh;
    padding: 100px 10%;
    display: flex;
    align-items: center;
}

.section-title {
    text-align: center;
    font-size: 38px;
    color: #1b5e20;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #2e7d32;
    display: block;
    margin: 15px auto 0;
    border-radius: 4px;
}

/* =====================
   TENTANG
===================== */
.tentang-section {
    background: linear-gradient(to right, #ffffff, #f4f7fa);
}

.tentang-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.tentang-text {
    flex: 1;
    min-width: 280px;
}

.tentang-text h2 {
    font-size: 80px;
    color: #1e5631;
    margin-bottom: 20px;
    line-height: 1;
}

.tentang-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.tentang-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 25px 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.4s;
}

.stat-card span { font-size: 28px; }
.stat-card h3 { font-size: 28px; color: #2e8b57; margin: 10px 0 5px; }
.stat-card p  { font-size: 14px; font-weight: 500; }
.stat-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }

/* =====================
   PROFIL
===================== */
.profil-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.profil-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.profil-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.profil-box h3 {
    margin-bottom: 25px;
    color: #2e8b57;
    font-size: 22px;
    font-weight: 600;
}

.profil-timeline { padding-left: 0; }

.profil-timeline .timeline-item {
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.profil-timeline .timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: #2e7d32;
    border-radius: 50%;
}

.visi-card {
    background: #1e5631;
    color: #fff;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 35px;
}

.visi-card h3 { color: #ffffff; margin-bottom: 15px; }

.misi-card ul { list-style: none; padding: 0; }

.misi-card li {
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.misi-card li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #2e8b57;
    font-weight: bold;
}

/* =====================
   STRUKTUR ORGANISASI
===================== */
.struktur-section {
    padding: 100px 8%;
    background: linear-gradient(to bottom, #f4f6f9, #ffffff);
    text-align: center;
}

.struktur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

.struktur-card {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
    position: relative;
}

.struktur-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.struktur-card.utama {
    border: 2px solid #2e7d32;
    transform: scale(1.05);
}

.struktur-card.utama:hover { transform: scale(1.08); }
.struktur-card h3 { margin-top: 20px; font-size: 18px; color: #1b5e20; }
.struktur-card p  { margin-top: 8px; font-size: 15px; color: #555; }

.avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #e8f5e9;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }

.struktur-desc {
    margin-top: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    line-height: 1.7;
}

/* =====================
   KEGIATAN
===================== */
.kegiatan-section {
    padding: 100px 8%;
    background: #ffffff;
    text-align: center;
}

.kegiatan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.kegiatan-card {
    background: #f9fafb;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: 0.4s ease;
}

.kegiatan-card:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(0,0,0,0.12); }
.kegiatan-card .icon { font-size: 40px; margin-bottom: 15px; }
.kegiatan-card h3 { color: #1b5e20; margin-bottom: 10px; font-size: 18px; }
.kegiatan-card p  { font-size: 14px; color: #555; line-height: 1.6; }

.jadwal {
    display: inline-block;
    background: #2e7d32;
    color: white;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.tujuan-kegiatan {
    margin-top: 60px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    background: #f1f8f4;
    border-radius: 15px;
}

.tujuan-kegiatan h3 { color: #1b5e20; margin-bottom: 15px; }

/* =====================
   UMKM
===================== */
.umkm-section {
    padding: 100px 8%;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    text-align: center;
}

.section-subtitle { font-size: 14px; color: #777; margin-bottom: 50px; }

.umkm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.umkm-card {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
    text-align: left;
    transition: 0.35s ease;
}

.umkm-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,0,0,0.11); }

.umkm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.umkm-header h3 { color: #1b5e20; font-size: 17px; font-weight: 700; }

.badge {
    background: #2e7d32;
    color: white;
    font-size: 11px;
    padding: 5px 11px;
    border-radius: 20px;
    font-weight: 600;
}

.umkm-list { list-style: none; padding: 0; margin: 0; }

.umkm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    font-size: 13.5px;
    color: #444;
    margin-bottom: 4px;
}

.umkm-item:hover { background: #f0f9f2; transform: translateX(4px); color: #1b5e20; }
.umkm-item .emoji { font-size: 20px; flex-shrink: 0; }
.umkm-item-info { flex: 1; }
.umkm-item-info .nama-usaha { font-weight: 600; font-size: 13px; color: #1b5e20; }
.umkm-item-info .pemilik { font-size: 12px; color: #888; }

.umkm-item .lihat-btn {
    font-size: 11px;
    color: #2e7d32;
    font-weight: 600;
    background: #e8f5e9;
    padding: 3px 9px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.umkm-item:hover .lihat-btn { opacity: 1; }

/* =====================
   MODAL UMKM
===================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-img-wrap {
    width: 100%;
    height: 220px;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: none; }
.modal-img-wrap img.loaded { display: block; }
.modal-emoji-fallback { font-size: 80px; }

.modal-kategori {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(46, 125, 50, 0.88);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover { background: rgba(0, 0, 0, 0.6); }

.modal-body { padding: 24px 28px 28px; }
.modal-rt      { font-size: 12px; color: #2e7d32; font-weight: 600; margin-bottom: 4px; }
.modal-nama    { font-size: 22px; font-weight: 700; color: #1b5e20; margin-bottom: 2px; }
.modal-pemilik { font-size: 13px; color: #888; margin-bottom: 16px; }

.modal-harga {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #2e7d32;
    background: #f0f9f2;
    padding: 6px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.modal-desc { font-size: 13.5px; color: #555; line-height: 1.7; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 12px; }

.btn-beli {
    flex: 1;
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
}

.btn-beli:hover { background: #1b5e20; transform: translateY(-2px); }

.btn-tutup {
    background: #f4f7fa;
    color: #555;
    border: none;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-tutup:hover { background: #e0e0e0; }

/* =====================
   FASILITAS
===================== */
.fasilitas-section {
    padding: 100px 8%;
    background: #f4f8f5;
    text-align: center;
}

.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

.fasilitas-card {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: 0.4s ease;
}

.fasilitas-card:hover { transform: translateY(-10px); box-shadow: 0 20px 45px rgba(0,0,0,0.12); }
.fasilitas-card .icon { font-size: 45px; margin-bottom: 20px; }
.fasilitas-card h3 { color: #1b5e20; margin-bottom: 15px; font-size: 18px; }
.fasilitas-card p  { font-size: 14px; color: #555; line-height: 1.6; }

/* =====================
   AGENDA / TIMELINE
===================== */
.agenda-section {
    padding: 100px 8%;
    background: #ffffff;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: #2e7d32;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) { flex-direction: row-reverse; }

.timeline-date {
    width: 120px;
    height: 120px;
    background: #2e7d32;
    color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.timeline-date .tanggal { font-size: 30px; }
.timeline-date .bulan   { font-size: 14px; letter-spacing: 2px; }

.timeline-content {
    width: 40%;
    background: #f4f8f5;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.timeline-content h3 { color: #1b5e20; margin-bottom: 10px; }
.timeline-content p  { font-size: 14px; color: #555; line-height: 1.6; }

/* =====================
   CARD & GRID UMUM
===================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.4s;
}

.card:hover { transform: translateY(-8px); }

/* =====================
   FOOTER
===================== */
.site-footer {
    background: linear-gradient(135deg, #1a5c2a 0%, #2e7d32 60%, #1b6b30 100%);
    color: #fff;
    padding: 56px 40px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: 60px; left: -80px;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1fr 1.1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 48px;
    position: relative;
    z-index: 1;
}

.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

.footer-logo {
    width: 64px; height: 64px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.footer-identity h3 { font-size: 16px; font-weight: 700; line-height: 1.35; }
.footer-address { font-size: 13px; line-height: 1.9; opacity: 0.88; margin-bottom: 10px; }
.footer-kode { font-size: 13px; opacity: 0.82; }
.footer-kode strong { font-weight: 700; }
.footer-col-title { font-size: 15px; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.3px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.8; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }

.social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.social-btn:hover { background: rgba(255, 255, 255, 0.28); transform: translateY(-2px); }

.footer-nav { display: flex; flex-direction: column; gap: 9px; }

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    opacity: 0.85;
    transition: opacity 0.2s, padding-left 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 9px;
}

.footer-nav a:last-child { border-bottom: none; }
.footer-nav a:hover { opacity: 1; padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 0;
    text-align: center;
    font-size: 12.5px;
    opacity: 0.72;
    position: relative;
    z-index: 1;
}

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

/* ── TABLET (max 1024px) ── */
@media (max-width: 1024px) {
    .navbar { padding: 15px 24px; }
    .hero h1 { font-size: 38px; }
    .hero p  { font-size: 16px; }
    .tentang-text h2 { font-size: 60px; }
    .profil-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .struktur-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .struktur-card.utama { transform: none; }
    .kegiatan-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .umkm-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .fasilitas-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── MOBILE (max 768px) ── */
@media (max-width: 768px) {

    /* Navbar */
    .navbar { padding: 14px 20px; }
    .logo   { font-size: 15px; }
    .hamburger { display: block; }

    .nav-menu {
        position: absolute;
        top: 60px; right: 0;
        flex-direction: column;
        background: #2e7d32;
        width: 200px;
        display: none;
        padding: 20px;
    }

    .nav-menu.active { display: flex; }

    /* Hero */
    .hero h1 { font-size: 26px; line-height: 1.3; }
    .hero p  { font-size: 14px; margin-top: 10px; }

    /* Tentang */
    .tentang-section { padding: 80px 6%; }
    .tentang-container { flex-direction: column; gap: 30px; }
    .tentang-text { text-align: center; }
    .tentang-text h2 { font-size: 36px; }
    .tentang-text p { text-align: center; }
    .tentang-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat-card { padding: 18px 10px; }
    .stat-card h3 { font-size: 22px; }

    /* Section title */
    .section-title { font-size: 26px !important; margin-bottom: 36px; }

    /* Profil */
    .profil-section { padding: 60px 0; }
    .profil-box { padding: 24px 20px; }
    .profil-box h3 { font-size: 18px; }

    /* Struktur */
    .struktur-section { padding: 70px 5%; }
    .struktur-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .struktur-card { padding: 24px 16px; }
    .struktur-card h3 { font-size: 14px; }
    .struktur-card p  { font-size: 12px; }
    .avatar { width: 80px; height: 80px; }
    .struktur-card.utama { transform: none; }

    /* Kegiatan */
    .kegiatan-section { padding: 70px 5%; }
    .kegiatan-grid { grid-template-columns: 1fr; gap: 18px; }
    .kegiatan-card { padding: 24px 18px; }

    /* UMKM */
    .umkm-section { padding: 70px 5%; }
    .umkm-grid { grid-template-columns: 1fr !important; gap: 18px; }
    .umkm-card { padding: 22px 18px; }

    /* Modal */
    .modal { border-radius: 18px; }
    .modal-img-wrap { height: 180px; }
    .modal-nama { font-size: 18px; }
    .modal-body { padding: 18px; }
    .modal-harga { font-size: 17px; }

    /* Fasilitas */
    .fasilitas-section { padding: 70px 5%; }
    .fasilitas-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .fasilitas-card { padding: 24px 16px; }
    .fasilitas-card .icon { font-size: 32px; }
    .fasilitas-card h3 { font-size: 15px; }

    /* Agenda */
    .agenda-section { padding: 70px 5%; }
    .timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }
    .timeline-date { width: 90px; height: 90px; border-radius: 14px; margin-bottom: 12px; }
    .timeline-date .tanggal { font-size: 22px; }
    .timeline-date .bulan   { font-size: 11px; }
    .timeline-content { width: 100%; }

    /* Footer */
    .site-footer { padding: 40px 20px 0; }
    .footer-main { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
    .footer-bottom { font-size: 11px; padding: 14px 0; }
}

/* ── SMALL MOBILE (max 480px) ── */
@media (max-width: 480px) {
    .hero h1 { font-size: 22px; }
    .tentang-stats { grid-template-columns: repeat(2, 1fr); }
    .struktur-grid { grid-template-columns: 1fr; }
    .fasilitas-grid { grid-template-columns: 1fr; }
    .kegiatan-section,
    .umkm-section,
    .fasilitas-section,
    .agenda-section,
    .struktur-section { padding: 60px 4%; }
}

/* =====================
   GALERI
===================== */
.galeri-section {
  padding: 100px 8%;
  background: #f8f9fa;
  text-align: center;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.galeri-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.galeri-item:hover img { transform: scale(1.07); }

.galeri-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 24px 14px 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeri-item:hover .galeri-caption { opacity: 1; }

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lb-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.lb-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
}

.lb-content p {
  color: #fff;
  margin-top: 14px;
  font-size: 15px;
  opacity: 0.85;
}

.lb-close {
  position: absolute;
  top: 20px; right: 24px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.lb-close:hover { background: rgba(255,255,255,0.3); }

/* Responsive galeri */
@media (max-width: 768px) {
  .galeri-section { padding: 70px 5%; }
  .galeri-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
  .galeri-grid { grid-template-columns: 1fr; }
}
