/* ══════════════════════════════════════════════════════════
   BASE
══════════════════════════════════════════════════════════ */
.dp-page {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f5f7fc;
    overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════
   HERO BANNER
══════════════════════════════════════════════════════════ */
.dp-hero {
    background-color: #061153;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
}

.dp-hero__bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(6,17,83,0.98) 0%,
        rgba(0,40,180,0.85) 50%,
        rgba(6,17,83,0.70) 100%);
    z-index: 1;
}

/* ── Particles: bubble naik (looping), sama seperti GCE ── */
.dp-hero__particles {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.dp-hero__particles span {
    position: absolute;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 0 15px rgba(255,255,255,0.15);
    animation: dp-bubble-rise infinite ease-in;
}

@keyframes dp-bubble-rise {
    0%   { bottom: -150px; transform: translateX(0) scale(0.8); opacity: 0; }
    10%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { bottom: 120%; transform: translateX(-30px) scale(1.15); opacity: 0; }
}

.dp-hero__particles span:nth-child(1) { width:120px; height:120px; left:10%; animation-duration:6s;   animation-delay:0s; }
.dp-hero__particles span:nth-child(2) { width:80px;  height:80px;  left:35%; animation-duration:8s;   animation-delay:2s; }
.dp-hero__particles span:nth-child(3) { width:50px;  height:50px;  left:55%; animation-duration:5s;   animation-delay:1s; }
.dp-hero__particles span:nth-child(4) { width:100px; height:100px; left:75%; animation-duration:7s;   animation-delay:3s; }
.dp-hero__particles span:nth-child(5) {
    width:150px; height:150px; left:85%;
    background: rgba(245,158,11,0.12);
    border-color: rgba(245,158,11,0.3);
    box-shadow: 0 0 15px rgba(245,158,11,0.2);
    animation-duration:9s; animation-delay:0.5s;
}
.dp-hero__particles span:nth-child(6) { width:60px; height:60px; left:20%; animation-duration:6.5s; animation-delay:4s; }
.dp-hero__particles span:nth-child(7) { width:90px; height:90px; left:65%; animation-duration:7.5s; animation-delay:1.5s; }

.dp-hero__garis {
    position: absolute; left: 0; bottom: 0;
    height: 80%; width: auto; z-index: 2;
    pointer-events: none; opacity: 0.18;
}

.dp-hero__inner {
    position: relative; z-index: 3;
    width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 60px 20px 76px;
}
@media (min-width: 768px)  { .dp-hero__inner { padding: 72px 48px 96px; } }
@media (min-width: 1024px) { .dp-hero__inner { padding: 80px 60px 100px; } }

/* Mode potret tablet (iPad dkk) — lebar lebih sempit membuat judul,
   tagline, dan tombol CTA lebih mudah membungkus ke baris tambahan,
   sehingga butuh ruang bawah ekstra agar wave tidak menumpuk konten. */
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
    .dp-hero__inner { padding-bottom: 150px; }
}

/* Breadcrumb */
.dp-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 22px; font-size: 12px; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.dp-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.3s; }
.dp-breadcrumb a:hover { color: #f59e0b; }
.dp-breadcrumb span.sep { color: #f59e0b; }
.dp-breadcrumb span.current { color: rgba(255,255,255,0.85); }

/* Tag wrap + tag pill */
.dp-hero__tag-wrap {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; margin-bottom: 18px;
}

.dp-hero__tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(245,158,11,0.18);
    border: 1px solid rgba(245,158,11,0.4);
    color: #fbbf24; font-size: 11.5px; font-weight: 700;
    letter-spacing: 0.08em; padding: 5px 14px; border-radius: 30px;
}

/* Heading */
.dp-hero h1 {
    font-size: clamp(26px, 5vw, 52px);
    font-weight: 800; color: #ffffff;
    line-height: 1.13; letter-spacing: -0.5px;
    text-transform: uppercase; margin-bottom: 14px;
}
.dp-hero h1 .hl { color: #f59e0b; }

/* Tema / tagline */
.dp-hero__tagline {
    font-size: clamp(13px, 2.5vw, 16px);
    color: rgba(255,255,255,0.72);
    font-style: italic; margin-bottom: 28px; line-height: 1.6;
    max-width: 560px;
}

/* CTA Buttons */
.dp-hero__cta-group {
    display: flex; gap: 14px; flex-wrap: wrap;
}

.dp-btn-primary,
.dp-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; font-size: 13.5px; font-weight: 700;
    border-radius: 8px; letter-spacing: 0.3px; text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    touch-action: manipulation;
}

.dp-btn-primary { background: #f59e0b; color: #ffffff; }
.dp-btn-primary:hover { background: #d97706; transform: translateY(-2px); color: #fff; }

.dp-btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.35); color: #ffffff;
}
.dp-btn-outline:hover {
    border-color: #f59e0b; background: rgba(245,158,11,0.12);
    color: #fff; transform: translateY(-2px);
}

/* Wave bawah hero — 3 layer parallax, sama seperti GCE */
.dp-hero__wave {
    position: absolute; bottom: 0; left: 0; width: 100%;
    z-index: 4; pointer-events: none; overflow: hidden;
    line-height: 0; height: 60px;
}
@media (min-width: 768px) { .dp-hero__wave { height: 80px; } }

.dp-hero__wave svg { display: block; width: 100%; height: 100%; }

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

.dp-hero__wave-track {
    position: absolute; bottom: 0; left: 0;
    width: 200%; height: 100%; display: flex;
    transform: translateZ(0);
    backface-visibility: hidden;
}
.dp-hero__wave-track.layer1 { animation: dp-wave-left 12s linear infinite; opacity: 0.20; }
.dp-hero__wave-track.layer2 { animation: dp-wave-right 9s linear infinite; opacity: 0.45; }
.dp-hero__wave-track.layer3 { animation: dp-wave-left 7s linear infinite; opacity: 1; }
.dp-hero__wave-track svg { width: 100%; height: 100%; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   SECTION COMMON — dipakai section "Tentang Program"
══════════════════════════════════════════════════════════ */
.dp-section-full {
    width: 100%;
    padding: 60px 20px;
}
@media (min-width: 768px)  { .dp-section-full { padding: 72px 48px; } }
@media (min-width: 1024px) { .dp-section-full { padding: 80px 60px; } }

.dp-section-inner { max-width: 1200px; margin: 0 auto; }

.dp-section-header { margin-bottom: 20px; }

.dp-hp-tag {
    display: inline-block;
    border: 1.5px solid #2563eb; color: #2563eb;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
    padding: 4px 16px; border-radius: 30px; margin-bottom: 10px;
}

.dp-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800; color: #0f172a;
    line-height: 1.22; margin-bottom: 0;
}
.dp-section-title .hl { color: #1d4ed8; }

/* ══════════════════════════════════════════════════════════
   TENTANG PROGRAM — poster kiri, deskripsi kanan
══════════════════════════════════════════════════════════ */
.dp-about {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.dp-about__garis {
    position: absolute; right: 0; top: 0;
    height: 100%; width: auto; opacity: 0.06;
    pointer-events: none; z-index: 0;
}

.dp-about__grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 1024px) {
    .dp-about__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ── Poster ── */
.dp-about__poster-wrap {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    cursor: zoom-in;
}
@media (min-width: 1024px) {
    .dp-about__poster-wrap { max-width: 100%; margin: 0; }
}

.dp-about__poster-wrap::before {
    content: '';
    position: absolute;
    top: -12px; left: -12px; right: 12px; bottom: 12px;
    border: 2px solid rgba(245,158,11,0.3);
    border-radius: 18px;
    z-index: -1;
}

.dp-about__poster-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(6,17,83,0.22);
}

/* Ikon kaca pembesar saat hover/tap poster */
.dp-about__poster-wrap .zoom-hint {
    position: absolute; bottom: 14px; right: 14px;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(6,17,83,0.65);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    color: #fff; opacity: 0; transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
.dp-about__poster-wrap:hover .zoom-hint,
.dp-about__poster-wrap:focus-visible .zoom-hint { opacity: 1; transform: translateY(0); }

/* State kosong (tidak ada poster) */
.dp-about__poster-wrap--empty {
    max-width: 100%; margin: 0; cursor: default;
    aspect-ratio: 3/4; border-radius: 16px; overflow: hidden;
    background: #e2e8f0;
    box-shadow: 0 20px 60px rgba(6,17,83,0.15);
    display: flex; align-items: center; justify-content: center;
}
.dp-about__poster-wrap--empty::before { display: none; }

.dp-poster-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 14px; padding: 32px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
.dp-poster-placeholder .icon { font-size: 52px; opacity: 0.45; }
.dp-poster-placeholder p {
    font-size: 13px; color: #94a3b8; font-weight: 600;
    text-align: center; letter-spacing: 0.05em;
}

/* ── Body / deskripsi ── */
.dp-about__body p,
.dp-about__desc { font-size: 14.5px; color: #475569; line-height: 1.8; }
.dp-about__desc { margin: 16px 0; }

.dp-about__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ── FADE / SLIDE ANIMATIONS ─────────────────────────────── */
@keyframes dp-slideLeft {
    from { opacity: 0; transform: translateX(-36px); }
    to   { opacity: 1; transform: translateX(0); }
}
.dp-slide-left {
    opacity: 0;
    animation: dp-slideLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.dp-sl-d1 { animation-delay: 0.12s; }
.dp-sl-d2 { animation-delay: 0.28s; }
.dp-sl-d3 { animation-delay: 0.44s; }
.dp-sl-d4 { animation-delay: 0.60s; }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.dp-reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.dp-reveal.dp-visible { opacity: 1; transform: translateY(0); }
.dp-reveal-d1 { transition-delay: 0.10s; }
.dp-reveal-d2 { transition-delay: 0.22s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ══════════════════════════════════════════════════════════
   LIGHTBOX — preview poster menyeluruh saat diklik
══════════════════════════════════════════════════════════ */
.dp-lightbox {
    position: fixed; inset: 0; z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    background: rgba(6, 10, 30, 0.94);
    backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

/* Saat lightbox aktif, sembunyikan navbar situs (header.tv-header)
   agar poster terlihat penuh tanpa terhalang/tertutup sebagian. */
body.dp-navbar-hidden .tv-header {
    display: none !important;
}
.dp-lightbox.dp-lightbox--active { opacity: 1; visibility: visible; }

.dp-lightbox__figure {
    position: relative;
    max-width: min(92vw, 900px);
    max-height: 90vh;
    transform: scale(0.94);
    transition: transform 0.28s ease;
}
.dp-lightbox.dp-lightbox--active .dp-lightbox__figure { transform: scale(1); }

.dp-lightbox__img {
    display: block; width: 100%; height: 100%;
    max-height: 90vh; object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    background: #0b0f2a;
}

.dp-lightbox__close {
    position: absolute; top: -18px; right: -18px;
    width: 40px; height: 40px; border-radius: 50%;
    border: none; background: #fff; color: #061153;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}
.dp-lightbox__close:hover { transform: scale(1.08); }

@media (max-width: 640px) {
    .dp-lightbox__close { top: -46px; right: 0; }
}
