:root {
    --primary-color: #28a745;
    --secondary-color: #34495e;
}

/* navbar */
/* =======================
   Navbar Custom Styles
======================== */

/* --- Style untuk Teks Brand --- */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    color: #ffffff;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.brand-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
}

/* --- Style Navbar Utama --- */
/* State Awal: Transparan */
.navbar-transparent {
    background-color: rgba(68, 116, 76, 0);
    transition: background-color 0.4s ease-in-out;
}

/* State Setelah Scroll: Solid dengan Shadow */
.navbar-scrolled {
    background-color: #1A4D2E;
    /* Warna hijau tua seperti di contoh */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.4s ease-in-out;
}

/* --- Style untuk Link Navigasi --- */
.navbar .nav-link {
    color: #ffffff;
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    /* Garis bawah transparan */
    transition: border-bottom-color 0.3s;
}

.navbar .nav-link:hover {
    color: #ffffff;
}

/* Style untuk link yang aktif (ada garis bawah) */
.navbar .nav-link.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
    /* Garis bawah putih */
}

/* Mengubah warna ikon toggler (hamburger menu) menjadi putih */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-section {
    background: url('../img/Balai-desa-kebontunggul.png') no-repeat center center;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    min-height: 100vh;
    /* display: flex; */
    align-items: center;
    background-attachment: fixed;
    position: relative;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    /*efek gelap*/
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-top: 100px;
}

/* HERO SECTION CUSTOM FONT & STYLE */
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content .highlight-green {
    color: #28a745;
    font-weight: 900;
}

.hero-content p.lead {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 32px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-Selengkapnya,
.btn-outline-light {
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 25px;
    padding: 12px 36px;
    letter-spacing: 0.5px;
}

.btn-Selengkapnya {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
}

.btn-Selengkapnya:hover {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    padding: 12px 30px;
    border-radius: 25px;
}

.btn-outline-light {
    padding: 12px 30px;
    border-radius: 25px;
}

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

/* .kepala-desa-section {
            background-color: #f8f9fa;
        } */

.kepala-desa-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
}

.aparatur-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
}

/* --- CSS SLIDER APARATUR (DITAMBAHKAN & DISESUAIKAN) --- */
.slider-wrapper {
    position: relative;
    padding-inline: 30px;
    /* Memberi ruang agar tombol tidak terlalu menempel ke tepi */
}

.aparatur-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-block: 20px;
    gap: 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.aparatur-container::-webkit-scrollbar {
    display: none;
}

.aparatur-card {
    flex: 0 0 240px;
    /* Lebar tetap 240px, tidak membesar atau mengecil */
    background-color: white;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

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

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(40, 167, 69, 0.85);
    /* Menggunakan warna --primary-color */
    color: white;
    border: none;
    border-radius: 15px;
    width: 50px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(33, 136, 56, 1);
}

.prev-btn {
    left: 0px;
}

.next-btn {
    right: 0px;
}

/* --- AKHIR DARI CSS SLIDER --- */

.stats-section {
    background-color: var(--primary-color);
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        text-align: center;
    }

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

/* Footer */
/* Anda bisa meletakkan CSS ini di file style.css eksternal */
.footer-section {
    background-color: #1A4D2E;
    /* Warna hijau tua seperti di contoh */
    color: #E0E0E0;
    /* Warna teks agak putih pudar */
    padding-top: 60px;
    padding-bottom: 20px;
}

.footer-section h5 {
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section .footer-logo {
    height: 55px;
    /* Sesuaikan ukuran logo */
    margin-right: 15px;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-section .list-unstyled li {
    margin-bottom: 10px;
}

.footer-section .social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
}

.footer-section .contact-info p {
    margin-bottom: 15px;
}

.footer-section .contact-info .fas,
.footer-section .contact-info .fa-brands {
    margin-right: 10px;
    width: 20px;
    /* Agar ikon sejajar */
}

.footer-bottom {
    border-top: 1px solid #2a5f42;
    /* Garis pemisah yang samar */
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.85rem;
}

/* map */
.map-section {
    padding: 80px 0;
    background-color: #ffffff;
    /* Warna latar belakang abu-abu muda */
}

.map-header {
    text-align: center;
    margin-bottom: 50px;
}

.map-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    /* Warna biru tua untuk judul */
}

.map-header .span-highlight {
    color: #28a745 !important;
    /* Warna hijau primer Anda */
}

.map-header p {
    font-size: 1.1rem;
    color: #6c757d;
    /* Warna teks abu-abu */
}

.map-container {
    position: relative;
    border-radius: 15px;
    /* Membuat sudut iframe tumpul */
    overflow: hidden;
    /* Penting agar border-radius berfungsi */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Efek bayangan halus */
}

.map-container iframe {
    width: 100%;
    height: 500px;
    /* Atur tinggi peta sesuai kebutuhan */
    border: 0;
}

/* Populasi */
/* CSS Kustom (Nama class tidak sama dengan Bootstrap) */
.population-stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1D976C, #28a745);
    /* Gradien hijau */
    color: #ffffff;
}

.population-header {
    text-align: center;
    margin-bottom: 50px;
}

.population-header .section-title {
    font-size: 2.8rem;
    font-weight: 700;
}

.population-header .section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 15px auto 0;
    opacity: 0.9;
}

.stat-item-card {

    background: rgba(255, 255, 255, 0.15);
    /* Latar belakang semi-transparan */
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    /* Sudut tumpul */
    text-align: center;
    backdrop-filter: blur(10px);
    /* Efek blur (untuk browser modern) */
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat-item-card:hover {
    transform: translateY(-10px);
    /* Efek mengangkat saat di-hover */
    background-color: rgba(255, 255, 255, 0.25);
}

.stat-item-card .stat-figure {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-item-card .stat-description {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 5px;
}

/* Penyesuaian untuk layar mobile agar tidak terlalu rapat */
@media (max-width: 767px) {
    .stat-item-card {
        margin-bottom: 20px;
    }

    .population-header .section-title {
        font-size: 2.2rem;
    }
}


/* APB Desa */
.apb-section-custom {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* Latar belakang abu-abu muda */
}

.apb-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    /* Warna judul biru tua */
    margin-bottom: 15px;
}

.apb-content .year-highlight {
    color: #28a745;
    /* Warna hijau untuk tahun */
}

.apb-content .subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    /* Warna teks abu-abu */
    margin-bottom: 30px;
}

.apb-image {
    max-width: 100%;
    height: auto;
}

.info-box {
    background-color: #ffffff;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    border-left: 5px solid;
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: scale(1.03);
}

.info-box.pendapatan {
    border-left-color: #28a745;
    /* Border hijau untuk pendapatan */
}

.info-box.belanja {
    border-left-color: #0d6efd;
    /* Border biru untuk belanja */
}

.info-box .info-label {
    font-size: 1rem;
    color: #343a40;
}

.info-box .info-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.info-box.pendapatan .info-value {
    color: #28a745;
}

.info-box.belanja .info-value {
    color: #0d6efd;
}

.btn-details {
    background-color: #28a745;
    color: #ffffff;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    /* Membuat tombol oval */
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.btn-details:hover {
    background-color: #218838;
    color: #ffffff;
}

/* Penyesuaian untuk mobile */
@media (max-width: 991px) {
    .apb-content {
        text-align: center;
    }

    .apb-image {
        margin-bottom: 40px;
    }
}

/* wisata desa */
.custom-tourism-section {
    padding: 80px 0;
    background-color: #1e8e44;
    /* Warna hijau utama */
    color: #ffffff;
}

.tourism-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.tourism-section-header .heading-title {
    font-size: 2.8rem;
    font-weight: 700;
}

.tourism-section-header .heading-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.tourism-slider-container {
    background-color: rgba(0, 0, 0, 0.15);
    /* Latar belakang slider semi-transparan */
    padding: 70px;
    border-radius: 25px;
    /* Sudut tumpul besar */
}

.tourism-slide-item .slide-image {
    width: 100%;
    height: 400px;
    /* Tinggi gambar yang konsisten */
    object-fit: cover;
    border-radius: 15px;
}

.tourism-info-panel {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tourism-info-panel .info-panel-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tourism-info-panel .info-panel-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-tourism-details {
    background-color: #1e8e44;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    display: inline-block;
    align-self: flex-start;
}

.btn-tourism-details:hover {
    background-color: #186a3b;
    color: #ffffff;
}

/* Styling untuk tombol navigasi carousel */
.slider-custom-control {
    background-color: #ffffff;
    /* Latar belakang tombol bulat putih */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.3s;
    /* posisi */
    transform: translateY(-50%);
    top: 50%;
}

.slider-custom-control .carousel-control-prev-icon,
.slider-custom-control .carousel-control-next-icon {
    /* MENGHAPUS FILTER AGAR ICON MENGGUNAKAN WARNA DEFAULT ATAU WARNA BAWAAN BOOTSTRAP */
    /* Kita bisa tambahkan background-color lagi jika ingin warna ikon yang spesifik */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e8e44'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
    /* Panah kiri hijau */
}

.slider-custom-control .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e8e44'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    /* Panah kanan hijau */
}

/* Tombol "Lihat Wisata Lainnya" */
.btn-view-more-tourism {
    background-color: #ffffff;
    /* Latar belakang putih */
    color: #333333;
    /* Warna teks hitam */
    border: 1px solid #dddddd;
    /* Border abu-abu tipis */
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 40px;
}

.btn-view-more-tourism:hover {
    background-color: #f0f0f0;
    /* sedikit abu-abu saat hover */
    border-color: #cccccc;
    color: #333333;
}

/* Responsif untuk layar kecil (Tambahan) */
@media (max-width: 991px) {
    .tourism-slide-item .slide-image {
        height: 300px;
        /* Ketinggian gambar sedikit berkurang di mobile */
    }

    .tourism-info-panel {
        padding: 20px;
        /* Padding card info sedikit berkurang */
        margin-top: 20px;
        /* Memberi jarak antara gambar dan info di mobile */
    }

    .tourism-section-header .heading-title {
        font-size: 2.2rem;
    }

    .tourism-slider-container {
        padding: 30px;
        /* Padding container slider berkurang */
    }
}

/* misi desa */
.village-mission-section {

    background-color: #f0faf5;
    /* Latar belakang semi-transparan */
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    /* Sudut tumpul */
    text-align: center;
    backdrop-filter: blur(10px);
    /* Efek blur (untuk browser modern) */
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.village-mission-section:hover {
    transform: translateY(-10px);
    /* Efek mengangkat saat di-hover */
    background-color: rgba(255, 255, 255, 0.25);
}

.village-mission-section .stat-figure {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.village-mission-section .stat-description {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 5px;
}

/* Penyesuaian untuk layar mobile agar tidak terlalu rapat */
@media (max-width: 767px) {
    .village-mission-section {
        margin-bottom: 20px;
    }
}

.mission-header {
    text-align: center;
    margin-bottom: 50px;
}

.mission-header .mission-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Ganti .mission-card Anda yang lama dengan yang ini */
.mission-card {
    background-color: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    height: 100%;
    /* TAMBAHKAN BARIS INI */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* TAMBAHKAN BLOK KODE BARU INI DI BAWAH .mission-card */
.mission-card:hover {
    transform: translateY(-5px);
    /* Efek terangkat 5px ke atas */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Bayangan menjadi lebih jelas */
}

.mission-card-number {
    flex-shrink: 0;
    /* Mencegah lingkaran mengecil */
    width: 35px;
    height: 35px;
    background-color: #1e8e44;
    /* Warna hijau */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 20px;
}

.mission-card-text {
    font-size: 1rem;
    color: #343a40;
    line-height: 1.6;
}

/* Override posisi tombol carousel wisata desa */
.custom-tourism-section .carousel-control-prev {
    left: 0.3rem !important;
    /* geser ke kanan */
    right: auto;
}

.custom-tourism-section .carousel-control-next {
    right: 0.5rem !important;
    /* geser ke kiri */
    left: auto;
}

.statistik-header-section {
    /* background: linear-gradient(135deg, #1D976C, #28a745);
    padding: 48px 0 32px 0;
    padding-top: 150px;
    padding-bottom: 100px; */
    background: linear-gradient(135deg, #169c5c 0%, #1e8e44 100%);
    padding: 113px 0 54px 0;
}

/* Wisata Page Custom Styles */
.wisata-header-title {
    color: #fff;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.wisata-header-subtitle {
    color: #e0f2e9;
    font-size: 1.15rem;
}

.wisata-alam-section {
    background: #fff;
    padding: 0 0 48px 0;
}

.wisata-alam-header {
    margin-top: -40px;
    margin-bottom: 32px;
}

.wisata-alam-title {
    font-weight: 700;
    font-size: 2rem;
}

.wisata-alam-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.wisata-alam-divider {
    width: 80px;
    border: 2px solid #1e8e44;
    margin: 18px auto 0 auto;
    opacity: 1;
}

.wisata-card {
    border-radius: 16px;
    overflow: hidden;
}

.wisata-card-img-wrapper {
    position: relative;
}

.wisata-card-img-wrapper img {
    height: 200px;
    object-fit: cover;
}

.wisata-badge {
    position: absolute;
    top: 12px;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.wisata-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    font-size: 0.93rem;
    margin-bottom: 0.5rem;
}

.wisata-link-detail {
    color: #1e8e44;
    font-weight: 600;
    text-decoration: none;
}

.wisata-link-detail:hover {
    text-decoration: underline;
}

/* Section Video Profil Desa */
.village-video-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* Latar belakang abu-abu sangat muda */
}

.video-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.video-section-header .video-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.video-section-header .video-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.video-frame-wrapper {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Helper dari Bootstrap untuk video responsif */
.video-frame-wrapper .ratio iframe {
    border-radius: 10px;
    /* Membuat sudut video di dalam frame menjadi tumpul */
}

/* Section Struktur Organisasi Desa */
.organization-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1d976c31, #28a7464b);
    /* Latar belakang abu-abu sangat muda */
}

.org-header {
    text-align: center;
    margin-bottom: 50px;
}

.org-header .org-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.org-header .org-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.org-chart-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #1e8e44;
    /* Garis hijau di atas kartu */
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.org-chart-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.org-chart-card .chart-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 5px;
}

.org-chart-card .chart-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 25px;
}

.org-chart-card .chart-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* section Data Desa */
.village-stats-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.stat-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.card-header-custom {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.card-header-custom .header-icon {
    font-size: 1.5rem;
    color: #0d6efd;
    margin-right: 15px;
}

.card-header-custom .header-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #343a40;
    margin: 0;
}

/* Top Stats Bar */
.top-stat-box {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.top-stat-box i {
    font-size: 2rem;
    color: #0d6efd;
}

.top-stat-box .stat-figure {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0 5px;
}

.top-stat-box .stat-label {
    color: #6c757d;
}

/* Stat Box Kependudukan & Kesehatan */
.gender-stat-box {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    text-align: center;
}

.gender-stat-box.male {
    background-color: #e7f1ff;
}

.gender-stat-box.female {
    background-color: #fff0f6;
}

.gender-stat-box.kk {
    background-color: #e9fbf0;
}

.gender-stat-box .gender-label {
    font-size: 1rem;
}

.gender-stat-box .gender-count {
    font-size: 1.8rem;
    font-weight: 700;
}

.gender-stat-box.male .gender-count {
    color: #0d6efd;
}

.gender-stat-box.female .gender-count {
    color: #d63384;
}

.gender-stat-box.kk .gender-count {
    color: #198754;
}

/* Data Per Dusun */
.dusun-card {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #198754;
}

.dusun-card .dusun-name {
    font-weight: 600;
}

.dusun-card .dusun-stats {
    font-size: 0.9rem;
}

/* Mata Pencaharian & Pendidikan List */
.progress-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-item .item-label {
    font-weight: 500;
}

.progress-item .item-value {
    color: #6c757d;
}

.custom-progress {
    height: 8px;
    border-radius: 5px;
}

/* Data Kesehatan */
.health-list-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.health-list-item:nth-child(odd) {
    background-color: #f8f9fa;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #1D976C, #28a745);
    color: #ffffff;
    text-align: center;
    padding: 40px;
    border-radius: 15px;
}

.cta-banner .cta-title {
    font-weight: 700;
}

.btn-cta {
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cta:hover {
    background-color: #ffffff;
    color: #198754;
}

.btn-cta-primary {
    background-color: #ffffff;
    color: #198754;
}

.btn-cta-primary:hover {
    background-color: #f0f0f0;
}

/* Peta Lokasi & Batas Desa */

.location-boundary-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* Latar belakang abu-abu sangat muda */
}

.location-header {
    text-align: center;
    margin-bottom: 50px;
}

.location-header .section-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.location-header .section-main-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.info-panel {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.info-panel .panel-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.boundary-box {
    background-color: #f0faf5;
    /* Latar belakang hijau sangat pucat */
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #1e8e44;
    /* Aksen garis hijau */
}

.boundary-box .box-title {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 5px;
}

.boundary-box .box-title i {
    color: #1e8e44;
    margin-right: 8px;
}

.boundary-box .box-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    padding-left: 28px;
    /* Agar sejajar dengan teks judul */
}

.additional-info-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.additional-info-list .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.additional-info-list .info-label {
    display: flex;
    align-items: center;
    color: #343a40;
    font-weight: 500;
}

.additional-info-list .info-label i {
    margin-right: 10px;
    color: #6c757d;
}

.additional-info-list .info-value {
    font-weight: 600;
    color: #343a40;
}

.map-frame-container {
    padding: 15px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

/* UMKM Section */
.umkm-promo-section {
    /* background: linear-gradient(135deg, #1D976C, #28a745);
    padding: 48px 0 32px 0;
    padding-top: 150px;
    padding-bottom: 100px; */
    background: linear-gradient(135deg, #169c5c 0%, #1e8e44 100%);
    padding: 100px 0 40px 0;
}

.umkm-promo-content .promo-title {
    font-size: 2.8rem;
    font-weight: 700;
    /* margin-bottom: 15px;
    margin-top: 15px; */
    padding: 48px 0 32px 0;
    padding-top: 0px;
    padding-bottom: 0px;
}

.umkm-promo-content .promo-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    margin-bottom: 40px;
}

.category-filter-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    /* Agar responsif di layar kecil */
}

.category-tag-item {
    background: rgba(255, 255, 255, 0.2);
    /* Latar belakang semi-transparan */
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    /* Membuat oval */
    text-decoration: none;
    font-weight: 500;
    backdrop-filter: blur(10px);
    /* Efek blur */
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.category-tag-item:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.category-tag-item .tag-icon {
    margin-right: 8px;
}

.product-gallery-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* Latar belakang abu-abu sangat muda */
}

.product-item-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    /* Penting agar gambar tidak keluar dari border-radius */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* Membuat semua card dalam satu baris sama tinggi */
    display: flex;
    flex-direction: column;
}

.product-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.product-item-card .card-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    /* Memastikan gambar terisi penuh tanpa distorsi */
}

.product-item-card .card-content-wrapper {
    padding: 20px;
    flex-grow: 1;
    /* Membuat konten ini mengisi sisa ruang */
    display: flex;
    flex-direction: column;
}

.product-item-card .product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 10px;
}

.product-item-card .product-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    flex-grow: 1;
    /* Mendorong footer ke bawah */
}

.product-item-card .card-action-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-item-card .product-price {
    font-size: 0.9rem;
    color: #6c757d;
}

.product-item-card .product-price strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: #343a40;
}

.btn-product-details {
    background-color: #1e8e44;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-product-details:hover {
    background-color: #186a3b;
    color: #ffffff;
}

/* Informasi/berita page custom styles */
.informasi-header-section {
    background: linear-gradient(135deg, #169c5c 0%, #1e8e44 100%);
    padding: 118px 0 77px 0;

}

.informasi-header-title {
    color: #fff;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.informasi-header-subtitle {
    color: #e0f2e9;
    font-size: 1.15rem;
}

.informasi-grid-section {
    background: #fff;
    padding: 80px 0 48px 0;
}

.informasi-card {
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}

.informasi-card:hover {
    box-shadow: 0 8px 32px rgba(25, 135, 84, 0.12);
    transform: translateY(-6px);
}

.informasi-card .card-img-top {
    height: 160px;
    object-fit: cover;
}

.informasi-card .card-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.informasi-date {
    color: #198754;
    font-size: 0.95rem;
    font-weight: 500;
}

.informasi-card .card-text {
    font-size: 0.97rem;
    color: #444;
    margin-bottom: 18px;
}

.btn-informasi-detail {
    display: inline-block;
    background: #198754;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 0.97rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-informasi-detail:hover {
    background: #145c32;
    color: #fff;
}

/* Pagination custom */
.pagination .page-link {
    border-radius: 8px !important;
    color: #198754;
    font-weight: 600;
    border: none;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background: #198754;
    color: #fff;
    border: none;
}

.pagination .page-item.disabled .page-link {
    color: #aaa;
    background: #f8f9fa;
}

/* section detail wisata */
.attraction-hero-section {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #1D976C, #28a745);
    /* Gradien hijau */
    color: #ffffff;
}

.custom-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.custom-breadcrumb .breadcrumb-item-custom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.custom-breadcrumb .breadcrumb-item-custom a:hover {
    color: #ffffff;
}

.custom-breadcrumb .breadcrumb-item-custom.active {
    color: #ffffff;
    font-weight: 500;
}

.custom-breadcrumb .breadcrumb-item-custom+.breadcrumb-item-custom::before {
    content: '>';
    color: rgba(255, 255, 255, 0.5);
    padding: 0 10px;
}

.attraction-details .attraction-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.attraction-details .attraction-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.attraction-meta-info {
    list-style: none;
    padding: 0;
}

.attraction-meta-info .meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.attraction-meta-info .meta-item i {
    font-size: 1.2rem;
    margin-right: 12px;
}

.attraction-image-container {
    position: relative;
}

.attraction-main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.image-badge {
    position: absolute;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
}

.badge-status {
    top: 20px;
    left: 20px;
    background-color: #dc3545;
    /* Merah untuk 'Tutup' */
}

.badge-price {
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.page-wrapper-light {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.content-panel,
.sidebar-panel {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
}

.panel-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 20px;
}

/* --- Main Content --- */
.description-text {
    line-height: 1.7;
    color: #6c757d;
}

.gallery-carousel .carousel-inner {
    border-radius: 10px;
}

.gallery-carousel .carousel-item img {
    height: 450px;
    object-fit: cover;
}

.gallery-carousel .carousel-indicators button {
    background-color: #1e8e44;
}

.gallery-carousel .carousel-control-prev,
.gallery-carousel .carousel-control-next {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.gallery-carousel .carousel-control-prev-icon,
.gallery-carousel .carousel-control-next-icon {
    filter: invert(1) grayscale(100%) brightness(50%);
}

/* --- Sidebar --- */
.info-list {
    list-style: none;
    padding-left: 0;
}

.info-list .list-item {
    display: flex;
    margin-bottom: 20px;
}

.info-list .list-item .item-icon {
    font-size: 1.2rem;
    color: #1e8e44;
    margin-right: 15px;
    width: 20px;
}

.info-list .list-item .item-content .item-title {
    font-weight: 600;
    color: #343a40;
}

.info-list .list-item .item-content .item-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
}

.info-list .list-item .item-content .status-closed {
    color: #35dc3b;
    font-weight: 500;
}

.btn-contact-solid {
    background-color: #1e8e44;
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    display: block;
    text-align: center;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-contact-solid:hover {
    background-color: #186a3b;
    color: #ffffff;
}

/* Wisata Lainnya */
.other-attractions-list .attraction-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.other-attractions-list .attraction-item:last-child {
    margin-bottom: 0;
}

.other-attractions-list .attraction-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.other-attractions-list .attraction-details .attraction-title {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 2px;
    font-size: 1rem;
}

.other-attractions-list .attraction-details .attraction-excerpt {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
}

.btn-view-all-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #1e8e44;
    text-decoration: none;
    font-weight: 500;
}

.btn-view-all-link:hover {
    text-decoration: underline;
}

/* Peta Lokasi */
.location-map-card .map-image {
    width: 100%;
    border-radius: 8px;
}

.location-map-card .map-address {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 15px;
    text-align: center;
}

.btn-gmaps {
    margin-top: 15px;
}

:root {
    --custom-green: #198754;
    /* Warna hijau utama */
    --custom-gray-bg: #f9f9f9;
    --custom-text-dark: #212529;
    --custom-text-muted: #6c757d;
}

.article-page-wrapper {
    background-color: var(--custom-gray-bg);
    padding-top: 60px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* Kartu Utama Artikel */
.article-content-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #eaeaea;
}

/* Judul Artikel */
.article-heading-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--custom-text-dark);
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Meta Data (Tanggal & Penulis di atas) */
.article-meta-header {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meta-item-row {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--custom-text-dark);
}

.meta-icon-box {
    width: 30px;
    height: 30px;
    background-color: #e8f5e9;
    /* Hijau sangat muda */
    color: var(--custom-green);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1rem;
}

.meta-label-small {
    display: block;
    font-size: 0.7rem;
    color: var(--custom-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.meta-value-text {
    font-weight: 600;
}

/* Gambar Utama */
.article-hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    object-fit: cover;
}

/* Isi Artikel */
.article-body-text {
    color: #444;
    font-size: 1rem;
    line-height: 1.8;
    /* Jarak antar baris agar nyaman dibaca */
    text-align: justify;
}

.article-body-text p {
    margin-bottom: 20px;
}

/* Footer Artikel (Editor & Profil Penulis Bawah) */
.article-footer-area {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.editor-note-text {
    font-size: 0.9rem;
    color: var(--custom-text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.author-profile-mini {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
}

.author-avatar-circle {
    width: 45px;
    height: 45px;
    background-color: var(--custom-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 15px;
}

.author-info-text h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    color: var(--custom-text-dark);
}

.author-info-text span {
    font-size: 0.8rem;
    color: var(--custom-text-muted);
}

/* Tombol Kembali */
.btn-back-green {
    background-color: var(--custom-green);
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    border: none;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.2);
}

.btn-back-green:hover {
    background-color: #146c43;
    /* Hijau lebih gelap */
    color: white;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .article-content-card {
        padding: 25px;
    }

    .article-heading-title {
        font-size: 1.5rem;
    }
}
