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

:root {
    --primary-green: #8cc63f;
    --dark-green: #0f4c3a;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text-color);
    background-color: #f8fafc;
}

/* Wrapper peta agar terlihat seperti card modern */
.map-wrapper {
    background: #fff;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

/* Ukuran dan styling peta */
#olehsariMap {
    height: 420px;
    width: 100%;
    border-radius: 14px;
    /* Z-index sangat penting diubah agar Leaflet tidak menimpa navbar transparan Anda */
    z-index: 1;
}

/* Styling List Potensi di sebelah peta */
.potensi-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.potensi-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.potensi-item:hover {
    border-color: var(--p4s-green);
    background: #f0fdf4;
}

.potensi-item .icon-potensi {
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--p4s-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.potensi-item h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--p4s-dark);
    margin: 0 0 2px 0;
}

.potensi-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-fasilitas-statis {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border);
}

.card-fasilitas-statis:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(140, 198, 63, 0.3);
    /* Hijau pupus transparan */
}

.card-fasilitas-statis .img-wrap {
    position: relative;
    height: 200px;
    width: 100%;
}

.card-fasilitas-statis .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-fasilitas-statis:hover .img-wrap img {
    transform: scale(1.05);
}

/* Desain Ikon Mengambang */
.card-fasilitas-statis .fasilitas-icon {
    position: absolute;
    bottom: -22px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--p4s-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(140, 198, 63, 0.4);
    border: 3px solid #fff;
    z-index: 2;
    transition: transform 0.3s ease;
}

.card-fasilitas-statis:hover .fasilitas-icon {
    transform: rotate(10deg) scale(1.1);
}

.card-fasilitas-statis .fasilitas-body {
    padding: 32px 24px 24px;
    /* Padding atas lebih besar untuk ruang ikon */
    background: #fff;
    position: relative;
    z-index: 1;
}

.card-fasilitas-statis .fasilitas-body h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--p4s-dark);
}

.card-fasilitas-statis .fasilitas-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.block-white {
    background-color: #ffffff;
}

.block-mint {
    background-color: #f0fdf4;
}

.block-gray {
    background-color: #f8fafc;
}

.section-spacing {
    padding: 90px 0;
    position: relative;
    z-index: 2;
}

/* ── CINEMATIC HERO ────────────────────────── */
.hero-wrapper {
    position: relative;
    height: 88vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    background-color: var(--dark-green);
}

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

.carousel-inner,
.carousel-item {
    height: 100%;
    width: 100%;
}

.bg-image-overlay {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bg-image-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 46, 31, 0.92) 0%,
        rgba(10, 46, 31, 0.65) 45%,
        rgba(10, 46, 31, 0.15) 100%
    );
    z-index: 1;
}

.hero-ribbon {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 5;
    background: rgba(16, 185, 129, 0.92);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero-content-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-content-overlay .container {
    pointer-events: auto;
}

.hero-text-box {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 35px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary {
    background: var(--primary-green);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-green);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-hero-primary:hover {
    background: #d4af37;
    border-color: #d4af37;
    transform: translateY(-2px);
    color: #fff;
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--primary-green);
    transform: translateY(-2px);
}

.carousel-indicators {
    bottom: 30px;
    justify-content: flex-start;
    margin-left: auto;
    margin-right: auto;
    max-width: 1320px;
    padding: 0 15px;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 5px;
    transition: all 0.3s;
}

.carousel-indicators button.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ── TICKER / MARQUEE PROMOSI ── */
.ticker-wrap {
    background: var(--primary-green);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 15;
}

.ticker {
    display: inline-flex;
    gap: 50px;
    padding: 10px 0;
    animation: ticker-scroll 22s linear infinite;
}

.ticker span {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── STATS ── */
.stats-container {
    margin-top: 40px;
    position: relative;
    z-index: 20;
}

.stats-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 8px 0;
}

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

.stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-green);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── USP STRIP ── */
.usp-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
}

.usp-icon {
    width: 44px;
    height: 44px;
    background: #f0fdf4;
    color: var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.usp-item h6 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2px;
}

.usp-item p {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .usp-strip {
        grid-template-columns: 1fr;
    }

    .stats-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── SECTION COMMONS ── */
.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.section-eyebrow::before {
    content: "";
    width: 20px;
    height: 2px;
    background: var(--primary-green);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

/* ── ABOUT - REVAMPED ── */
.about-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Latar Belakang timeline */
.latar-timeline {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.latar-timeline li {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.latar-num {
    min-width: 36px;
    height: 36px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.latar-timeline li p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Visi & Misi section */
.visi-misi-wrap {
    background: var(--dark-green);
    border-radius: 0 0 16px 16px;
    padding: 36px 40px;
}

.visi-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.visi-box .eyebrow-sm {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: 8px;
}

.visi-box p {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin: 0;
    font-style: italic;
}

.misi-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.misi-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.misi-num {
    min-width: 28px;
    height: 28px;
    background: #4ade80;
    color: var(--dark-green);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

.misi-list li span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    padding-top: 4px;
}

/* Badge & teks misi (struktur baru) — dipastikan kontras & selalu tampil */
.badge-hijau {
    min-width: 28px;
    height: 28px;
    background: #4ade80;
    color: var(--dark-green);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-right: 12px;
}

.teks-misi {
    font-size: 0.82rem;
    line-height: 1.55;
    padding-top: 4px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.misi-wrap-baru {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 768px) {
    .misi-list {
        grid-template-columns: 1fr;
    }

    .visi-misi-wrap {
        padding: 24px 20px;
    }
}

.about-feature {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 18px 20px;
}

.about-feature h6 {
    font-size: 0.82rem;
    font-weight: 600;
    color: #166534;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.about-feature p {
    font-size: 0.82rem;
    color: #4b7c62;
    line-height: 1.55;
    margin: 0;
}

/* ── PENGHARGAAN SECTION ── */
.section-penghargaan {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.award-table-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.award-table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.award-table-wrap thead tr {
    background: var(--dark-green);
}

.award-table-wrap thead th {
    padding: 14px 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    border: none;
}

.award-table-wrap thead th:first-child {
    width: 52px;
    text-align: center;
}

.award-table-wrap tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.18s;
}

.award-table-wrap tbody tr:last-child {
    border-bottom: none;
}

.award-table-wrap tbody tr:hover {
    background: #f0fdf4;
}

.award-table-wrap tbody td {
    padding: 18px 20px;
    font-size: 0.86rem;
    color: var(--text-color);
    line-height: 1.55;
    vertical-align: top;
}

.award-table-wrap tbody td:first-child {
    text-align: center;
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1rem;
}

.award-title {
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 3px;
}

.award-kategori {
    font-size: 0.77rem;
    color: var(--text-muted);
}

.award-badge-year {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    color: var(--dark-green);
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.76rem;
    font-weight: 700;
}

.award-icon-wrap {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ── FASILITAS ── */
.card-fasilitas {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.25s;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.card-fasilitas:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.08);
}

.card-fasilitas .img-wrap {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f1f5f9;
}

.card-fasilitas .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-fasilitas h5 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}

.card-fasilitas p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ── PROGRAM ── */
.section-program {
    background: var(--dark-green);
    position: relative;
    overflow: hidden;
}

.section-program::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.section-program .section-title {
    color: #fff;
}

.section-program .section-eyebrow {
    color: #4ade80;
}

.section-program .section-eyebrow::before {
    background: #4ade80;
}

.card-program {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-program:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(74, 222, 128, 0.4);
    transform: translateY(-4px);
}

.card-program .img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-program .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.card-program:hover .img-wrap img {
    transform: scale(1.05);
}

.card-program .body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-program h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.card-program p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 18px;
}

.btn-program {
    display: block;
    background: #4ade80;
    color: var(--dark-green);
    text-align: center;
    padding: 11px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: all 0.2s;
}

.btn-program:hover {
    background: #fff;
    color: var(--dark-green);
}

/* ── PRODUK SEGAR ── */
.produk-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-lihat-semua {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.01em;
    transition: gap 0.2s;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 10px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.btn-lihat-semua:hover {
    gap: 10px;
    color: var(--dark-green);
    background: #dcfce7;
}

.card-produk-baru {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.25s;
    height: 100%;
}

.card-produk-baru:hover {
    border-color: var(--primary-green);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.1);
    transform: translateY(-4px);
}

.card-produk-baru .img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-produk-baru .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-fresh {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.produk-body {
    padding: 16px;
}

.produk-body h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}

.produk-body p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    min-height: 36px;
}

.produk-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.produk-harga {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-green);
}

.btn-pesan-wa {
    background: #25d366;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-pesan-wa:hover {
    background: #1da851;
    transform: scale(1.08);
}

/* ── GALERI ARTIKEL KEGIATAN ── */
.card-galeri-baru {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.25s;
    height: 100%;
}

.card-galeri-baru:hover {
    border-color: var(--primary-green);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.1);
    transform: translateY(-4px);
}

.card-galeri-baru .img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-galeri-baru .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.card-galeri-baru:hover .img-wrap img {
    transform: scale(1.06);
}

.badge-kegiatan {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #8cc63f;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-galeri-baru .produk-body {
    padding: 20px;
}

.card-galeri-baru .produk-body h5 {
    font-size: 1.05rem;
    color: var(--text-color);
}

.card-galeri-baru .produk-body p {
    font-size: 0.84rem;
    min-height: 44px;
    color: var(--text-muted);
}

.lihat-foto-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ── WA FLOAT ── */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25d366;
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.25s;
}

.wa-float:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.potensi-list-wrap::-webkit-scrollbar {
    width: 6px;
}

.potensi-list-wrap::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.potensi-list-wrap::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.potensi-list-wrap::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.potensi-item:hover {
    background: #f8fafc;
    /* Mengubah warna border ke primary-green saat di hover */
    border-color: var(--primary-green);
}

.potensi-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: transparent;
    /* Efek transisi halus untuk background dan border */
    transition: all 0.3s ease;
}

.custom-leaflet-icon {
    background: transparent;
    border: none;
}

.marker-wrapper {
    position: relative;
    width: 440px;
    height: 340px;
    pointer-events: none; /* Supaya peta di bawahnya tetap bisa di-drag */
}

/* Garis Siku Polyline (Z-Index 5: Di atas peta, di bawah kotak kartu) */
.marker-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible !important;
    z-index: 5 !important;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

/* Titik Hijau (Tepat di pusat koordinat kanvas: X=220, Y=170) */
.marker-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    left: 213px; /* 220px - 7px (setengah lebar dot) */
    top: 163px; /* 170px - 7px (setengah tinggi dot) */
    z-index: 8 !important;
    pointer-events: auto;
}

/* ==========================================================================
   3. KOTAK KARTU PATEN (120px x 125px) - ANTI MENCENG & SERAGAM
   ========================================================================== */
.marker-box {
    position: absolute;
    width: 120px !important;
    height: 125px !important;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
    overflow: hidden !important;
    pointer-events: auto; /* Kotak tetap bisa diklik */
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 10 !important;
    box-sizing: border-box;
    padding: 0;
}

.marker-box:hover {
    transform: scale(1.08);
    z-index: 20 !important; /* Saat di-hover, kartu naik ke layer paling atas */
}

/* Gambar Kartu (Tinggi mutlak 60px) */
.marker-box img {
    width: 100% !important;
    height: 60px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px 8px 0 0 !important;
}

/* Area Teks (Tinggi mutlak 65px) */
.marker-text {
    padding: 6px 8px !important;
    height: 65px !important;
    box-sizing: border-box !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

/* Judul Potensi (1 Baris, jika panjang otomatis jadi '...') */
.marker-text strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Alamat/Keterangan (1 Baris, jika panjang otomatis jadi '...') */
.marker-text span {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* SKELETON LOADER STYLES */
.skeleton-box {
    background: #e2e8f0;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
    width: 100%;
}

.skeleton-text.short {
    width: 50%;
}

.skeleton-text.title {
    height: 24px;
    margin-bottom: 12px;
}

.skeleton-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.skeleton-img-small {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    flex-shrink: 0;
}
