/* ==========================================================================
   MPA KHANIWATA — Public Landing Page Styles (Geometric Adventure Theme)
   Mature, modern, nature-inspired design aligned with existing brand colors.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Brand palette */
    --khn-red: #c3000b;
    --khn-red-dark: #8b0000;
    --khn-navy: #002395;
    --khn-navy-alt: #1a365d;
    --khn-navy-soft: #1e3a5f;
    --khn-gold: #ffde00;
    --khn-gold-soft: #f6ad55;
    --khn-violet: #7c3aed;
    --khn-violet-dark: #5b21b6;
    --khn-green: #0ea54b;
    --khn-green-dark: #0b7a37;
    --khn-teal: #1f6f5b;
    --khn-sage: #8daa9b;
    --khn-forest: #1b4d3e;

    /* Neutrals */
    --khn-dark: #0f172a;
    --khn-text: #1e293b;
    --khn-text-light: #475569;
    --khn-muted: #64748b;
    --khn-light: #ffffff;
    --khn-cream: #f8fafc;
    --khn-stone: #eef1f5;

    /* Gradients */
    --khn-gradient-brand: linear-gradient(135deg, var(--khn-red) 0%, var(--khn-navy) 100%);
    --khn-gradient-navy: linear-gradient(180deg, var(--khn-navy-alt) 0%, var(--khn-navy) 100%);
    --khn-gradient-forest: linear-gradient(135deg, var(--khn-forest) 0%, var(--khn-teal) 100%);
    --khn-gradient-hero: linear-gradient(180deg, #eef6f3 0%, #dbece6 50%, #c8e0d8 100%);
    --khn-gradient-card: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.95) 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
    --shadow-brand: 0 16px 40px rgba(195, 0, 11, 0.22);
    --shadow-forest: 0 16px 40px rgba(14, 165, 75, 0.22);

    /* Spacing & shape */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container: 1280px;
    --section-pad: clamp(80px, 12vw, 140px);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.landing-page {
    font-family: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--khn-text);
    background: var(--khn-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.landing-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.landing-page a {
    color: inherit;
    text-decoration: none;
}

.landing-page ul {
    list-style: none;
}

.landing-page .container {
    width: min(90%, var(--container));
    margin-inline: auto;
}

.landing-page .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--khn-green);
    margin-bottom: 1rem;
}

.landing-page .section-label i {
    font-size: 0.75rem;
}

.landing-page .section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: var(--khn-dark);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.landing-page .section-title .accent {
    color: var(--khn-red);
}

.landing-page .section-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--khn-text-light);
    max-width: 620px;
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Scroll reveal utilities
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.85rem 1.6rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--khn-violet);
    color: var(--khn-light);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.28);
}

.btn-primary:hover {
    background: var(--khn-violet-dark);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.38);
}

.btn-secondary {
    background: var(--khn-light);
    color: var(--khn-navy-alt);
    border: 1.5px solid rgba(30, 41, 59, 0.12);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    border-color: var(--khn-violet);
    color: var(--khn-violet);
    box-shadow: var(--shadow-sm);
}

.btn-forest {
    background: var(--khn-green);
    color: var(--khn-light);
    box-shadow: 0 8px 24px rgba(14, 165, 75, 0.28);
}

.btn-forest:hover {
    background: var(--khn-green-dark);
    box-shadow: 0 12px 32px rgba(14, 165, 75, 0.38);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: background 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth), padding 0.35s var(--ease-smooth);
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 0.7rem 0;
}

.landing-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--khn-dark);
}

.nav-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-xs);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--khn-text);
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.25s var(--ease-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--khn-red);
    transition: width 0.3s var(--ease-out);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--khn-red);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

.nav-menu .nav-cta-mobile {
    display: none;
}

.nav-menu .nav-cta-mobile .btn {
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-left: auto;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: var(--khn-stone);
    color: var(--khn-dark);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.25s var(--ease-smooth);
}

.nav-toggle:hover {
    background: var(--khn-sage);
    color: var(--khn-light);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, #eef6f3 0%, #dbece6 50%, #c8e0d8 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(14, 165, 75, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 85% 20%, rgba(195, 0, 11, 0.08) 0%, transparent 30%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248, 250, 252, 0.95) 0%, rgba(248, 250, 252, 0.75) 45%, transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-illustration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scaleX(-1);
}

.hero-visual img {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.12));
}

.activities-intro-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-bg img,
.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-visual img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--radius-lg);
}

.hero-illustration svg {
    width: 100%;
    height: 100%;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(30, 41, 59, 0.08);
    color: var(--khn-navy-alt);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.45rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.6rem;
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(6px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--khn-dark);
    margin-bottom: 1.4rem;
    letter-spacing: -0.03em;
}

.hero-title .line {
    display: block;
}

.hero-title .accent {
    color: var(--khn-red);
}

.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--khn-text-light);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.hero-visual svg,
.hero-visual img {
    width: 100%;
    max-width: 560px;
    height: auto;
    filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.12));
}

.hero-stats-bar {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    z-index: 10;
}

.hero-stats {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.2rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(30, 41, 59, 0.06);
    gap: 2.5rem;
}

.hero-content .hero-stats {
    display: none;
}

.desktop-only {
    display: block;
}

.hero-stat {
    text-align: left;
    min-width: 100px;
}

.hero-stat .number {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--khn-dark);
    line-height: 1;
}

.hero-stat .number span {
    color: var(--khn-red);
}

.hero-stat .label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--khn-muted);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--khn-navy-alt);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s var(--ease-smooth);
}

.hero-scroll:hover {
    opacity: 1;
}

.hero-scroll i {
    font-size: 1rem;
    animation: bounceDown 2s infinite;
}

/* --------------------------------------------------------------------------
   Adventure Activities Section
   -------------------------------------------------------------------------- */
.activities-intro {
    padding: var(--section-pad) 0;
    background: var(--khn-light);
    position: relative;
}

.activities-intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.activities-intro-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(145deg, #e8f4ef 0%, #d6e9e1 100%);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
}

.activities-intro-visual svg,
.activities-intro-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.activities-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.activity-feature-card {
    position: relative;
    border-radius: var(--radius-md);
    min-height: 220px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    isolation: isolate;
}

.activity-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.activity-feature-card .card-bg,
.activity-feature-card .card-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.activity-feature-card .card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.35) 0%,
        rgba(15, 23, 42, 0.62) 55%,
        rgba(15, 23, 42, 0.78) 100%
    );
    transition: background 0.35s var(--ease-out);
}

.activity-feature-card:hover .card-overlay {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.42) 0%,
        rgba(15, 23, 42, 0.68) 55%,
        rgba(15, 23, 42, 0.84) 100%
    );
}

.activity-feature-card .card-body {
    position: relative;
    z-index: 3;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
    height: 100%;
}

.activity-feature-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--khn-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.activity-feature-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--khn-light);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.activity-feature-card p {
    font-size: 0.88rem;
    color: rgba(248, 250, 252, 0.92);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.card-climbing .icon { background: var(--khn-gradient-brand); }
.card-diving  .icon { background: var(--khn-gradient-forest); }
.card-caving  .icon { background: linear-gradient(135deg, var(--khn-navy) 0%, var(--khn-teal) 100%); }
.card-rafting .icon { background: linear-gradient(135deg, var(--khn-green) 0%, var(--khn-navy-alt) 100%); }

/* --------------------------------------------------------------------------
   About / Sejarah
   -------------------------------------------------------------------------- */
.about {
    padding: var(--section-pad) 0;
    background: var(--khn-cream);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content .lead {
    font-size: clamp(1.05rem, 1.5vw, 1.15rem);
    color: var(--khn-text-light);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 2rem 0;
}

.vm-card {
    background: var(--khn-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(30, 41, 59, 0.06);
    box-shadow: var(--shadow-xs);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.vm-card h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--khn-dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vm-card.vision h4 i { color: var(--khn-gold-soft); }
.vm-card.mission h4 i { color: var(--khn-green); }

.vm-card p {
    font-size: 0.92rem;
    color: var(--khn-text-light);
    line-height: 1.65;
}

.vm-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.vm-card li {
    font-size: 0.88rem;
    color: var(--khn-text-light);
    padding-left: 1.1rem;
    position: relative;
    line-height: 1.55;
}

.vm-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--khn-green);
}

.history-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 41, 59, 0.08);
}

.history-section h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--khn-dark);
    margin-bottom: 1rem;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border-left: 2px solid var(--khn-green);
    padding-left: 1.2rem;
}

.history-timeline p {
    position: relative;
    font-size: 0.94rem;
    color: var(--khn-text-light);
    line-height: 1.75;
    padding-left: 0.7rem;
}

.history-timeline p::before {
    content: '';
    position: absolute;
    left: -1.45rem;
    top: 0.45rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--khn-green);
    border: 2px solid var(--khn-cream);
}

.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(145deg, #dfece6 0%, #c8ddd3 100%);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}

.about-visual svg,
.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   Dokumentasi Gallery
   -------------------------------------------------------------------------- */
.gallery {
    padding: var(--section-pad) 0;
    background: var(--khn-light);
    position: relative;
}

.gallery-header {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    background: var(--khn-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    border: 1px solid rgba(30, 41, 59, 0.06);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.gallery-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--khn-stone);
    display: grid;
    place-items: center;
    color: var(--khn-muted);
    font-size: 2.2rem;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-card:hover .gallery-thumb img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    color: var(--khn-light);
}

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

.gallery-overlay-content h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.gallery-overlay-content span {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.gallery-card-body {
    padding: 1.2rem;
}

.gallery-card-body h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--khn-dark);
    margin-bottom: 0.35rem;
}

.gallery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.78rem;
    color: var(--khn-muted);
    margin-bottom: 0.6rem;
}

.gallery-meta i {
    margin-right: 0.25rem;
}

.gallery-category {
    display: inline-block;
    background: rgba(14, 165, 75, 0.1);
    color: var(--khn-green-dark);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-card-body p {
    font-size: 0.86rem;
    color: var(--khn-text-light);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Kegiatan (Recent Activities)
   -------------------------------------------------------------------------- */
.activities {
    padding: var(--section-pad) 0;
    background: var(--khn-cream);
}

.activities-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.activities-visual {
    position: sticky;
    top: 110px;
    display: grid;
    place-items: center;
}

.activities-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.12));
}

.activity-card {
    position: relative;
    background: var(--khn-light);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    border: 1px solid rgba(30, 41, 59, 0.06);
    box-shadow: var(--shadow-xs);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--khn-gradient-brand);
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-sm);
}

.activity-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--khn-red);
    background: rgba(195, 0, 11, 0.07);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--khn-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.activity-location {
    font-size: 0.85rem;
    color: var(--khn-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.activity-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-selesai { background: rgba(14, 165, 75, 0.1); color: var(--khn-green-dark); }
.status-berjalan { background: rgba(33, 150, 243, 0.1); color: #1565c0; }
.status-terencana { background: rgba(255, 222, 0, 0.15); color: #8a6d00; }
.status-default { background: rgba(100, 116, 139, 0.1); color: var(--khn-muted); }

/* --------------------------------------------------------------------------
   CTA / Contact
   -------------------------------------------------------------------------- */
.cta {
    padding: var(--section-pad) 0;
    position: relative;
    background: var(--khn-navy-alt);
    color: var(--khn-light);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content {
    max-width: 540px;
}

.cta-title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-title span { color: var(--khn-gold); }

.cta-desc {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    opacity: 0.85;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--khn-light);
}

.cta-actions .btn-secondary:hover {
    background: var(--khn-light);
    color: var(--khn-navy-alt);
    border-color: var(--khn-light);
}

.cta-visual {
    display: grid;
    place-items: center;
}

.cta-visual svg,
.cta-visual img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.35s var(--ease-smooth);
}

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

.lightbox-content {
    position: relative;
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.96);
    transition: transform 0.4s var(--ease-out);
}

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

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    background: #0d1b2a;
    display: block;
}

.lightbox-caption {
    background: var(--khn-navy-alt);
    color: var(--khn-light);
    padding: 1rem 1.4rem;
    font-size: 0.95rem;
}

.lightbox-caption h4 {
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.lightbox-caption span {
    font-size: 0.82rem;
    opacity: 0.85;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--khn-light);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
    z-index: 5;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.landing-page .footer-alamat {
    background: linear-gradient(180deg, var(--khn-navy-alt) 0%, var(--khn-dark) 100%);
    color: rgba(255, 255, 255, 0.78);
    padding-top: 4rem;
    position: relative;
    overflow: hidden;
}

.landing-page .footer-alamat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--khn-gradient-brand);
}

.landing-page .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.3fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.landing-page .footer-links-group {
    display: contents;
}

.landing-page .footer-brand {
    display: flex;
    gap: 1.2rem;
}

.landing-page .footer-brand img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    padding: 4px;
}

.landing-page .footer-brand h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.landing-page .footer-brand p {
    font-size: 0.88rem;
    line-height: 1.65;
    opacity: 0.85;
    max-width: 320px;
}

.landing-page .footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.landing-page .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.95rem;
    transition: background 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
}

.landing-page .footer-social a:hover {
    background: var(--khn-violet);
    transform: translateY(-3px);
}

.landing-page .footer-col h6 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1.1rem;
}

.landing-page .footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.landing-page .footer-col a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.25s var(--ease-smooth), padding-left 0.25s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.landing-page .footer-col a::before {
    content: '›';
    color: var(--khn-violet);
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
}

.landing-page .footer-col a:hover {
    color: #fff;
    padding-left: 0.25rem;
}

.landing-page .footer-col a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.landing-page .footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    margin-bottom: 0.7rem;
    line-height: 1.55;
}

.landing-page .footer-contact i {
    color: var(--khn-gold);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.landing-page .footer-contact .footer-note-small {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    margin-top: 0.6rem;
}

.landing-page .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 1.6rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1024px) {
    .landing-page .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .landing-page .footer-links-group {
        display: flex;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .landing-page .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .landing-page .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .landing-page .footer-brand p {
        max-width: 100%;
    }

    .landing-page .footer-social {
        justify-content: center;
    }

    .landing-page .footer-links-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }

    .landing-page .footer-col ul {
        gap: 0.4rem;
    }

    .landing-page .footer-contact p {
        justify-content: center;
    }

    .landing-page .footer-contact .footer-note-small {
        text-align: left;
    }

    .landing-page .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
        text-shadow: 0 2px 12px rgba(248, 250, 252, 0.7);
    }

    .hero-visual {
        order: 2;
    }

    .hero-desc {
        margin-inline: auto;
        color: var(--khn-text);
        font-weight: 500;
    }

    .hero-title .accent {
        color: var(--khn-red);
        text-shadow: 0 2px 14px rgba(248, 250, 252, 0.8);
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .activities-intro-grid,
    .about-grid,
    .cta .container,
    .activities-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .activities-intro-visual,
    .about-visual {
        order: -1;
        max-width: 600px;
        margin-inline: auto;
        width: 100%;
    }

    .activities-visual {
        position: static;
        margin-top: 2rem;
    }

    .cta-visual {
        display: none;
    }

    .cta-content {
        text-align: center;
        max-width: 100%;
    }

    .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .landing-nav {
        padding: 0.7rem 0;
    }

    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .nav-menu .nav-cta-mobile {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        padding-top: 0.8rem;
        border-top: 1px solid rgba(30, 41, 59, 0.08);
    }

    .nav-menu.open .nav-cta-mobile {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu .nav-links {
        flex-direction: column;
        gap: 0.2rem;
    }

    .nav-menu .nav-links a {
        padding: 0.75rem 0.5rem;
        border-radius: 8px;
    }

    .nav-menu .nav-links a:hover {
        background: var(--khn-cream);
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero-content .hero-stats {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
        margin-top: 1.5rem;
        padding: 1rem 1.2rem;
        gap: 1.5rem;
    }

    .desktop-only {
        display: none;
    }

    .hero-stats-bar.desktop-only {
        display: none;
    }

    .hero-stats-bar {
        position: static;
        margin-top: 2.5rem;
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
        width: 100%;
    }

    .hero-stat {
        text-align: center;
    }

    .hero-scroll {
        display: none;
    }

    .activities-cards,
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}
