/* =============================================================
   DESA.CSS - Stylesheet Utama Website Kantor Desa Teluk Bakung
   Tema: Profesional, Formal - Mirip Kemenkeu RI
   Palet: Navy/Biru Tua (#1a3a6c), Biru Muda (#2563a8/#4a90d9),
          Putih (#ffffff), Abu-abu terang (#f4f6fb)
   ============================================================= */

/* --- GOOGLE FONTS IMPORT --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@400;700&display=swap');

/* =============================================================
   1. CSS CUSTOM PROPERTIES (VARIABEL WARNA & FONT)
   Edit: ubah variabel ini untuk mengubah seluruh tema warna
   ============================================================= */
:root {
    /* Warna Utama - Biru Tua (Navy) */
    --navy:          #1a3a6c;     /* Warna dominant utama */
    --navy-dark:     #122850;     /* Hover/aktif nav */
    --navy-darker:   #0d1f3d;     /* Footer, overlay gelap */
    --navy-light:    #234e8e;     /* Variasi navy lebih terang */

    /* Warna Aksen - Biru Muda */
    --accent:        #2563a8;     /* Aksen tombol, badge */
    --accent-light:  #4a90d9;     /* Hover aksen */
    --accent-bright: #5ba3e0;     /* Highlight kecil */

    /* Warna Latar */
    --bg-light:      #f4f6fb;     /* Background section abu-abu */
    --bg-white:      #ffffff;     /* Background putih */
    --bg-card:       #fafcff;     /* Background card */

    /* Warna Teks */
    --text-dark:     #1e293b;     /* Teks utama */
    --text-muted:    #64748b;     /* Teks sekunder */
    --text-light:    #94a3b8;     /* Teks tersier */

    /* Topbar */
    --topbar-bg:     #0d1f3d;     /* Warna background topbar */
    --topbar-text:   rgba(255,255,255,0.75);

    /* Border & Shadow */
    --border-light:  rgba(26, 58, 108, 0.08);
    --shadow-sm:     0 2px 8px rgba(26,58,108,0.08);
    --shadow-md:     0 4px 20px rgba(26,58,108,0.12);
    --shadow-lg:     0 10px 40px rgba(26,58,108,0.16);

    /* Radius */
    --radius-sm:     6px;
    --radius-md:     12px;
    --radius-lg:     20px;

    /* Transisi */
    --transition:    all 0.3s ease;

    /* Font */
    --font-body:     'Inter', sans-serif;
    --font-heading:  'Merriweather', serif;
}

/* =============================================================
   2. RESET & BASE STYLES
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; }

.section-padding { padding: 80px 0; }

/* =============================================================
   3. TOPBAR
   ============================================================= */
.topbar {
    background-color: var(--topbar-bg);
    padding: 7px 0;
    font-size: 12.5px;
    position: relative;
    z-index: 1001;
}

.topbar-item {
    color: var(--topbar-text);
    display: flex;
    align-items: center;
    font-size: 12.5px;
    transition: var(--transition);
}
.topbar-item:hover { color: #fff; }

.topbar-label { color: var(--topbar-text); font-size: 12px; }

.topbar-social {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.15);
}
.topbar-social:hover {
    background: var(--accent-light);
    color: #fff;
    border-color: var(--accent-light);
    transform: translateY(-1px);
}

/* =============================================================
   4. NAVBAR UTAMA
   ============================================================= */
.navbar-desa {
    background-color: var(--navy);
    padding: 0;
    box-shadow: var(--shadow-md);
    top: 37px; /* tinggi topbar */
    z-index: 1000;
    transition: all 0.4s ease;
}

/* Efek scroll - navbar jadi lebih solid */
.navbar-desa.navbar-scrolled {
    top: 0;
    background-color: var(--navy-darker);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

/* Brand / Logo */
.navbar-brand { padding: 10px 0; }

.navbar-logo-img { transition: var(--transition); }

.navbar-logo-fallback {
    width: 50px; height: 50px;
    background: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
}

.brand-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.brand-subtitle {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    font-weight: 400;
}

/* Nav Links */
.navbar-desa .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 13.5px;
    padding: 18px 14px !important;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

.navbar-desa .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.07);
}

.navbar-desa .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

/* Garis aktif bawah */
.navbar-desa .nav-link.active::after,
.navbar-desa .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 3px;
    background: var(--accent-light);
    border-radius: 3px 3px 0 0;
}

/* Dropdown */
.dropdown-menu-desa {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px;
    margin-top: 0;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-menu-desa .dropdown-item {
    color: var(--text-dark);
    font-size: 13.5px;
    font-weight: 500;
    padding: 9px 14px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}
.dropdown-menu-desa .dropdown-item:hover,
.dropdown-menu-desa .dropdown-item.active {
    background-color: var(--bg-light);
    color: var(--navy);
}
.dropdown-menu-desa .dropdown-item i {
    color: var(--accent);
    font-size: 16px;
}

/* Toggler mobile */
.navbar-toggler { border: none; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon-custom { color: #fff; font-size: 24px; line-height: 1; }

.navbar-mobile-divider { border-top: 1px solid rgba(255,255,255,0.1); margin: 8px 0; }

/* =============================================================
   5. TOMBOL BACK TO TOP
   ============================================================= */
.btn-back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    border: none;
    display: none; /* awal hidden, JS yang show */
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition);
    cursor: pointer;
}
.btn-back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
    color: #fff;
}

/* =============================================================
   6. PAGE HEADER (Banner judul halaman internal)
   ============================================================= */
.page-header {
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 50%, var(--accent) 100%);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header-overlay { display: none; }

.page-header-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}
.page-breadcrumb .breadcrumb-item,
.page-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.75);
    font-size: 13.5px;
}
.page-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.page-breadcrumb .breadcrumb-item.active { color: #fff; font-weight: 500; }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* =============================================================
   7. SECTION HEADER (Judul tiap section)
   ============================================================= */
.section-header { margin-bottom: 12px; }

.section-tag {
    display: inline-block;
    background: rgba(37, 99, 168, 0.12);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 10px;
    border-left: 3px solid var(--accent);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 15.5px;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light-desa { background-color: var(--bg-light); }

/* =============================================================
   8. HERO SECTION (Beranda)
   ============================================================= */
.hero-section {
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 55%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: rgba(10, 20, 50, 0.25);
}

.hero-pattern {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(74,144,217,0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.min-vh-hero { min-height: calc(100vh - 117px); padding: 80px 0 60px; }

.hero-label {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-title-accent {
    color: var(--accent-light);
    position: relative;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-hero-primary {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(37,99,168,0.4);
}
.btn-hero-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,99,168,0.5);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Info Card */
.hero-info-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-info-header {
    background: rgba(255,255,255,0.1);
    padding: 16px 24px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.hero-info-body { padding: 8px 0; }

.hero-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: var(--transition);
}
.hero-info-item:last-child { border-bottom: none; }
.hero-info-item:hover { background: rgba(255,255,255,0.05); }

.hero-info-item i {
    font-size: 20px;
    color: var(--accent-light);
    margin-top: 2px;
    flex-shrink: 0;
}
.hero-info-item strong {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-bottom: 2px;
}
.hero-info-item span {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
}
.text-accent { color: var(--accent-light) !important; }

/* Hero Wave */
.hero-wave {
    position: absolute; bottom: -1px; left: 0; right: 0;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

/* =============================================================
   9. STATISTIK SECTION
   ============================================================= */
.stats-section {
    padding: 0 0 60px;
    position: relative;
    z-index: 1;
}

.stats-card-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 36px 32px;
    transition: var(--transition);
}
.stat-item:hover { background: var(--bg-light); }

.stat-border { border-left: 1px solid var(--border-light); }

.stat-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.bg-primary-soft  { background: rgba(26,58,108,0.1);  color: var(--navy); }
.bg-accent-soft   { background: rgba(37,99,168,0.1);   color: var(--accent); }
.bg-success-soft  { background: rgba(22,163,74,0.1);   color: #16a34a; }
.bg-warning-soft  { background: rgba(217,119,6,0.1);   color: #d97706; }

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* =============================================================
   10. SAMBUTAN SECTION
   ============================================================= */
.sambutan-photo-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.sambutan-photo {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.sambutan-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--accent);
}
.sambutan-badge i { font-size: 22px; color: var(--accent); }
.sambutan-badge strong { display: block; font-size: 14px; color: var(--navy); }
.sambutan-badge span { font-size: 12px; color: var(--text-muted); }

.sambutan-ornament {
    position: absolute;
    top: -15px; left: -15px;
    width: 80px; height: 80px;
    background: rgba(37,99,168,0.08);
    border-radius: 50%;
    z-index: -1;
}

.sambutan-lead {
    font-size: 17px;
    font-style: italic;
    color: var(--navy);
    font-weight: 500;
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    margin-bottom: 20px;
}

.sambutan-signature {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-light);
}
.sig-name { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.sig-title { font-size: 13px; color: var(--text-muted); margin: 0; }

/* =============================================================
   11. LAYANAN SECTION
   ============================================================= */
.layanan-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.layanan-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.layanan-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(37,99,168,0.2);
}
.layanan-card:hover::before { transform: scaleX(1); }

.layanan-icon {
    width: 60px; height: 60px;
    background: rgba(26,58,108,0.07);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    color: var(--navy);
    margin-bottom: 20px;
    transition: var(--transition);
}
.layanan-card:hover .layanan-icon {
    background: var(--navy);
    color: #fff;
}

.layanan-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.layanan-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.layanan-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}
.layanan-link:hover { color: var(--navy); gap: 10px; }

/* =============================================================
   12. BERITA SECTION
   ============================================================= */
.berita-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); transition: var(--transition); height: 100%; }
.berita-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.berita-img-wrap { position: relative; overflow: hidden; height: 260px; }
.berita-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.berita-card:hover .berita-img { transform: scale(1.04); }

.berita-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--accent);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.berita-content { padding: 24px; }

.berita-meta {
    display: flex;
    gap: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.berita-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.4; }
.berita-title a { color: var(--navy); }
.berita-title a:hover { color: var(--accent); }

.berita-excerpt { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }

.berita-read-more { font-size: 13.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.berita-read-more:hover { color: var(--navy); gap: 10px; }

/* Berita Horizontal (kecil) */
.berita-horizontal { display: flex; gap: 16px; align-items: flex-start; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); padding: 16px; background: #fff; }
.berita-horizontal:hover { box-shadow: var(--shadow-sm); }

.berita-img-wrap-sm { width: 120px; flex-shrink: 0; height: 90px; border-radius: 8px; overflow: hidden; }
.berita-img-sm { width: 100%; height: 100%; object-fit: cover; }

.berita-content-sm { flex: 1; }
.berita-title-sm { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 6px; }
.berita-title-sm a { color: var(--navy); }
.berita-title-sm a:hover { color: var(--accent); }
.berita-excerpt-sm { font-size: 12.5px; color: var(--text-muted); margin: 0; }

/* Berita list (halaman berita) */
.berita-list-card { display: flex; gap: 24px; padding: 24px; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-light); transition: var(--transition); }
.berita-list-card:hover { box-shadow: var(--shadow-md); }
.berita-list-img { width: 220px; flex-shrink: 0; height: 160px; border-radius: 10px; overflow: hidden; }
.berita-list-img img { width: 100%; height: 100%; object-fit: cover; }
.berita-list-content { flex: 1; }
.berita-list-title { font-size: 17px; font-weight: 700; color: var(--navy); margin: 8px 0; line-height: 1.4; }
.berita-list-title a { color: var(--navy); }
.berita-list-title a:hover { color: var(--accent); }
.berita-list-excerpt { font-size: 14px; color: var(--text-muted); }

.berita-cat { display: inline-block; background: var(--navy); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 50px; }
.berita-cat-sosial { background: var(--accent); }
.berita-cat-kegiatan { background: #16a34a; }

/* =============================================================
   13. PENGUMUMAN SECTION
   ============================================================= */
.pengumuman-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 28px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    gap: 16px;
}
.pengumuman-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.pengumuman-icon-wrap {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(26,58,108,0.08);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--navy);
}

.pengumuman-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px; background: rgba(220,38,38,0.1); color: #dc2626; }
.pengumuman-badge-info { background: rgba(37,99,168,0.1); color: var(--accent); }
.pengumuman-badge-success { background: rgba(22,163,74,0.1); color: #16a34a; }

.pengumuman-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.pengumuman-title a { color: var(--navy); }
.pengumuman-title a:hover { color: var(--accent); }
.pengumuman-date { font-size: 12.5px; color: var(--text-muted); margin-bottom: 10px; }
.pengumuman-text { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* List Pengumuman */
.pengumuman-list-card { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-light); padding: 28px; display: flex; gap: 20px; transition: var(--transition); margin-bottom: 20px; }
.pengumuman-list-card:hover { box-shadow: var(--shadow-md); }
.pengumuman-list-icon { width: 52px; height: 52px; flex-shrink: 0; background: rgba(26,58,108,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--navy); }
.bg-info-icon { background: rgba(37,99,168,0.08); color: var(--accent); }
.bg-success-icon { background: rgba(22,163,74,0.08); color: #16a34a; }
.pengumuman-list-content { flex: 1; }
.pengumuman-list-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.pengumuman-list-text { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.pengumuman-list-footer { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-muted); }

/* =============================================================
   14. PETA SECTION
   ============================================================= */
.peta-embed-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}
.peta-iframe { border-radius: var(--radius-md); display: block; }

.wilayah-info-list { margin: 20px 0; }
.wilayah-info-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.wilayah-info-item:last-child { border-bottom: none; }
.wilayah-label { color: var(--text-muted); width: 180px; flex-shrink: 0; }
.wilayah-value { font-weight: 600; color: var(--navy); }

/* =============================================================
   15. CTA SECTION
   ============================================================= */
.cta-section {
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(74,144,217,0.2) 0%, transparent 60%);
}
.cta-icon {
    width: 80px; height: 80px; margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
}
.cta-title { font-size: 2.2rem; color: #fff; margin-bottom: 16px; }
.cta-desc { font-size: 16px; color: rgba(255,255,255,0.78); margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-cta-primary { background: #fff; color: var(--navy); border: none; padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; transition: var(--transition); display: inline-flex; align-items: center; }
.btn-cta-primary:hover { background: var(--accent-light); color: #fff; transform: translateY(-2px); }

.btn-cta-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; transition: var(--transition); display: inline-flex; align-items: center; }
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

/* =============================================================
   16. TOMBOL UMUM
   ============================================================= */
.btn-desa-primary {
    background: var(--navy);
    color: #fff;
    border: 2px solid var(--navy);
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.btn-desa-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37,99,168,0.3);
}

.btn-desa-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.btn-desa-outline:hover {
    background: var(--navy);
    color: #fff;
}

.btn-desa-sm {
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.btn-desa-sm:hover { background: var(--accent); color: #fff; }

/* =============================================================
   17. SIDEBAR KOMPONEN
   ============================================================= */
.sidebar-widget {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-light);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
}
.sidebar-widget-title i { color: var(--accent); }

.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { border-bottom: 1px solid var(--border-light); }
.sidebar-menu li:last-child { border-bottom: none; }
.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}
.sidebar-menu a:hover, .sidebar-menu a.active {
    color: var(--accent);
    padding-left: 6px;
}
.sidebar-menu a.active { font-weight: 700; }

.sidebar-info-list { list-style: none; padding: 0; margin: 0; }
.sidebar-info-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border-light); font-size: 13.5px; }
.sidebar-info-list li:last-child { border-bottom: none; }
.info-label { color: var(--text-muted); }
.info-value { font-weight: 600; color: var(--navy); text-align: right; }

.sidebar-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 100%);
    color: #fff;
    text-align: center;
    border: none;
}
.sidebar-cta-icon { font-size: 40px; opacity: 0.9; margin-bottom: 12px; display: block; }
.sidebar-cta-title { font-size: 16px; color: #fff; margin-bottom: 8px; }
.sidebar-cta-desc { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 18px; }

/* Sidebar links */
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 13.5px; color: var(--text-dark); border-bottom: 1px solid var(--border-light); transition: var(--transition); }
.sidebar-links a:hover { color: var(--accent); padding-left: 6px; }
.sidebar-links li:last-child a { border-bottom: none; }

/* Sidebar pengumuman */
.sidebar-pengumuman-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.sidebar-pengumuman-item:last-child { border-bottom: none; }
.pengumuman-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 6px; }
.sidebar-pengumuman-title { font-size: 13.5px; font-weight: 600; color: var(--navy); display: block; line-height: 1.4; }
.sidebar-pengumuman-title:hover { color: var(--accent); }
.sidebar-pengumuman-date { font-size: 12px; color: var(--text-muted); margin: 2px 0 0; }

/* Sidebar agenda */
.sidebar-agenda-item { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.sidebar-agenda-item:last-child { border-bottom: none; }
.agenda-date-box { background: var(--navy); color: #fff; border-radius: 8px; width: 44px; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; padding: 6px; }
.agenda-day { font-size: 18px; font-weight: 700; line-height: 1; }
.agenda-month { font-size: 10px; opacity: 0.8; }
.agenda-title { font-size: 13.5px; font-weight: 600; color: var(--navy); margin: 0 0 2px; }
.agenda-time { font-size: 12px; color: var(--text-muted); margin: 0; }

/* =============================================================
   18. CONTENT CARD (untuk halaman detail)
   ============================================================= */
.content-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.content-title { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.content-subtitle { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.content-text { font-size: 15px; color: var(--text-dark); line-height: 1.8; margin-bottom: 16px; }
.content-hero-img { position: relative; }
.img-caption { text-align: center; font-size: 12.5px; color: var(--text-muted); margin-top: 8px; font-style: italic; }

/* =============================================================
   19. TIMELINE SEJARAH
   ============================================================= */
.timeline-desa { position: relative; padding-left: 32px; }
.timeline-desa::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--navy), var(--accent)); }

.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }

.timeline-year { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 6px; letter-spacing: 0.5px; }
.timeline-content { background: var(--bg-light); border-radius: 10px; padding: 16px 20px; border-left: 3px solid var(--accent); }
.timeline-content h6 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* =============================================================
   20. VISI MISI
   ============================================================= */
.visi-card {
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    color: #fff;
}
.visi-icon { font-size: 48px; color: rgba(255,255,255,0.5); flex-shrink: 0; }
.visi-label { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; opacity: 0.7; margin-bottom: 12px; }
.visi-text { font-size: 19px; font-style: italic; color: #fff; line-height: 1.6; margin: 0; font-weight: 500; }

.misi-list { display: flex; flex-direction: column; gap: 20px; margin-top: 12px; }
.misi-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px; background: var(--bg-light); border-radius: var(--radius-md); border-left: 4px solid var(--accent); transition: var(--transition); }
.misi-item:hover { background: rgba(37,99,168,0.06); }
.misi-number { font-size: 28px; font-weight: 800; color: rgba(26,58,108,0.15); flex-shrink: 0; line-height: 1; width: 44px; }
.misi-text h6 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.misi-text p { font-size: 14px; color: var(--text-muted); margin: 0; }

.nilai-card { background: var(--bg-light); border-radius: var(--radius-md); padding: 24px; text-align: center; border: 1px solid var(--border-light); transition: var(--transition); }
.nilai-card:hover { background: var(--navy); color: #fff; }
.nilai-card i { font-size: 32px; color: var(--accent); margin-bottom: 12px; display: block; }
.nilai-card:hover i { color: rgba(255,255,255,0.8); }
.nilai-card h6 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.nilai-card:hover h6 { color: #fff; }
.nilai-card p { font-size: 13px; color: var(--text-muted); margin: 0; }
.nilai-card:hover p { color: rgba(255,255,255,0.7); }

/* =============================================================
   21. STRUKTUR ORGANISASI
   ============================================================= */
.org-level { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.org-row { justify-content: center; }
.org-connector { width: 2px; height: 30px; background: var(--border-light); margin: 0 auto; }

.org-card { background: #fff; border: 2px solid var(--border-light); border-radius: var(--radius-md); padding: 16px; text-align: center; transition: var(--transition); width: 140px; }
.org-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }

.org-card-kepala { border-color: var(--navy); width: 180px; }
.org-card-sekdes { border-color: var(--accent); width: 180px; }
.org-card-kaur { border-color: rgba(37,99,168,0.3); width: 140px; }
.org-card-dusun { border-color: var(--border-light); width: 130px; }

.org-photo { margin: 0 auto 10px; }
.org-photo img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-light); }
.org-card-kepala .org-photo img { width: 90px; height: 90px; }

.org-name { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.org-jabatan { font-size: 11px; color: var(--accent); font-weight: 600; }

/* =============================================================
   22. KEPALA DESA PAGE
   ============================================================= */
.kades-photo-wrap { position: relative; display: inline-block; }
.kades-photo { width: 100%; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow-lg); max-height: 380px; }
.kades-badge { background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; margin-top: 12px; text-align: center; }
.kades-name { font-size: 1.8rem; color: var(--navy); margin-bottom: 4px; }
.kades-jabatan { font-size: 16px; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.kades-periode { font-size: 14px; color: var(--text-muted); }
.kades-divider { border-color: var(--border-light); margin: 16px 0; }
.kades-biodata { font-size: 14px; width: 100%; border-collapse: collapse; }
.kades-biodata tr td { padding: 7px 0; color: var(--text-dark); }
.kades-biodata tr td:first-child { color: var(--text-muted); width: 170px; }
.kades-signature-block { background: var(--bg-light); border-radius: 10px; padding: 16px 20px; margin-top: 24px; }

/* =============================================================
   23. DATA WILAYAH
   ============================================================= */
.data-stat-card { background: var(--navy); border-radius: var(--radius-md); padding: 20px; text-align: center; }
.data-stat-num { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.data-stat-label { font-size: 12.5px; color: rgba(255,255,255,0.7); margin: 0; }

.batas-wilayah-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.batas-item { background: var(--bg-light); border-radius: var(--radius-md); padding: 20px; text-align: center; border: 1px solid var(--border-light); }
.batas-icon { font-size: 24px; color: var(--accent); margin-bottom: 8px; }
.batas-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.batas-value { font-size: 14px; font-weight: 600; color: var(--navy); }

/* =============================================================
   24. AGENDA DETAIL
   ============================================================= */
.agenda-card { display: flex; gap: 24px; padding: 28px; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-light); margin-bottom: 20px; transition: var(--transition); }
.agenda-card:hover { box-shadow: var(--shadow-md); }
.agenda-card-done { opacity: 0.65; }

.agenda-card-date { background: var(--navy); color: #fff; border-radius: var(--radius-md); padding: 16px 20px; text-align: center; flex-shrink: 0; min-width: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.agenda-card-day { font-size: 28px; font-weight: 700; line-height: 1; }
.agenda-card-month { font-size: 13px; opacity: 0.8; }
.agenda-card-year { font-size: 11px; opacity: 0.6; }

.agenda-status { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 12px; border-radius: 50px; margin-bottom: 8px; }
.agenda-status-upcoming { background: rgba(37,99,168,0.1); color: var(--accent); }
.agenda-status-done { background: rgba(22,163,74,0.1); color: #16a34a; }

.agenda-card-title { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.agenda-card-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; flex-wrap: wrap; }
.agenda-card-desc { font-size: 14px; color: var(--text-muted); margin: 0; }

/* =============================================================
   25. POTENSI DESA
   ============================================================= */
.potensi-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); transition: var(--transition); height: 100%; }
.potensi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.potensi-img-wrap { position: relative; height: 220px; overflow: hidden; }
.potensi-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.potensi-card:hover .potensi-img { transform: scale(1.04); }
.potensi-badge { position: absolute; top: 16px; left: 16px; background: rgba(26,58,108,0.85); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 50px; backdrop-filter: blur(4px); }

.potensi-content { padding: 24px; }
.potensi-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.potensi-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.potensi-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 50px; background: rgba(37,99,168,0.1); color: var(--accent); }

.potensi-stats-bar { background: var(--navy); border-radius: var(--radius-md); padding: 40px 32px; color: #fff; margin-top: 16px; }
.potensi-stat h3 { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.potensi-stat p { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0; }

/* =============================================================
   26. DOWNLOAD PAGE
   ============================================================= */
.download-category-card { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-light); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; }
.download-cat-header { background: var(--navy); color: #fff; padding: 18px 24px; display: flex; align-items: center; gap: 12px; }
.download-cat-header i { font-size: 22px; }
.download-cat-header h5 { margin: 0; font-size: 16px; color: #fff; }
.download-list { padding: 12px 0; }
.download-item { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--border-light); transition: var(--transition); }
.download-item:last-child { border-bottom: none; }
.download-item:hover { background: var(--bg-light); }

.download-file-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.download-file-icon.pdf { background: rgba(220,38,38,0.1); color: #dc2626; }
.download-file-icon.doc { background: rgba(37,99,168,0.1); color: var(--accent); }
.download-file-icon.xls { background: rgba(22,163,74,0.1); color: #16a34a; }

.download-file-info { flex: 1; }
.download-file-info h6 { font-size: 14px; color: var(--navy); margin-bottom: 3px; font-weight: 600; }
.download-file-info p { font-size: 12px; color: var(--text-muted); margin: 0; }

.btn-download { width: 38px; height: 38px; border-radius: 8px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; transition: var(--transition); }
.btn-download:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* =============================================================
   27. ANGGARAN PAGE
   ============================================================= */
.apbdes-summary-card { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-light); padding: 24px; display: flex; align-items: center; gap: 20px; transition: var(--transition); }
.apbdes-summary-card:hover { box-shadow: var(--shadow-md); }
.apbdes-icon { font-size: 40px; }
.pendapatan .apbdes-icon { color: #16a34a; }
.belanja .apbdes-icon { color: #dc2626; }
.pembiayaan .apbdes-icon { color: var(--accent); }
.apbdes-label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.apbdes-amount { font-size: 20px; font-weight: 700; color: var(--navy); margin: 0; }

.anggaran-card { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-light); overflow: hidden; box-shadow: var(--shadow-sm); }
.anggaran-card-header { background: var(--navy); padding: 16px 24px; }
.anggaran-card-header h5 { color: #fff; margin: 0; font-size: 15px; }
.anggaran-card-header i { font-size: 20px; }

.table-anggaran { margin: 0; }
.apbdes-group td { background: rgba(26,58,108,0.03); }

/* =============================================================
   28. PENGADUAN / FORM
   ============================================================= */
.form-group-desa { display: flex; flex-direction: column; }
.form-label-desa { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-control-desa {
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 11px 16px;
    font-size: 14.5px;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--bg-white);
}
.form-control-desa:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37,99,168,0.12);
    outline: none;
}

.pengaduan-info-list { list-style: none; padding: 0; margin: 0; }
.pengaduan-info-list li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; font-size: 14px; color: var(--text-dark); border-bottom: 1px solid var(--border-light); }
.pengaduan-info-list li:last-child { border-bottom: none; }
.pengaduan-info-list i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* =============================================================
   29. KONTAK PAGE
   ============================================================= */
.kontak-list { display: flex; flex-direction: column; gap: 4px; }
.kontak-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.kontak-item:last-child { border-bottom: none; }
.kontak-icon { width: 44px; height: 44px; background: var(--navy); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.kontak-detail h6 { font-size: 13.5px; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.kontak-detail p { font-size: 15px; color: var(--navy); margin: 0; line-height: 1.6; }
.kontak-detail a { color: var(--accent); font-weight: 500; }
.kontak-detail a:hover { color: var(--navy); }

.kontak-sosmed-btn { width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: var(--transition); }
.kontak-sosmed-btn:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

/* =============================================================
   30. GALERI PAGE
   ============================================================= */
.galeri-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-filter { background: #fff; border: 1.5px solid var(--border-light); color: var(--text-muted); padding: 8px 20px; border-radius: 50px; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: var(--transition); }
.btn-filter:hover { border-color: var(--navy); color: var(--navy); }
.btn-filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.galeri-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.galeri-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); transition: var(--transition); background: #fff; }
.galeri-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.galeri-img-wrap { position: relative; height: 200px; overflow: hidden; }
.galeri-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.galeri-card:hover .galeri-img { transform: scale(1.05); }
.galeri-overlay { position: absolute; inset: 0; background: rgba(26,58,108,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.galeri-card:hover .galeri-overlay { opacity: 1; }
.galeri-zoom { width: 48px; height: 48px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--navy); transition: var(--transition); }
.galeri-zoom:hover { background: #fff; transform: scale(1.1); }
.galeri-caption { padding: 12px 16px; }
.galeri-caption p { margin: 0; font-size: 13.5px; color: var(--navy); font-weight: 500; }

/* =============================================================
   31. TABLE DESA
   ============================================================= */
.table-desa {
    border: 1px solid var(--border-light);
    font-size: 14px;
}
.table-desa thead th {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border: none;
    padding: 12px 16px;
}
.table-desa tbody td {
    padding: 12px 16px;
    border-color: var(--border-light);
    vertical-align: middle;
}
.table-desa tbody tr:hover { background: var(--bg-light); }

/* =============================================================
   32. PAGINATION
   ============================================================= */
.pagination-desa .page-link {
    color: var(--navy);
    border-color: var(--border-light);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    transition: var(--transition);
}
.pagination-desa .page-item.active .page-link {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.pagination-desa .page-link:hover {
    background: var(--bg-light);
    color: var(--accent);
    border-color: var(--accent);
}

/* =============================================================
   33. FOOTER
   ============================================================= */
.footer-desa {
    background: var(--navy-darker);
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

.footer-top { padding: 64px 0 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { font-size: 13.5px; color: rgba(255,255,255,0.55); margin: 0; }
.footer-powered { font-size: 13px; color: rgba(255,255,255,0.4); }

.footer-logo-icon {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: rgba(255,255,255,0.8);
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.12);
}
.footer-brand-name { font-size: 16px; font-weight: 700; color: #fff; }
.footer-brand-sub { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-badge { display: inline-flex; align-items: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); font-size: 12px; padding: 5px 14px; border-radius: 50px; }

.footer-heading { font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; transition: var(--transition); display: flex; align-items: center; gap: 4px; }
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-contact-list i { font-size: 18px; color: var(--accent-light); flex-shrink: 0; margin-top: 1px; }
.footer-contact-list a { color: rgba(255,255,255,0.65); }
.footer-contact-list a:hover { color: var(--accent-light); }

.footer-social { display: flex; gap: 10px; }
.footer-social-icon { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; font-size: 17px; transition: var(--transition); }
.footer-social-icon:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }

/* =============================================================
   34. RESPONSIVE
   ============================================================= */
@media (max-width: 991px) {
    .topbar { display: none; }
    .navbar-desa { top: 0; }

    .navbar-desa .nav-link { padding: 12px 8px !important; }
    .navbar-desa .nav-link::after { display: none; }

    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .stat-border { border-left: none; border-top: 1px solid var(--border-light); }
    .sambutan-badge { right: 0; bottom: -16px; }
    .berita-list-card { flex-direction: column; }
    .berita-list-img { width: 100%; height: 200px; }
    .batas-wilayah-grid { grid-template-columns: 1fr; }

    .content-card { padding: 24px; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 1.7rem; }
    .section-title { font-size: 1.4rem; }
    .stats-card-wrap .row { flex-direction: column; }
    .org-level { flex-direction: column; align-items: center; }
    .agenda-card { flex-direction: column; }
    .pengumuman-card { flex-direction: column; }
    .galeri-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-actions { flex-direction: column; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .galeri-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.5rem; }
    .section-padding { padding: 50px 0; }
}

/* =============================================================
   35. ANIMASI UTILITY
   ============================================================= */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
