/* ================================================================
   DESIGN SYSTEM — TRAN MAHSUR 2026
   Aesthetic: Luxury Editorial · Deep Forest Green + Gold
================================================================ */

:root {
    --green-950: #071a10;
    --green-900: #0b2e1b;
    --green-800: #104025;
    --green-700: #175632;
    --green-600: #1e6e3f;
    --green-500: #27924f;
    --green-400: #3db96c;
    --green-300: #6ed99a;
    --green-100: #d6f5e3;
    --green-50:  #edfaf4;

    --gold-500: #c89b3c;
    --gold-400: #d4af55;
    --gold-300: #e2ca7d;
    --gold-100: #f9f0d6;

    --cream:    #faf8f3;
    --white:    #ffffff;
    --ink-900:  #1a1a1a;
    --ink-700:  #3a3a3a;
    --ink-500:  #6b6b6b;
    --ink-300:  #c0c0c0;
    --ink-100:  #f0efed;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--ink-900);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ================================================================
   NAVIGATION
================================================================ */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 900;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    background: rgba(7, 26, 16, 0.0);
    border-bottom: 1px solid transparent;
    transition: background 0.5s ease, border-color 0.5s ease, height 0.4s ease;
}
.nav.scrolled {
    background: rgba(7, 26, 16, 0.96);
    border-color: rgba(200, 155, 60, 0.2);
    height: 64px;
    backdrop-filter: blur(20px);
}
.nav__logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}
.nav__logo span { color: var(--gold-400); }
.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav__links a {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.02em;
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav__lang {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.15);
}
.nav__lang a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    padding: 0.3rem 0.5rem;
    border-radius: 3px;
    transition: color 0.2s;
}
.nav__lang a.active { color: var(--gold-400); pointer-events: none; }
.nav__lang a:hover:not(.active) { color: var(--white); }
.nav__lang .sep { color: rgba(255,255,255,0.2); font-size: 0.7rem; }

/* ================================================================
   HERO
================================================================ */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--white);
}
.hero__bg {
    position: absolute;
    inset: 0;
    background: url('image/utama.jpeg') center/cover no-repeat;
    filter: brightness(0.4) saturate(0.7);
    transform: scale(1.05) translateZ(0);
    animation: heroZoom 18s ease-in-out infinite alternate;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}
.hero__vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(7,26,16,0.65) 100%),
        linear-gradient(to top, rgba(7,26,16,0.8) 0%, transparent 50%);
    z-index: 1;
}
.hero__line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
    z-index: 2;
}
.hero__content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    padding: 0 2rem;
    padding-top: 76px;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.25rem;
    border: 1px solid rgba(200, 155, 60, 0.45);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-300);
    background: rgba(200,155,60,0.08);
    margin-bottom: 2rem;
    animation: fadeUp 0.9s var(--ease-expo) 0.2s both;
}
.hero__badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold-400);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(1.5); }
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.9s var(--ease-expo) 0.4s both;
}
.hero__title em { font-style: italic; color: var(--gold-300); }
.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto 3rem;
    animation: fadeUp 0.9s var(--ease-expo) 0.6s both;
}
.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.9s var(--ease-expo) 0.8s both;
}
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: fadeUp 1s ease 1.4s both;
}
.hero__scroll-line {
    width: 1px;
    height: 45px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollLine 2.2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scrollLine {
    0%  { transform: scaleY(0); opacity: 0; transform-origin: top; }
    40% { transform: scaleY(1); opacity: 1; transform-origin: top; }
    60% { transform: scaleY(1); opacity: 1; transform-origin: bottom; }
    100%{ transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

/* ================================================================
   BUTTONS
================================================================ */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    color: var(--green-950);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(200,155,60,0.3);
    transition: transform 0.3s var(--ease-expo), box-shadow 0.3s ease;
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(200,155,60,0.45);
}
.btn-gold svg { flex-shrink: 0; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-expo);
}
.btn-outline:hover {
    border-color: var(--gold-400);
    color: var(--gold-300);
    background: rgba(200,155,60,0.08);
    transform: translateY(-3px);
}

/* ── About CTA Buttons ── */
.about__cta-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.btn-about-donate {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(39,146,79,0.35);
    transition: transform 0.3s var(--ease-expo), box-shadow 0.3s ease;
}
.btn-about-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(39,146,79,0.5);
}
.btn-about-donate svg { flex-shrink: 0; fill: rgba(255,255,255,0.25); }
.btn-about-proposal {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--green-600);
    border-bottom: 1.5px solid var(--green-300);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.btn-about-proposal:hover {
    color: var(--green-500);
    border-color: var(--green-500);
}

/* ================================================================
   SECTION BASE
================================================================ */
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section--dark  { background: var(--green-950); color: var(--white); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.container        { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.container--narrow{ max-width: 780px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

.sec-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 1rem;
}
.sec-eyebrow::before, .sec-eyebrow::after {
    content: '';
    width: 28px; height: 1px;
    background: var(--gold-400);
    opacity: 0.6;
}
.sec-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.section--dark .sec-title { color: var(--white); }
.section--dark .sec-desc  { color: rgba(255,255,255,0.6); }
.sec-title em { font-style: italic; color: var(--gold-500); }
.sec-divider {
    width: 56px; height: 2px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    border-radius: 2px;
    margin: 1.25rem auto 0;
}
.sec-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-500);
    max-width: 580px;
    margin: 1.25rem auto 0;
}

/* ── Reveal Animation ── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

/* ================================================================
   TENTANG
================================================================ */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 1.25rem;
}
.about__eyebrow::before {
    content: '';
    width: 28px; height: 1px;
    background: var(--green-400);
}
.about__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--green-900);
}
.about__title em { font-style: italic; color: var(--green-500); }
.about__body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ink-500);
    margin-bottom: 0.5rem;
}
.about__body p + p { margin-top: 1em; }
.about__body strong { color: var(--green-800); }

.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.stat-card {
    background: var(--cream);
    border: 1px solid var(--ink-100);
    border-radius: 10px;
    padding: 1.4rem 1.6rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-expo), box-shadow 0.3s ease;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green-500), var(--gold-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-expo);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--green-700);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-number span { color: var(--gold-500); }
.stat-label { font-size: 0.82rem; font-weight: 500; color: var(--ink-500); line-height: 1.4; }

.about__visual { position: relative; }
.about__img-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 30px 70px rgba(7,26,16,0.18);
}
.about__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-expo);
}
.about__img-wrap:hover img { transform: scale(1.04); }

.about__badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--white);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
}
.about__badge-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--green-600), var(--green-400));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.about__badge-text { font-size: 0.8rem; }
.about__badge-text strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--green-800); }
.about__badge-text span  { color: var(--ink-500); }

.about__ring {
    position: absolute;
    top: -2rem; right: -2rem;
    width: 140px; height: 140px;
    border: 1.5px solid var(--gold-300);
    border-radius: 50%;
    opacity: 0.35;
    animation: rotate 30s linear infinite;
}
.about__ring::after {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border: 1px dashed var(--gold-400);
    border-radius: 50%;
    opacity: 0.5;
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* ================================================================
   VIDEO
================================================================ */
.video-wrap {
    position: relative;
    max-width: 840px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 40px 100px rgba(7,26,16,0.5);
}
.video-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(200,155,60,0.25);
    z-index: 2;
    pointer-events: none;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ================================================================
   GALERI TABS
================================================================ */
.galeri-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    background: var(--ink-100);
    border-radius: 10px;
    padding: 0.35rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.galeri-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-500);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    letter-spacing: 0.02em;
}
.galeri-tab svg { transition: stroke 0.25s; }
.galeri-tab.active {
    background: var(--white);
    color: var(--green-700);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.galeri-tab.active svg { stroke: var(--green-600); }
.galeri-tab:hover:not(.active) { color: var(--ink-700); }

/* ================================================================
   GALERI FOTO GRID
================================================================ */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}
.galeri-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: zoom-in;
    background: var(--ink-100);
}
.galeri-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-expo);
    display: block;
}
.galeri-item:hover img { transform: scale(1.08); }
.galeri-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(7,26,16,0);
    transition: background 0.3s ease;
}
.galeri-item:hover::after { background: rgba(7,26,16,0.3); }
.galeri-item__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.galeri-item:hover .galeri-item__zoom { opacity: 1; }
.galeri-item__zoom svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6)); }

/* ================================================================
   GALERI VIDEO GRID
================================================================ */
.galeri-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 0.5rem;
}
.galeri-video-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.galeri-video-card .video-wrap {
    max-width: 100%;
    box-shadow: 0 16px 48px rgba(7,26,16,0.12);
    border-radius: 12px;
    overflow: hidden;
}
.galeri-video-caption {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-500);
    letter-spacing: 0.02em;
}

/* ================================================================
   LIGHTBOX
================================================================ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox.open {
    display: flex;
}
.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 15, 8, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: zoom-out;
    animation: lbFadeIn 0.3s ease;
}
@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox__stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: calc(100vw - 12rem);
    max-height: 100dvh;
    padding: 5rem 1rem 3rem;
}

.lightbox__img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: lbZoomIn 0.4s var(--ease-expo);
}
@keyframes lbZoomIn {
    from { transform: scale(0.82); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.lightbox__img-wrap.swapping {
    animation: lbSwap 0.25s ease forwards;
}
@keyframes lbSwap {
    0%   { opacity: 1; transform: scale(1); }
    40%  { opacity: 0; transform: scale(0.93); }
    60%  { opacity: 0; transform: scale(0.93); }
    100% { opacity: 1; transform: scale(1); }
}

.lightbox__img {
    display: block;
    max-width: 100%;
    max-height: calc(100dvh - 12rem);
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(200,155,60,0.18);
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox__caption {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    min-height: 1.2em;
}

.lightbox__counter {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.1em;
    text-align: center;
}

.lightbox__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 3;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.3s var(--ease-back), color 0.2s;
    cursor: pointer;
}
.lightbox__close:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    transform: rotate(90deg);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.3s var(--ease-expo);
    cursor: pointer;
}
.lightbox__nav:hover {
    background: rgba(200,155,60,0.18);
    border-color: rgba(200,155,60,0.4);
    color: var(--gold-300);
}
.lightbox__nav--prev {
    left: 1.5rem;
}
.lightbox__nav--next {
    right: 1.5rem;
}
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }

@media (max-width: 640px) {
    .lightbox__stage {
        max-width: calc(100vw - 2rem);
        padding: 4rem 0.5rem 2.5rem;
    }
    .lightbox__nav--prev { left: 0.5rem; width: 42px; height: 42px; }
    .lightbox__nav--next { right: 0.5rem; width: 42px; height: 42px; }
}

.lightbox__img-wrap::before {
    content: '';
    position: absolute;
    top: -1px; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
    border-radius: 1px;
    opacity: 0.6;
    pointer-events: none;
}

/* ================================================================
   DOWNLOAD PDF
================================================================ */
.download-section {
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-950) 100%);
    padding: clamp(4rem, 8vw, 7rem) 0;
    position: relative;
    overflow: hidden;
}
.download-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(200,155,60,0.08) 0%, transparent 65%),
        radial-gradient(ellipse at 20% 80%, rgba(39,146,79,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.download-section__deco {
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(8rem, 18vw, 18rem);
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    line-height: 1;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.pdf-multi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 0;
}
.pdf-item-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(200,155,60,0.18);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.3s, transform 0.3s var(--ease-expo);
}
.pdf-item-card:hover {
    border-color: rgba(200,155,60,0.45);
    transform: translateY(-4px);
}
.pdf-item-card__icon {
    width: 44px; height: 44px;
    background: rgba(200,155,60,0.1);
    border: 1px solid rgba(200,155,60,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdf-item-card__icon svg { width: 22px; height: 22px; color: var(--gold-400); }
.pdf-item-card__tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: rgba(200,155,60,0.15);
    color: var(--gold-300);
}
.pdf-item-card__tag.tag-new {
    background: rgba(61,185,108,0.2);
    color: var(--green-300);
}
.pdf-item-card__name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}
.pdf-item-card__meta {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
}
.pdf-item-card__progress {
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.2s;
}
.pdf-item-card__progress.show { opacity: 1; }
.pdf-item-card__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    width: 0%;
    transition: width 0.35s ease;
    border-radius: 2px;
}
.btn-pdf-item {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(200,155,60,0.35);
    border-radius: 8px;
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-pdf-item:hover {
    background: rgba(200,155,60,0.12);
    border-color: rgba(200,155,60,0.6);
    color: var(--gold-300);
}
.btn-pdf-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-pdf-item:disabled { opacity: 0.6; pointer-events: none; }

/* ================================================================
   KONTAK
================================================================ */
.kontak-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.kontak__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 1rem 0 1.25rem;
    color: var(--green-900);
}
.kontak__title em { font-style: italic; color: var(--green-500); }
.kontak__desc { font-size: 1rem; line-height: 1.8; color: var(--ink-500); margin-bottom: 2.5rem; }
.kontak__items { display: flex; flex-direction: column; gap: 1rem; }
.kontak__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--cream);
    border: 1px solid var(--ink-100);
    border-radius: 10px;
    transition: border-color 0.3s, transform 0.3s var(--ease-expo), box-shadow 0.3s;
}
.kontak__item:hover {
    border-color: var(--green-100);
    transform: translateX(6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.kontak__item-icon {
    width: 44px; height: 44px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.kontak__item-label { font-size: 0.75rem; font-weight: 600; color: var(--green-600); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.15rem; }
.kontak__item-value { font-size: 0.95rem; font-weight: 500; color: var(--ink-700); }

.kontak__map {
    border-radius: 12px;
    height: 360px;
    background: linear-gradient(135deg, var(--green-50), var(--cream));
    border: 1px solid var(--ink-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem;
}
.kontak__map-icon { font-size: 3.5rem; }
.kontak__map-text { font-size: 0.9rem; color: var(--ink-500); line-height: 1.6; }
.kontak__map-text strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--green-800); margin-bottom: 0.5rem; }

.collab-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green-700);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
    background: var(--green-950);
    color: rgba(255,255,255,0.45);
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.85rem;
    border-top: 1px solid rgba(200,155,60,0.12);
}
.footer strong  { color: rgba(255,255,255,0.8); font-weight: 600; }
.footer__gold   { color: var(--gold-400); }

/* ================================================================
   VIDEO SLIDER
================================================================ */
.video-slider {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 20px;
}
.video-slider::-webkit-scrollbar { display: none; }

.video-slider__track {
    display: flex;
    gap: 20px;
}

.video-card {
    min-width: 80%;
    scroll-snap-align: center;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .video-card { min-width: 600px; }
}

.video-caption {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
}

.video-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.slider-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}
.slider-btn.prev { left: -10px; }
.slider-btn.next { right: -10px; }

@media (max-width: 480px) {
    .slider-btn { display: none; }
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
    .about-layout, .kontak-layout { grid-template-columns: 1fr; gap: 3rem; }
    .about__badge { left: 0.5rem; bottom: -1rem; }
    .about__ring  { display: none; }
    .galeri-grid  { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .galeri-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nav__links a:not(.nav__lang a) { font-size: 0.75rem; padding: 0.4rem 0.7rem; }
    .nav__lang { margin-left: 0.75rem; padding-left: 0.75rem; }
    .about__stats { grid-template-columns: 1fr 1fr; }
    .galeri-grid  { grid-template-columns: repeat(2, 1fr); }
    .hero__actions { flex-direction: column; }
    .hero__bg { animation: none; }
    .about__cta-wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    .about__stats { grid-template-columns: 1fr; }
    .nav__links a:not(.nav__lang a) { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ================================================================
   STYLE-VIDEO-ENHANCED.CSS
   Enhanced Video Gallery for Kegiatan (Activities)
   Add: <link rel="stylesheet" href="style-video-enhanced.css">
   to ALL HTML files (index.html, en.html, ar.html, ja.html, nl.html)
================================================================ */

/* ── Override: grid layout ── */
.galeri-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 0.5rem;
}

/* ── Card container ── */
.galeri-video-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--ink-100);
    box-shadow: 0 6px 24px rgba(7, 26, 16, 0.08);
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s ease,
        border-color 0.3s ease;
    position: relative;
}

/* Gold top accent line — animates in on hover */
.galeri-video-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-500), var(--gold-400), var(--gold-300));
    z-index: 5;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 18px 18px 0 0;
}

.galeri-video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 64px rgba(7, 26, 16, 0.15), 0 0 0 1px rgba(200, 155, 60, 0.18);
    border-color: rgba(200, 155, 60, 0.25);
}

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

/* ── Label bar (top of card, above video) ── */
.galeri-video-card__label-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem 0.75rem;
    background: linear-gradient(135deg, var(--green-50), var(--cream));
    border-bottom: 1px solid var(--ink-100);
}

.galeri-video-card__num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--green-200, #a8e6c3);
    line-height: 1;
    /* Faint watermark-style number */
    color: transparent;
    -webkit-text-stroke: 1.5px var(--green-300, #6ed99a);
    opacity: 0.55;
    letter-spacing: -0.03em;
    transition: opacity 0.3s ease;
}

.galeri-video-card:hover .galeri-video-card__num {
    opacity: 0.9;
}

.galeri-video-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-700);
    background: var(--green-50);
    border: 1px solid var(--green-100);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.galeri-video-card:hover .galeri-video-card__tag {
    background: linear-gradient(135deg, rgba(39,146,79,0.12), rgba(200,155,60,0.1));
    border-color: var(--gold-300);
    color: var(--gold-500);
}

/* ── Video wrapper — flush, no radius override ── */
.galeri-video-card .video-wrap {
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    margin: 0;
    aspect-ratio: 16 / 9;
    position: relative;
    background: var(--green-950);
}

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

/* Custom video controls overlay look */
.galeri-video-card .video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(7, 26, 16, 0.18) 100%
    );
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.galeri-video-card:hover .video-wrap::after {
    opacity: 0;
}

/* ── Footer info strip ── */
.galeri-video-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-top: 1px solid var(--ink-100);
    gap: 1rem;
    flex-shrink: 0;
}

.galeri-video-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.galeri-video-card__info strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green-900);
    font-family: var(--font-display);
    line-height: 1.3;
}

.galeri-video-card__info span {
    font-size: 0.73rem;
    color: var(--ink-500);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.galeri-video-card__play-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-600), var(--green-500));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(30, 110, 63, 0.35);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s;
}

.galeri-video-card__play-icon svg {
    margin-left: 2px; /* optical centering for play icon */
}

.galeri-video-card:hover .galeri-video-card__play-icon {
    transform: scale(1.15);
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    box-shadow: 0 6px 20px rgba(200, 155, 60, 0.4);
}

/* ── Shimmer loading skeleton ── */
.galeri-video-card__skeleton {
    aspect-ratio: 16/9;
    background: linear-gradient(90deg, var(--ink-100) 25%, var(--cream) 50%, var(--ink-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
}

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

/* ── Section divider for video grid ── */
.galeri-video-grid-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    color: var(--ink-500);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.galeri-video-grid-header::before,
.galeri-video-grid-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ink-100);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .galeri-video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .galeri-video-card__label-bar {
        padding: 0.75rem 1rem 0.65rem;
    }
    .galeri-video-card__num {
        font-size: 1.2rem;
    }
    .galeri-video-card__footer {
        padding: 0.85rem 1rem;
    }
    .galeri-video-card__info strong {
        font-size: 0.82rem;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .galeri-video-card,
    .galeri-video-card::before,
    .galeri-video-card__play-icon,
    .galeri-video-card__tag {
        transition: none !important;
        animation: none !important;
    }
}
