/* ============================================
   DUSUN PANDANPLOSO — VILLAGE WEBSITE
   Elegant Nature Theme
   ============================================ */

/* ── CSS Custom Properties ── */
:root {
    --green-900: #0F2B11;
    --green-800: #1E4620;
    --green-700: #275E2A;
    --green-600: #2F7A33;
    --green-500: #3A9940;
    --green-400: #5CB85C;
    --green-300: #8DD48D;
    --green-200: #B8E6B8;
    --green-100: #DCF3DC;
    --green-50: #F0F9F0;

    --cream: #F7F9F6;
    --cream-warm: #F5F2EC;
    --white: #FFFFFF;

    --charcoal-900: #1A1D1A;
    --charcoal-800: #2D312D;
    --charcoal-700: #3D423D;
    --charcoal-600: #4F554F;
    --charcoal-500: #6B726B;
    --charcoal-400: #8A918A;
    --charcoal-300: #A8AEA8;
    --charcoal-200: #C7CBC7;
    --charcoal-100: #E3E5E3;

    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(30, 70, 32, 0.06);
    --shadow-md: 0 4px 16px rgba(30, 70, 32, 0.08);
    --shadow-lg: 0 8px 32px rgba(30, 70, 32, 0.1);
    --shadow-xl: 0 16px 48px rgba(30, 70, 32, 0.12);
    --shadow-glow: 0 0 40px rgba(58, 153, 64, 0.15);

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    --container-max: 1200px;
    --nav-height: 72px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--charcoal-800);
    background-color: var(--cream);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Selection ── */
::selection {
    background: var(--green-200);
    color: var(--green-900);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(247, 249, 246, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(30, 70, 32, 0.08);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-brand-text .nav-title,
.navbar.scrolled .nav-brand-text .nav-subtitle {
    color: var(--charcoal-800);
}

.navbar.scrolled .nav-logo {
    color: var(--green-700);
}

.navbar.scrolled .nav-links a {
    color: var(--charcoal-700);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--green-700);
}

.navbar.scrolled .nav-toggle span {
    background: var(--charcoal-700);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.nav-logo {
    width: 38px;
    height: 38px;
    color: var(--cream);
    transition: color var(--transition-base);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    transition: color var(--transition-base);
}

.nav-subtitle {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color var(--transition-base);
}

.navbar.scrolled .nav-subtitle {
    color: var(--charcoal-400);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.nav-links a {
    padding: 8px 18px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 30%, var(--green-700) 60%, #2a6b30 100%);
    overflow: hidden;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(58, 153, 64, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(141, 212, 141, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Floating organic shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    background: var(--green-300);
    filter: blur(1px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -10%;
    right: -5%;
    border-radius: 42% 58% 55% 45% / 42% 45% 55% 58%;
    animation: floatShape1 16s ease-in-out infinite;
    background: linear-gradient(135deg, var(--green-400), var(--green-200));
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -8%;
    left: -4%;
    border-radius: 55% 45% 40% 60% / 58% 42% 58% 42%;
    animation: floatShape2 20s ease-in-out infinite;
    background: linear-gradient(225deg, var(--green-300), var(--green-500));
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 15%;
    border-radius: 60% 40% 50% 50% / 45% 55% 45% 55%;
    animation: floatShape3 14s ease-in-out infinite;
    opacity: 0.05;
}

.shape-4 {
    width: 150px;
    height: 150px;
    bottom: 25%;
    right: 20%;
    border-radius: 45% 55% 60% 40% / 50% 40% 60% 50%;
    animation: floatShape4 18s ease-in-out infinite;
    opacity: 0.04;
}

.shape-5 {
    width: 80px;
    height: 80px;
    top: 40%;
    right: 35%;
    border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
    animation: floatShape5 12s ease-in-out infinite;
    opacity: 0.06;
}

.shape-6 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 30%;
    border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
    animation: floatShape6 22s ease-in-out infinite;
    opacity: 0.04;
}

.shape-7 {
    width: 60px;
    height: 60px;
    top: 15%;
    right: 45%;
    border-radius: 50%;
    animation: floatShape7 10s ease-in-out infinite;
    opacity: 0.05;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(-30px, 20px) rotate(5deg) scale(1.05); }
    50% { transform: translate(-15px, -25px) rotate(-3deg) scale(0.98); }
    75% { transform: translate(20px, 15px) rotate(4deg) scale(1.03); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(25px, -30px) rotate(-6deg); }
    66% { transform: translate(-20px, 20px) rotate(4deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(40px, -20px) rotate(10deg) scale(1.1); }
}

@keyframes floatShape4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-20px, -15px) rotate(8deg); }
    75% { transform: translate(15px, 25px) rotate(-5deg); }
}

@keyframes floatShape5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.2); }
}

@keyframes floatShape6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -35px) rotate(-8deg); }
    66% { transform: translate(-30px, 15px) rotate(5deg); }
}

@keyframes floatShape7 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.3); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
    margin-top: -18px;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--green-200);
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title-line {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: var(--green-200);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.hero-title-accent {
    display: block;
    font-size: clamp(var(--font-size-4xl), 5.5vw, var(--font-size-6xl));
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--white) 0%, var(--green-100) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.65);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--white);
    color: var(--green-800);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: var(--green-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--font-size-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease 1.2s both;
    z-index: 2;
}


.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

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

/* ============================================
   SECTION COMMONS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid var(--green-100);
}

.section-title {
    font-size: clamp(var(--font-size-2xl), 3.5vw, var(--font-size-4xl));
    font-weight: 800;
    color: var(--charcoal-900);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: var(--font-size-base);
    color: var(--charcoal-500);
    line-height: 1.8;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-100), transparent);
}

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

.stat-card {
    background: var(--cream);
    border: 1px solid var(--charcoal-100);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-400), var(--green-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-200);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border-radius: var(--radius-lg);
    color: var(--green-700);
    border: 1px solid var(--green-100);
    transition: all var(--transition-base);
}

.stat-card:hover .stat-icon {
    background: var(--green-700);
    color: var(--white);
    border-color: var(--green-700);
    transform: scale(1.05);
}

.stat-icon svg {
    width: 26px;
    height: 26px;
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--green-800);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--charcoal-700);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.stat-detail {
    font-size: var(--font-size-xs);
    color: var(--charcoal-400);
    font-weight: 400;
}


/* ============================================
   DETAIL MODAL
   ============================================ */
.detail-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 43, 17, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.detail-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.detail-modal {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 48px;
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(30, 70, 32, 0.08);
    transform: translateY(40px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.detail-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--charcoal-600);
    transition: all var(--transition-base);
    z-index: 10;
}

.detail-modal-close:hover {
    background: var(--green-700);
    color: var(--white);
    transform: rotate(90deg);
}

.detail-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.detail-modal-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
}

.detail-modal-icon svg {
    width: 28px;
    height: 28px;
}

.detail-modal-tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 6px;
    border: 1px solid var(--green-100);
}

.detail-modal-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--charcoal-900);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.detail-modal-intro {
    font-size: var(--font-size-base);
    color: var(--charcoal-500);
    line-height: 1.8;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--charcoal-100);
}

.detail-modal-body h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--charcoal-900);
    margin: 24px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-modal-body h4 .dm-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--green-50);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
    font-size: 14px;
}

.detail-modal-body p {
    font-size: var(--font-size-sm);
    color: var(--charcoal-600);
    line-height: 1.8;
    margin-bottom: 8px;
}

.detail-modal-body ul {
    margin: 8px 0 16px;
}

.detail-modal-body ul li {
    padding: 7px 0;
    font-size: var(--font-size-sm);
    color: var(--charcoal-600);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.detail-modal-body ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: var(--green-400);
    border-radius: 50%;
    margin-top: 8px;
}

.detail-modal-body .detail-cta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--charcoal-100);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-modal-body .detail-cta .btn {
    font-size: var(--font-size-sm);
    padding: 12px 24px;
}

.detail-modal-body .btn-green {
    background: var(--green-700);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.detail-modal-body .btn-green:hover {
    background: var(--green-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Modal scrollbar */
.detail-modal::-webkit-scrollbar {
    width: 6px;
}
.detail-modal::-webkit-scrollbar-track {
    background: transparent;
}
.detail-modal::-webkit-scrollbar-thumb {
    background: var(--charcoal-200);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .detail-modal {
        padding: 32px 24px;
        max-height: 90vh;
        border-radius: var(--radius-xl);
    }

    .detail-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .detail-modal-title {
        font-size: var(--font-size-xl);
    }

    .detail-modal-body .detail-cta {
        flex-direction: column;
    }

    .detail-modal-body .btn-green {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--green-900);
    color: var(--green-200);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-400), var(--green-700), var(--green-400));
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-logo svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.footer-logo span {
    font-size: var(--font-size-lg);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: var(--green-300);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 300px;
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--green-300);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--green-700);
    border-color: var(--green-600);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-heading {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: var(--font-size-sm);
    color: var(--green-200);
    opacity: 0.8;
    line-height: 1.6;
}

.footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--green-400);
}

.emergency-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.emergency-list li:last-child {
    border-bottom: none;
}

.emergency-label {
    font-size: var(--font-size-sm);
    color: var(--green-200);
    opacity: 0.7;
}

.emergency-number {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--green-300);
    font-variant-numeric: tabular-nums;
    transition: color var(--transition-fast);
}

.emergency-number:hover {
    color: var(--white);
}

.footer-map {
    padding: 48px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-map .footer-heading {
    margin-bottom: 20px;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-wrapper iframe {
    display: block;
    filter: brightness(0.85) contrast(1.1) saturate(0.6);
    transition: filter var(--transition-base);
}

.map-wrapper:hover iframe {
    filter: brightness(1) contrast(1) saturate(1);
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
    font-size: var(--font-size-xs);
    color: var(--green-300);
    opacity: 0.5;
}

.footer-credit {
    margin-top: 6px;
}

.heart {
    color: #e25555;
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--charcoal-800);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--charcoal-800);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 76px;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 100px;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--charcoal-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    color: var(--charcoal-600);
    box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--green-700);
    color: var(--white);
    border-color: var(--green-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   AOS-LIKE REVEAL ANIMATIONS
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="100"] {
    transition-delay: 0.1s;
}
[data-aos-delay="200"] {
    transition-delay: 0.2s;
}
[data-aos-delay="300"] {
    transition-delay: 0.3s;
}

/* ============================================
   ADDITIONAL CUSTOM STYLES (DUSUN PANDANPLOSO)
   ============================================ */

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
    opacity: 0.45;
    filter: saturate(0.85) brightness(0.75);
    pointer-events: none;
}

/* Navbar Logo Circular Badge */
.nav-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
    padding: 2px;
    box-shadow: var(--shadow-sm);
}

/* About (Profil Dusun) Section */
.about-section {
    padding: 100px 0;
    background: var(--cream);
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 480px;
    border-radius: var(--radius-2xl);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    position: relative;
    transition: transform var(--transition-base);
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image-deco {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--green-200);
    border-radius: var(--radius-2xl);
    z-index: 1;
    pointer-events: none;
}

.about-text h3 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--green-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about-text p {
    font-size: var(--font-size-base);
    color: var(--charcoal-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.vision-mission-cards {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vm-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid var(--charcoal-100);
    transition: all var(--transition-base);
}

.vm-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-200);
}

.vm-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    font-size: var(--font-size-lg);
}

.vm-content h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 6px;
}

.vm-content p {
    font-size: var(--font-size-sm);
    color: var(--charcoal-600);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Potensi & Daya Tarik Section */
.potensi-section {
    padding: 100px 0;
    background: var(--cream-warm);
    position: relative;
}

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

.potensi-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(30, 70, 32, 0.05);
    transition: all var(--transition-spring);
    display: flex;
    flex-direction: column;
}

.potensi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--green-200);
}

.potensi-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.potensi-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(15, 43, 17, 0.4) 100%);
}

.potensi-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--green-800);
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.potensi-card-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.potensi-card-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.potensi-card-content p {
    font-size: var(--font-size-sm);
    color: var(--charcoal-600);
    line-height: 1.7;
    margin-bottom: 0;
}

/* News Images styling & zoom */
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-card-image img {
    transform: scale(1.06);
}

.footer-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
    padding: 2px;
}

/* --- Diorama Section --- */
.diorama-section {
    padding: 100px 0;
    background: var(--cream-warm);
    position: relative;
}

.diorama-wrapper {
    width: 100%;
    height: 550px;
    background: #e8f5e9;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--green-100);
}

.diorama-wrapper spline-viewer {
    width: 100%;
    height: 100%;
}

/* --- Interactive Plant Decorations (Hero) --- */
.plant-decoration {
    position: absolute;
    bottom: -10px;
    font-size: 6rem;
    color: var(--green-300);
    z-index: 10;
    transform-origin: bottom center;
    transition: all var(--transition-base);
    cursor: pointer;
    filter: drop-shadow(2px 4px 6px rgba(15, 43, 17, 0.2));
}

.plant-left {
    left: 10%;
}

.plant-right {
    right: 10%;
    font-size: 5rem;
    color: var(--green-400);
}

.plant-decoration:hover {
    color: var(--green-500);
    animation: goyangTanaman 0.8s ease-in-out infinite;
}

@keyframes goyangTanaman {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(15deg); }
    50%  { transform: rotate(-10deg); }
    75%  { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

/* --- Clickable Cards --- */
.card-clickable {
    position: relative;
    cursor: pointer;
    transition: all var(--transition-spring);
}

.card-clickable::after {
    content: 'Klik untuk Detail';
    position: absolute;
    bottom: 20px;
    right: 28px;
    font-size: var(--font-size-xs);
    color: var(--green-600);
    font-weight: 700;
    opacity: 0.7;
    transition: opacity var(--transition-base), color var(--transition-base);
}

.card-clickable:hover::after {
    opacity: 1;
    color: var(--green-500);
}

/* --- Interactive 3D Modals (coba.html UI/UX) --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 43, 17, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    padding: 24px;
}

.modal-card {
    background: rgba(255, 255, 255, 0.96);
    padding: 48px 36px;
    border-radius: var(--radius-2xl);
    max-width: 650px;
    width: 100%;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    border: 2px solid rgba(58, 153, 64, 0.25);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: var(--font-size-3xl);
    cursor: pointer;
    color: var(--charcoal-500);
    transition: color var(--transition-base);
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    color: #ff3333;
}

.moving-crop-container {
    font-size: 5.5rem;
    color: #FFA000;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 10px 15px rgba(255,160,0,0.3));
    transform: translateZ(60px);
    will-change: transform;
    pointer-events: none;
    line-height: 1;
}

.badge-sector {
    display: inline-block;
    background: var(--green-700);
    color: var(--white);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: 20px;
    transform: translateZ(35px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-card h2 {
    color: var(--green-900);
    margin-bottom: 20px;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    transform: translateZ(40px);
}

.modal-card p {
    color: var(--charcoal-700);
    text-align: justify;
    font-size: var(--font-size-sm);
    line-height: 1.8;
    transform: translateZ(30px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        height: 380px;
    }

    .potensi-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-large {
        grid-row: auto;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 43, 17, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: var(--font-size-xl);
        padding: 12px 24px;
        color: var(--white);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .stat-card {
        padding: 32px 24px;
    }

    .stat-number {
        font-size: var(--font-size-4xl);
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .hero-scroll-indicator {
        bottom: 24px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .about-section,
    .potensi-section,
    .diorama-section,
    .stats-section,
    .features-section,
    .news-section {
        padding: 72px 0;
    }

    .about-image {
        height: 320px;
    }

    .diorama-wrapper {
        height: 380px;
    }

    .modal-card {
        padding: 32px 20px;
    }

    .moving-crop-container {
        font-size: 4rem;
    }

    .modal-card h2 {
        font-size: var(--font-size-xl);
    }

    .modal-card p {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .news-card-image {
        height: 180px;
    }

    .news-card-large .news-card-image {
        height: 220px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg,
    .whatsapp-float i {
        font-size: 26px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .back-to-top {
        right: 84px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-brand-text .nav-subtitle {
        display: none;
    }

    .hero-title-accent {
        font-size: var(--font-size-3xl);
    }

    .about-image {
        height: 260px;
    }

    .diorama-wrapper {
        height: 280px;
    }

    .plant-decoration {
        display: none;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .news-card-body {
        padding: 20px;
    }

    .news-title {
        font-size: var(--font-size-base);
    }

    .footer {
        padding: 56px 0 0;
    }
}

/* ── Enhanced Hero Section Styles ── */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.5s ease;
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1E4620 0%, #2F7A33 100%);
}

.hero-gradient {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(58, 153, 64, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 70% 70%, rgba(58, 153, 64, 0.2) 0%, transparent 25%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

/* Enhanced hero shapes with animation */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(58, 153, 64, 0.15);
    animation: floatShape 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 70%;
    animation-delay: 2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 70%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Enhanced gradient overlay */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(15, 43, 17, 0.3) 0%,
        rgba(15, 43, 17, 0.5) 30%,
        rgba(15, 43, 17, 0.7) 70%,
        rgba(15, 43, 17, 0.9) 100%
    );
    z-index: 3;
}

/* ── Print Styles ── */
@media print {
    .navbar,
    .whatsapp-float,
    .back-to-top,
    .hero-shapes,
    .hero-scroll-indicator {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
        background: #1E4620 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body {
        font-size: 12pt;
    }
}