:root {
    --brand: #2E6F40;       
    --brand-light: #F4F9F4; 
    --brand-dark: #1E4629;  
    --leaf: #5B8C5A;        
    --bg-body: #FAFCFA;
    --text-main: #2C3E2B;   
    --text-muted: #000000;
    --border-color: #E2EBE2;
    --white: #ffffff;
    --shadow-natural: 0 10px 30px rgba(46, 111, 64, 0.05);
    --shadow-hover: 0 20px 40px rgba(46, 111, 64, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 90px; 
    overflow-y: scroll;
    scrollbar-gutter: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================
   GAYA & ANIMASI LOADING SCREEN MANGGIS
   ========================================== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FAFCFA; 
    background-image: 
        radial-gradient(at 10% 10%, rgba(46, 111, 60, 0.03) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(91, 140, 90, 0.03) 0px, transparent 50%);
    z-index: 9999; 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.manggis-cluster {
    position: relative;
    width: 150px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.manggis-item {
    background-color: rgb(78, 39, 39); 
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 10px 25px rgb(67, 38, 38);
    transform-origin: center bottom;
}

.manggis-cap {
    background-color: #5B8C5A; 
    border-radius: 50% 50% 20% 20%;
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
}

.manggis-main {
    width: 70px;
    height: 65px;
    z-index: 3;
    animation: manggisFloatMain 4s ease-in-out infinite;
}
.manggis-main .manggis-cap {
    width: 45px;
    height: 20px;
}

.manggis-sub-1 {
    width: 45px;
    height: 42px;
    top: 10px;
    left: 10px;
    z-index: 2;
    opacity: 0.9;
    animation: manggisFloatSub1 4s ease-in-out infinite 0.5s; 
}
.manggis-sub-1 .manggis-cap {
    width: 28px;
    height: 12px;
}

.manggis-sub-2 {
    width: 50px;
    height: 47px;
    bottom: 5px;
    right: 5px;
    z-index: 1;
    opacity: 0.8;
    animation: manggisFloatSub2 4s ease-in-out infinite 1s; 
}
.manggis-sub-2 .manggis-cap {
    width: 32px;
    height: 14px;
}

.leaf-deco {
    color: #A2E0B8; 
    position: absolute;
    font-size: 1.2rem;
    opacity: 0;
    filter: blur(1px);
}

.leaf-1 {
    top: -20px;
    right: 10px;
    animation: leafFloat 6s linear infinite 0.2s;
}

.leaf-2 {
    bottom: 20px;
    left: -20px;
    transform: rotate(120deg);
    animation: leafFloat 6s linear infinite 2s;
}

.leaf-3 {
    top: 40px;
    left: 50px;
    font-size: 0.8rem;
    animation: leafFloat 6s linear infinite 4s;
}

.loader-text {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.loader-text .text-main {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.loader-text .text-village {
    color: var(--brand);
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: -2px;
}

.load-dots {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.load-dots .dot {
    width: 8px;
    height: 8px;
    background-color: var(--leaf);
    border-radius: 50%;
    opacity: 0.3;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.load-dots .dot:nth-child(2) { animation-delay: 0.3s; }
.load-dots .dot:nth-child(3) { animation-delay: 0.6s; }

/* ==========================================
   KEYFRAMES 
   ========================================== */
@keyframes manggisFloatMain {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 10px 25px rgba(30, 70, 41, 0.2);
    }
    50% {
        transform: translateY(-12px) rotate(2deg); 
        box-shadow: 0 20px 35px rgba(30, 70, 41, 0.15); 
    }
}

@keyframes manggisFloatSub1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-3px, -8px) rotate(-3deg); }
}

@keyframes manggisFloatSub2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(4px, -6px) rotate(4deg); }
}

@keyframes leafFloat {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0.8);
    }
    10% { opacity: 0.7; }
    80% { opacity: 0.7; }
    100% {
        opacity: 0;
        transform: translateY(-60px) rotate(180deg) scale(1.1); 
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        background-color: var(--brand);
    }
}

body.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

ul { 
    list-style: none; 
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background-color: var(--leaf);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--brand);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-gentle {
    0% { box-shadow: 0 8px 25px rgba(46, 111, 64, 0.25); }
    50% { box-shadow: 0 8px 35px rgba(46, 111, 64, 0.5); transform: scale(1.02); }
    100% { box-shadow: 0 8px 25px rgba(46, 111, 64, 0.25); transform: scale(1); }
}

@keyframes wave-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } 
}

@keyframes marquee-left-to-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

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

@keyframes continuousFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* ==========================================
   LAYOUT & KOMPONEN UTAMA
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding { 
    padding: 100px 0; 
    position: relative; 
    flex: 1;
}

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

.section-tag {
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--brand);
    padding: 6px 16px;
    margin-bottom: 15px;
}

.section-tag i { 
    animation: float 3s ease-in-out infinite; 
}

.section-title { 
    font-size: 2.2rem; 
    font-weight: 700; 
    color: var(--brand-dark); 
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hover-float {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.hover-float:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.organic-shape {
    border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
    transition: all 0.8s ease-in-out;
}

.product-card:hover .organic-shape {
    border-radius: 50%;
    transform: rotate(15deg);
}

/* ==========================================
   TOMBOL (BUTTONS)
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
}

.btn-brand {
    background-color: var(--brand);
    color: var(--white);
    animation: pulse-gentle 3s infinite ease-in-out;
}

.btn-brand:hover {
    background-color: var(--brand-dark);
    transform: translateY(-4px);
    animation-play-state: paused;
}

.btn-outline {
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--brand);
    transform: translateY(-4px);
}

.btn-nav {
    color: white !important; 
    padding: 10px 24px;
}

.btn-cta-wa {
    background: var(--white); 
    color: var(--brand); 
    font-weight: 700; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-cta-wa:hover {
    background: var(--brand-dark);
    color: var(--white);
    transform: translateY(-3px);
}

.wave-deco {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23F4F9F4" fill-opacity="0.6" d="M0,224L60,213.3C120,203,240,181,360,181.3C480,181,600,203,720,202.7C840,203,960,181,1080,181.3C1200,181,1320,203,1380,213.3L1440,224L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg>') bottom/repeat-x;
    pointer-events: none;
    animation: wave-move 25s linear infinite;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 100;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
}

.navbar.scrolled { 
    height: 75px; 
    background: rgba(255, 255, 255, 0.5); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(46, 111, 64, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;
    transition: 0.3s;
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    cursor: pointer; 
}

.logo i { 
    font-size: 2rem; 
    color: var(--brand); 
    transform: rotate(-10deg); 
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.logo:hover i { 
    transform: rotate(170deg); 
}

.logo h1 { 
    font-size: 1.3rem; 
    font-weight: 700; 
    line-height: 1.1; 
    color: var(--brand-dark); 
}

.logo span { 
    color: var(--leaf); 
}

.logo p { 
    font-size: 0.65rem; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    color: var(--text-muted); 
}

.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 35px; 
}

.nav-links a.nav-item { 
    font-weight: 500; 
    color: var(--text-main); 
    position: relative; 
    padding: 5px 0; 
    transition: 0.3s; 
}

.nav-links a.nav-item::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0; 
    height: 2px;
    background: var(--brand); 
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links a.nav-item:hover::after, 
.nav-links a.nav-item.active::after { 
    width: 100%; 
}

.nav-links a.nav-item:hover { 
    color: var(--brand); 
}

/* ==========================================
   HERO SECTION & FOTO PENGURUS
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('contoh-bumdes-beranda.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 90px;
    color: var(--white);
    position: relative;
}

.hero::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 100px;
    background: linear-gradient(to top, var(--bg-body), transparent);
    pointer-events: none; 
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    position: relative;
    z-index: 3;
}

/* ==========================================
   HERO SECTION & FOTO PENGURUS (3 ORANG)
   ========================================== */
.hero-image {
    position: relative;
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Pengaturan Layout Grid Foto (3 Kolom Sejajar) */
.hero-team-photo-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    height: 340px; /* Sesuaikan tinggi foto jika diperlukan */
    margin: 0 auto 0 auto; /* Menghilangkan jarak bawah agar langsung bertemu border */
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Pengaturan Gambar Foto Individual */
.hero-team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.3s ease;
}

.hero-team-photo-wrap:hover .hero-team-photo {
    transform: scale(1.03);
}

/* Pengaturan Label Nama di Bawah Foto */
.hero-team-labels {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
    z-index: 4;
    margin-top: -15px; /* Menggeser border sedikit ke atas agar menyatu rapi dengan bagian bawah foto */
}

/* Style Kartu Pengurus Utama */
.hero-person-card {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 8px;
    background: var(--brand);
    border-radius: 999px !important;
    box-shadow: 0 10px 25px rgba(30, 70, 41, 0.15);
    backdrop-filter: blur(10px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 2px solid #2E6F40;
}

.hero-person-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(30, 70, 41, 0.25);
}

.hero-person-card .role {
    display: block;
    margin-bottom: 2px;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-person-card .name {
    display: block;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Konten Teks Hero */
.hero-content {
    flex: 1;
    max-width: 650px;
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero h2 { 
    font-size: 3rem; 
    line-height: 1.15; 
    margin-bottom: 24px; 
    font-weight: 700; 
}

.hero h2 span { 
    color: #8BE78B; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.2); 
    display: inline-block; 
    animation: float 4s ease-in-out infinite; 
}

.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
    color: rgba(255,255,255,0.9); 
    font-weight: 500; 
}

.hero p span { 
    color: #8BE78B; 
}

.hero-buttons { 
    display: flex;
    align-items: center;
    gap: 15px;                  
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-team-photo-wrap {
        height: 250px;
        gap: 6px;
    }

    .hero-team-labels {
        gap: 6px;
    }

    .hero-person-card {
        min-height: auto;
        padding: 8px 4px !important;
        border-radius: 50px !important;
    }

    .hero-person-card .role {
        font-size: 0.52rem;
        letter-spacing: 0.3px;
    }

    .hero-person-card .name {
        font-size: 0.58rem;
        line-height: 1.1;
    }
}

@media (max-width: 480px) {
    .hero-team-photo-wrap {
        height: 210px;
    }

    .hero-person-card .role {
        font-size: 0.48rem;
    }

    .hero-person-card .name {
        font-size: 0.52rem;
    }
}

.welcome-marquee {
    width: 100%;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: var(--white);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap;
    display: flex;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-left-to-right 25s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.marquee-content span {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.marquee-content i {
    color: #A2E0B8; 
    font-size: 0.85rem;
}

.welcome-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* ==========================================
   ABOUT & BROSUR
   ========================================== */
.about-wrap { 
    display: flex; 
    align-items: stretch; 
    gap: 60px; 
}

.about-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
    gap: 30px;
}

.about-img-box {
    flex: 1;
    position: relative;
    box-shadow: none !important; /* Tambahkan baris ini untuk mematikan shadow lancip */
}

.about-img-box img { 
    width: 100%; 
    border-radius: 30px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
    animation: float 6s ease-in-out infinite; 
    object-fit: cover; 
}

.about-img-box::before {
    content: ''; 
    position: absolute; 
    top: -20px; 
    left: -20px; 
    width: 100px; 
    height: 100px;
    background: var(--brand-light); 
    border-radius: 50%; 
    z-index: -1;
}

.about-text { 
    flex: 1; 
}

.about-text h3 { 
    font-size: 2.5rem; 
    margin: 15px 0 25px; 
    line-height: 1.2; 
    color: var(--brand-dark); 
}

.about-text p { 
    color: var(--text-muted); 
    margin-bottom: 35px; 
}

.vm-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 24px; 
}

.vm-item { 
    background: var(--white); 
    padding: 24px; 
    border-radius: 20px; 
    border: 1px solid var(--border-color); 
    box-shadow: var(--shadow-natural); 
}

.vm-icon { 
    width: 55px;
    height: 55px; 
    background: var(--brand-light); 
    color: var(--brand); 
    border-radius: 15px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 1.3rem; 
    margin-bottom: 15px; 
    transition: 0.3s; 
}

.vm-item:hover .vm-icon { 
    transform: scale(1.1) rotate(-10deg); 
    background: var(--brand); 
    color: var(--white); 
}

.vm-item h4 { 
    margin-bottom: 8px; 
    color: var(--brand-dark); 
}

.vm-item p { 
    font-size: 0.88rem; 
    margin-bottom: 0; 
    color: var(--text-muted); 
}

.brosur-wrapper {
    width: 100%; 
    margin: 0; 
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.img-brosur {
    width: 100%; 
    height: auto; 
    display: block;
    transition: transform 0.5s ease;
}

.img-brosur:hover {
    transform: scale(1.01);
}

/* ==========================================
   PRODUCTS & KATALOG SAPI
   ========================================== */
.products-bg { 
    background-color: #F2F7F2; 
}

.products-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}

.product-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 32px;
    text-align: center;
    border: 1px solid rgba(46,111,64,0.05);
    box-shadow: var(--shadow-natural);
    transform-style: preserve-3d;
    will-change: transform;
}

.product-card.animated-loop {
    animation: continuousFloat 4s ease-in-out infinite;
}

.product-img-wrap {
    width: 120px; 
    height: 120px;
    margin: 0 auto 30px;
    box-shadow: 0 10px 25px rgba(46,111,64,0.1);
    overflow: hidden;
}

.product-img-wrap img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); 
}

.product-card:hover .product-img-wrap img { 
    transform: scale(1.15); 
    transform: translateZ(30px);
}

.product-card h4 { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    font-size: 1.3rem; 
    margin-bottom: 15px; 
    color: var(--brand-dark); 
    transform: translateZ(20px);
}

.product-card h4 i { 
    color: var(--brand); 
    transition: 0.3s; 
}

.product-card:hover h4 i { 
    transform: scale(1.2) rotate(10deg); 
}

.product-card p { 
    font-size: 0.95rem; 
    color: var(--text-muted); 
}

.btn-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
    width: 100%; 
    margin-top: 15px;
    text-align: center;
}

.btn-product:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

.btn-small {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px;
    background: var(--brand-light); 
    color: var(--brand);
    padding: 10px 16px; 
    border-radius: 12px; 
    font-size: 0.85rem; 
    font-weight: 600;
    margin-top: 14px; 
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    width: 100%;
}

.btn-small:hover { 
    background: var(--brand);   
    color: var(--white); 
    transform: translateY(-3px); 
}

/* ==========================================
   FEATURES & GALLERY
   ========================================== */
.features { 
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); 
    color: var(--white); 
    padding: 80px 0; 
}

.features-title-main { 
    text-align: center; 
    margin-bottom: 50px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 1.8rem; 
    font-weight: 700; 
}

.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 40px; 
    text-align: center; 
}

.feature-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.feature-icon { 
    width: 75px; 
    height: 75px; 
    background: rgba(255,255,255,0.15); 
    backdrop-filter: blur(10px); 
    color: var(--white); 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 1.8rem; 
    margin-bottom: 24px; 
    transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    border: 1px solid rgba(255,255,255,0.2); 
}

.feature-item:hover .feature-icon { 
    background: var(--white); 
    color: var(--brand); 
    transform: rotateY(360deg) scale(1.1); 
}

.feature-item h4 { 
    margin-bottom: 12px; 
    font-size: 1.2rem; 
    font-weight: 600; 
}

.feature-item p { 
    font-size: 0.9rem; 
    color: rgba(255,255,255,0.8); 
}

.mascot-container {
    position: absolute;
    top: -20px;      
    right: -45px;     
    width: 150px;    
    height: 150px;   
    transform: rotate(-129deg); 
    z-index: 10;     
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.mascot-container:hover {
    transform: rotate(-132deg) scale(1.05) translateY(-5px); 
    animation: mascotPulseDesktop 1.2s ease-in-out infinite;
}

.mascot-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease-in-out; 
    filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.15)); 
    animation: idleShadowPulse 2.5s ease-in-out infinite;
}

.mascot-diam { opacity: 1; visibility: visible; }
.mascot-halo { opacity: 0; visibility: hidden; }

.mascot-container:hover .mascot-diam { opacity: 0; visibility: hidden; }
.mascot-container:hover .mascot-halo { opacity: 1; visibility: visible; }

@keyframes idleShadowPulse {
    0%, 100% { filter: drop-shadow(0px 10px 15px rgba(0, 149, 255, 0.37)); }
    50% { filter: drop-shadow(0px 15px 30px rgba(0, 238, 255, 0.519)); }
}

@keyframes mascotPulseDesktop {
    0%, 100% { transform: rotate(-132deg) scale(1.05) translateY(-5px); }
    50% { transform: rotate(-132deg) scale(1.12) translateY(-5px); }
}

@keyframes mascotPulseMobile {
    0%, 100% { transform: rotate(-132deg) scale(1.08) translateY(-4px); }
    50% { transform: rotate(-132deg) scale(1.15) translateY(-4px); }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 50px; 
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-natural);
    background: var(--white);
}

.gallery-item.hide { display: none; }
.gallery-item.show { animation: fadeInScale 0.4s ease forwards; }

@keyframes fadeInScale { 
    from { opacity: 0; transform: scale(0.9); } 
    to { opacity: 1; transform: scale(1); } 
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover img { 
    transform: scale(1.08) rotate(2deg); 
    box-shadow: var(--shadow-hover);
    filter: brightness(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: linear-gradient(to top, rgba(30, 70, 41, 0.9) 0%, rgba(46, 111, 64, 0.2) 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.4s ease;
    width: 100%;
}

.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

/* Container utama slide yang bisa bergeser secara mulus */
.gallery-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

/* Setiap halaman slide mewakili 1 grup (maksimal 8 foto) */
.gallery-page {
    min-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background-color: var(--brand, #1b4332);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.9;
}

.gallery-arrow:hover {
    background-color: var(--brand-dark, #081c15);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-arrow.hidden {
    display: none !important;
}

/* Dots Indicator di Bagian Bawah */
.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
}

.gallery-dots.hidden {
    display: none !important;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    background-color: #c2d6c5;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Efek elastis saat melebar */
}

/* Animasi Melebar untuk Dot Aktif */
.gallery-dot.active {
    background-color: var(--brand, #1b4332);
    width: 30px; /* Melebar secara dinamis */
}

.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-caption h4 { font-size: 1.05rem; margin-bottom: 4px; font-weight: 600; }
.gallery-caption p { font-size: 0.8rem; opacity: 0.9; margin-bottom: 8px; }
.gallery-caption i { font-size: 0.9rem; background: rgba(255, 255, 255, 0.25); padding: 8px; border-radius: 50%; }

/* Modal Lightbox Styling */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active { display: flex; opacity: 1; }

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content { transform: scale(1); }

.lightbox-caption-text { 
    color: #ffffff; 
    margin-top: 15px; 
    font-size: 1.1rem; 
    font-weight: 500;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 25px; 
    right: 35px;
    color: #ffffff; 
    font-size: 40px; 
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover { color: var(--leaf); }

.stars { color: #5B8C5A; font-size: 0.9rem; margin-bottom: 12px; }

/* ==========================================
   FORM SECTION KHUSUS
   ========================================== */
.form-section {
    background-color: #f4fcf6;
    padding: 60px 0;
    margin-top: 80px;
}

.form-card {
    background: #ffffff;
    border: 2px solid var(--brand, #336e4f);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(51, 110, 79, 0.1);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--brand, #336e4f);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #c2e0cf;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand, #336e4f);
    box-shadow: 0 0 0 3px rgba(51, 110, 79, 0.2);
}

.btn-submit {
    background-color: var(--brand, #336e4f);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: var(--brand-dark, #245039);
}

.btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #e63946;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-delete:hover {
    color: var(--white);
    transform: translateY(-2px);
    background-color: #b71c1c;
}

.cta-banner { 
    background: var(--leaf); 
    padding: 50px 0; 
    color: var(--white); 
    position: relative; 
    overflow: hidden; 
}

.cta-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 30px; 
    position: relative; 
    z-index: 2; 
}

.cta-content h3 { font-size: 2rem; margin-bottom: 6px; font-weight: 700; }

.main-footer { 
    background: #132A18; 
    color: #BACBBF; 
    padding: 80px 0 60px; 
}

.footer-grid { 
    display: flex;
    flex-wrap: wrap; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 50px; 
}

.footer-grid > div { flex: 1 1 260px; }

.footer-logo { margin-bottom: 24px; }
.footer-logo h1 { color: var(--white); }

.footer-social { display: flex; gap: 15px; margin-top: 24px; }

.footer-social a { 
    width: 44px; 
    height: 44px; 
    background: rgba(255,255,255,0.06); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 50%; 
    transition: 0.3s; 
    color: var(--white); 
}

.footer-social a:hover { 
    background: var(--brand); 
    color: var(--white); 
    transform: translateY(-5px); 
}

.footer-title { 
    color: var(--white);
    margin-bottom: 25px; 
    font-size: 1.15rem; 
    font-weight: 600; 
    position: relative; 
    padding-bottom: 10px; 
}

.footer-title::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 40px; 
    height: 3px; 
    background: var(--leaf); 
    border-radius: 2px; 
}

.footer-item { display: flex; gap: 15px; margin-bottom: 20px; }
.footer-item i { color: var(--leaf); margin-top: 5px; font-size: 1.1rem; }

footer#kontak { position: relative !important; overflow: visible !important; }

.map-box { 
    width: 100%; 
    height: 150px; 
    background: #eee; 
    border-radius: 20px; 
    position: relative; 
    overflow: hidden; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
}

.map-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.5; 
    transition: 0.5s; 
}

.map-box:hover img { 
    transform: scale(1.08); 
    opacity: 0.7; 
    cursor: pointer;
}

.map-label { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background: var(--white); 
    color: #111; 
    padding: 8px 20px; 
    border-radius: 30px; 
    font-size: 0.85rem; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 600; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

.copyright { 
    background: #0D1D11; 
    text-align: center; 
    padding: 25px; 
    font-size: 0.85rem; 
    color: #768E7E; 
    border-top: 1px solid rgba(255,255,255,0.05); 
}

/* ==========================================
   STYLING SAAT PRODUK KOSONG
   ========================================== */
.products-bg:has(.empty-state) {
    display: flex;
    align-items: center;
    min-height: 75vh;
}

.products-bg:has(.empty-state) .container { width: 100%; }
.products-bg:has(.empty-state) .section-header { margin-bottom: 20px; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--brand);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(46, 111, 64, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--brand-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(46, 111, 64, 0.4);
}

/* ==========================================
   MODIFIKASI IMG WRAP HALAMAN TAHUNAN
   ========================================== */
.product-img-wrap.wrap-produk {
    width: 100%; 
    height: 220px; 
    margin: 0 auto 20px; 
    border-radius: 16px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
    transform: none !important; 
}

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

.product-card:hover .product-img-wrap.wrap-produk img { transform: scale(1.08); }

/* ==========================================
   HALAMAN DETAIL PRODUK
   ========================================== */
.detail-container {
    display: flex;
    gap: 40px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #eaeaea;
}

.detail-left { flex: 0 0 400px; }

.detail-left img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eaeaea;
}

.detail-right { flex: 1; display: flex; flex-direction: column; }

.detail-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.detail-description {
    display: block;
    width: 100%;
    height: 250px; 
    border: 2px solid #dce7dc;
    border-radius: 10px;
    background: #fcfffc;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    overflow-y: auto; 
    padding: 12px 14px;
    margin-bottom: 20px;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.detail-description::-webkit-scrollbar { width: 5px; }
.detail-description::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.detail-description::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.detail-description::-webkit-scrollbar-thumb:hover { background: #999; }

.detail-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: auto; 
}

.btn-wa-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #55B570;
    color: white;
    padding: 8px 18px; 
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;  
    text-decoration: none;
    transition: 0.3s;
    border: none;
}

.btn-wa-detail:hover {
    background-color: #459a5b;
    transform: translateY(-2px);
    color: white;
}

.btn-delete-small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e74c3c; 
    background: none;
    border: none;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 5px 0;
    transition: 0.3s;
}

.btn-delete-small:hover { color: #c0392b; text-decoration: underline; }

/* ==========================================
   MULTI-LEVEL DROPDOWN MENU ICONNET (FIXED)
   ========================================== */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 320px;
    box-shadow: var(--shadow-natural);
    border-radius: 12px;
    z-index: 1000;
    top: 120%;
    right: 0;
    left: auto;
    transform: none;
    border: 1px solid var(--border-color);
}

.nav-item-dropdown.tampil .dropdown-menu {
    display: flex;
    flex-direction: column;
    animation: slideDownMenu 0.3s ease forwards;
}
.dropdown-sub-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-sub-toggle i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}
/* Rotasi panah mengarah ke bawah saat submenu di-hover atau di-klik */
.dropdown-submenu-container:hover .dropdown-sub-toggle i,
.dropdown-submenu-container.tampil-sub .dropdown-sub-toggle i {
    transform: rotate(90deg);
}
.dropdown-submenu {
    padding-left: 5px; 
    margin-left: -5px; 
}

.dropdown-menu a {
    color: var(--text-main);
    padding: 12px 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(46, 111, 64, 0.05);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu > a:hover, 
.dropdown-submenu-container:hover > a {
    background-color: var(--brand-light);
    color: var(--brand);
    padding-left: 26px;
}

/* Sub-Menu Samping Kanan (Khusus Layar Lebar/Desktop) */
/* Sub-Menu Di Dalam Dropdown (Nested) */
.dropdown-submenu-container {
    position: relative;
}

.dropdown-submenu {
    display: none;
    flex-direction: column;
    background-color: var(--brand-light);
    border-radius: 8px;
    margin: 4px 12px 8px 12px;
    padding: 4px 0;
    border: none;
    box-shadow: none;
}

.dropdown-submenu-container:hover .dropdown-submenu {
    display: flex;
}

.dropdown-submenu a {
    padding: 8px 16px !important;
    font-size: 0.85rem;
    color: var(--text-main);
    border-bottom: none !important;
}

.dropdown-submenu a:hover {
    background-color: rgba(46, 111, 64, 0.1);
    color: var(--brand);
    padding-left: 20px !important;
}
/* Sembunyikan tombol ICONNET mobile secara default di layar Desktop */
.iconnet-mobile-container {
    display: none;
}
/* =========================================================================
   BAGIAN MOBILE / TABLET / RESPONSIVE (MEDIA QUERIES)
   Semua kode di bawah ini khusus mengatur tampilan saat diakses lewat HP/Tablet
   ========================================================================= */

/* --- TABLET (Layar medium, maksimal 992px) --- */
@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- HP / SMARTPHONE (Layar kecil, maksimal 768px) --- */
@media (max-width: 768px) {
    /* --- PENGATURAN ICONNET KHUSUS MOBILE --- */
    
    /* Sembunyikan menu ICONNET bawaan di navbar */
    .hide-on-mobile {
        display: none !important;
    }

    /* Container utama tombol kiri */
    .iconnet-mobile-container {
        position: fixed;
        bottom: 30px;
        left: 30px; /* Posisi di sebelah kiri */
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Styling tombol bulat sama persis dengan tombol ke atas */
    .iconnet-mobile-btn {
        width: 50px;
        height: 50px;
        background-color: #ffffff;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(46, 111, 64, 0.3);
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .iconnet-mobile-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(46, 111, 64, 0.4);
    }

    /* Teks dalam tombol menyesuaikan ruang sempit */
    .iconnet-text {
        font-size: 0.55rem;
        font-weight: 800;
        line-height: 1.1;
    }

    /* Kotak menu pilihan */
    .iconnet-mobile-menu {
        background: #ffffff;
        width: 260px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: none; /* Tersembunyi secara default */
        flex-direction: column;
        overflow: hidden;
        border: 1px solid var(--border-color);
        margin-bottom: 15px; /* Jarak antara menu dan tombol bulat */
    }

    /* Class tambahan untuk memunculkan menu */
    .iconnet-mobile-menu.tampil {
        display: flex;
        animation: slideDownMenu 0.3s ease forwards;
    }

    .iconnet-mobile-menu a {
        padding: 12px 15px;
        color: var(--text-main);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(46, 111, 64, 0.05);
    }

    /* Menu bertingkat (Sub-menu) di dalam modal mobile */
    .mobile-submenu {
        display: none;
        flex-direction: column;
        background-color: rgba(46, 111, 64, 0.05);
    }

    .mobile-submenu.tampil-sub {
        display: flex;
    }

    .mobile-submenu a {
        padding-left: 25px;
        font-size: 0.85rem;
    }
    
    /* Navbar Mobile */
    .menu-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        display: none;
        border-top: 1px solid var(--border-color);
    }

    .navbar.scrolled .nav-links {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-links.active {
        display: flex;
        animation: slideDownMenu 0.3s ease forwards;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(46, 111, 64, 0.04);
    }

    .nav-item:last-child { border-bottom: none; }

    /* Dropdown Menu Mobile */
    .nav-item-dropdown { width: 100%; text-align: center; }
    .dropdown-menu {
        position: static; 
        box-shadow: none;
        border: none;
        background-color: var(--brand-light);
        border-radius: 0;
        transform: none;
        width: 100%;
        display: none;
    }

    .nav-item-dropdown.tampil .dropdown-menu { display: flex; }
    .dropdown-menu a { padding: 12px 15px; font-size: 0.85rem; }
    .dropdown-menu > a:hover, .dropdown-submenu-container:hover > a { padding-left: 15px; }
    .dropdown-submenu {
        position: static; 
        box-shadow: none;
        border: none;
        background-color: rgba(46, 111, 64, 0.05); 
        width: 100%;
        display: none;
    }

    .dropdown-submenu-container:hover .dropdown-submenu,
    .dropdown-submenu-container:focus-within .dropdown-submenu {
        display: flex;
        flex-direction: column;
    }

    .hero {
        padding-top: 110px; 
        padding-bottom: 50px; 
        height: auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .hero-wrapper {
        flex-direction: column; /* Teks di atas, Slider Foto Pengurus di bawah */
        gap: 30px;
        margin-left: 0; /* Reset margin desktop */
        padding: 0 15px;
        width: 100%;
    }

    /* 2. Hero Content (Teks Utama & Tombol) */
    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero h2 {
        font-size: 2.1rem; /* Ukuran font judul yang pas di mobile */
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 24px;
        padding: 0 10px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;      
        justify-content: center;  
        align-items: center;
        flex-wrap: wrap; /* Agar tombol otomatis menyesuaikan jika layar sangat kecil */
        gap: 12px;                
        width: 100%;
        padding: 0;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: auto;
    }

    /* 3. Foto Tim Pengurus di Mobile */
    .hero-image {
        width: 100%;
        max-width: 520px;
        margin-right: 0;
    }

    .hero-team-photo-wrap {
        width: 100%;
        height: 330px;
    }

    .hero-team-labels {
        width: 100%;
        gap: 8px;
        margin-top: -4px;
    }

    .hero-person-card {
        min-height: 88px;
        padding: 10px 8px;
        border-radius: 14px;
        border-width: 1.5px;
    }

    .hero-person-card .role {
        font-size: 0.62rem;
        letter-spacing: 0.7px;
        line-height: 1.2;
    }

    .hero-person-card .name {
        font-size: 0.68rem;
        line-height: 1.3;
    }

    /* About, Brosur, dsb Mobile */
    .about-wrap { flex-direction: column; text-align: center; }
    .vm-grid { grid-template-columns: 1fr; }
    .vm-item { text-align: left; }
    .cta-content { flex-direction: column; text-align: center; }
    .section-title { font-size: 1.8rem; }
    .brosur-wrapper { width: 100%; margin: 0; padding: 0; }
    .img-brosur { width: 100%; height: auto; }

    /* Gallery Mobile */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-grid img { width: 100%; height: 180px; object-fit: cover; }

    /* Detail Produk Mobile */
    .detail-container { flex-direction: column; padding: 20px; }
    .detail-left { flex: none; width: 100%; }
    .detail-title { font-size: 1.6rem; }
    .detail-actions { width: 100%; align-items: center; }

    /* Mascot Animasi Mobile */
    .mascot-container {
        width: 85px;                
        top: -63px;                 
        right: -45px;                
        transform: rotate(-132deg);  
    }

    .mascot-container:active,
    .mascot-container:focus,
    .mascot-container:hover {
        transform: rotate(-132deg) scale(1.08) translateY(-4px);
        animation: mascotPulseMobile 1.2s ease-in-out infinite;
    }

    .mascot-container:active .mascot-diam,
    .mascot-container:focus .mascot-diam { opacity: 0; visibility: hidden; }
    .mascot-container:active .mascot-halo,
    .mascot-container:focus .mascot-halo { opacity: 1; visibility: visible; }

    .mascot-pointer {
        top: -85px;
        right: 15px;
    }
    
    .pointer-text {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    .pointer-arrow {
        width: 45px;
        height: 38px;
    }
}

/* --- HP SANGAT KECIL (Maksimal 480px) --- */
@media (max-width: 480px) {
    .hero-team-photo-wrap {
        height: 285px;
    }

    .hero-team-labels {
        gap: 6px;
    }

    .hero-person-card {
        min-height: 82px;
        padding: 8px 5px;
    }

    .hero-person-card .role {
        font-size: 0.55rem;
    }

    .hero-person-card .name {
        font-size: 0.61rem;
    }

    .mascot-container {
        width: 70px;     
        top: -63px;
        right: -45px;
    }
}
/* Perbaikan layout menu dropdown di tampilan Mobile */
@media screen and (max-width: 768px) {
    .nav-item-dropdown {
        width: 100%;
        display: block;
    }
    
    .nav-item-dropdown .nav-item {
        display: block;
        width: 100%;
        /* Sesuaikan padding di bawah ini dengan padding menu lainnya */
        padding: 10px 0; 
        /* Sesuaikan warna dan ketebalan garis dengan menu lainnya */
        border-bottom: 1px solid #ddd; 
    }
    
    /* (Opsional) Memastikan isi submenu tidak berantakan jika terbuka di mobile */
    .dropdown-menu {
        position: relative;
        width: 100%;
        box-shadow: none;
    }
}

/* ==========================================
   STYLE TEMPAT WISATA (VERSI LEBIH BESAR & LEBAR)
   ========================================== */

/* Container Utama Wisata (Dilebarkan dari 800px ke 1000px) */
.wisata-container {
    max-width: 1000px; /* Diperlebar agar lebih luas */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

/* Card Utama Per Tempat Wisata */
.wisata-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 1. Judul / Nama Tempat Wisata */
.wisata-title {
    font-size: 2rem; /* Ukuran font sedikit diperbesar */
    font-weight: 700;
    color: var(--brand-dark, #1E4629);
    text-align: center;
    margin-bottom: 20px;
}

/* 2. DIV PERTAMA: BOX GAMBAR (Dilebarkan & Ditinggikan) */
.wisata-img-box {
    width: 100%; /* Mengikuti lebar container (1000px) */
    background: var(--white, #ffffff);
    border-radius: 24px; /* Sudut melengkung lebih halus */
    overflow: hidden;
    box-shadow: var(--shadow-natural, 0 12px 35px rgba(46, 111, 64, 0.1));
    border: 1px solid rgba(46, 111, 64, 0.12);
    margin-bottom: 24px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wisata-img-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover, 0 22px 45px rgba(46, 111, 64, 0.2));
}

.wisata-img-link {
    display: block;
    width: 100%;
    position: relative;
    text-decoration: none;
}

.wisata-img-box img {
    width: 100%;
    height: 480px; /* Tinggi gambar ditambah dari 380px ke 480px */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.wisata-img-box:hover img {
    transform: scale(1.04);
}

/* Overlay Hint Google Maps */
.map-overlay-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 70, 41, 0.9), transparent);
    color: #ffffff;
    padding: 24px;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.wisata-img-box:hover .map-overlay-hint {
    opacity: 1;
    color: #8BE78B;
}

/* 3. DIV KEDUA: BOX INFORMASI (Dilebarkan & Tambah Padding) */
.wisata-info-box {
    width: 100%; /* Mengikuti lebar container (1000px) */
    background: var(--white, #ffffff);
    border-radius: 24px;
    padding: 40px; /* Padding diperbesar agar tampilan teks lebih lega */
    box-shadow: var(--shadow-natural, 0 12px 35px rgba(46, 111, 64, 0.1));
    border: 1px solid rgba(46, 111, 64, 0.12);
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wisata-info-box:hover {
    box-shadow: var(--shadow-hover, 0 18px 40px rgba(46, 111, 64, 0.15));
}

.wisata-info-box h4 {
    font-size: 1.45rem; /* Ukuran sub-judul sedikit diperbesar */
    color: var(--brand, #2E6F40);
    margin-bottom: 16px;
    font-weight: 600;
}

.wisata-info-box p {
    color: var(--text-main, #2C3E2B);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.wisata-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color, #E2EBE2);
    font-size: 0.95rem;
    color: var(--leaf, #5B8C5A);
    font-weight: 500;
}

.wisata-meta span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Responsif untuk Layar HP/Mobile */
@media (max-width: 768px) {
    .wisata-img-box img {
        height: 300px; /* Penyesuaian tinggi gambar di layar HP */
    }
    .wisata-info-box {
        padding: 24px; /* Penyesuaian padding di layar HP */
    }
}

.iconnet-icon {
    color: #00008f !important; /* Putih bersih agar berdiri sejajar dengan background gelap */
    font-weight: 800;
    -webkit-text-stroke: 0.4px #ffffff; /* Hapus stroke gelap yang bikin buram */
    
}

.iconnet-net {
    color: #00F0FF !important; /* Cyan menyala */
    font-weight: 800;
    -webkit-text-stroke: 0px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Pastikan ukuran & keterbacaan di marquee seimbang */
.welcome-marquee .iconnet-icon,
.welcome-marquee .iconnet-net {
    font-size: 1.05rem;
}
/* Modifikasi Ketajaman Teks ICONNET pada Marquee Track */
.welcome-marquee .marquee-content .iconnet-icon {
    color: #002B66; /* Warna navy yang lebih pekat & tajam */
    font-weight: 800; /* Bolding lebih tebal */
    letter-spacing: 0.8px;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.6); /* Outline tipis halus agar makin kontras */
}

.welcome-marquee .marquee-content .iconnet-net {
    color: #00E5D8; /* Warna cyan/turkuis terang & lebih menyala */
    font-weight: 800;
    letter-spacing: 0.8px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.4); /* Shadow hitam halus agar pop-out di background hijau */
}

.mascot-pointer {
    position: absolute;
    top: -75px;
    right: 80px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none; /* Supaya klik tidak terhalang */
    animation: pointerBounce 2s ease-in-out infinite;
}

.pointer-text {
    background-color: #00b3c0;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pointer-arrow {
    width: 60px;
    height: 50px;
    margin-top: 2px;
    transform: rotate(-10deg);
}

/* Animasi membal (bounce) untuk menarik perhatian */
@keyframes pointerBounce {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}
.about-img-box img {
    border: 3px double var(--brand);
    outline: 2px solid var(--leaf);
    outline-offset: 4px;
}