:root {
  --bg: #ebf1f6;
  --card: #f6fafe;
  --inset: #e6edf4;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-2: #3b82f6;
  --accent-bg: #dbeafe;
  --shadow-dark: rgba(163, 177, 198, 0.45);
  --shadow-light: rgba(255, 255, 255, 0.92);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Soft UI / Neumorphism 2.0 */
.neu-card {
  background: linear-gradient(145deg, #f9fcff, #eef4f9);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 10px 10px 24px var(--shadow-dark), -10px -10px 24px var(--shadow-light);
  padding: 26px;
}

.neu-inset {
  background: var(--inset);
  border-radius: 16px;
  box-shadow: inset 4px 4px 9px rgba(163, 177, 198, 0.35), inset -4px -4px 9px rgba(255, 255, 255, 0.88);
}

/* Header & Foto Profil */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(235, 241, 246, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }

.avatar-logo {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  background: var(--accent);
}
.avatar-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-fallback { width: 100%; height: 100%; place-items: center; color: #fff; font-weight: 800; font-size: 0.9rem; }

.brand-title { display: block; font-weight: 800; font-size: 0.98rem; }
.brand-sub { display: block; font-size: 0.75rem; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-item {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.85rem;
  padding: 8px 14px; border-radius: 999px; transition: all 0.2s;
}
.nav-item:hover, .nav-item.active {
  color: var(--accent); background: #fff;
  box-shadow: 3px 3px 8px var(--shadow-dark), -3px -3px 8px var(--shadow-light);
}
.menu-toggle {
  display: none; width: 40px; height: 40px; border-radius: 12px; border: none;
  background: #fff; font-size: 1.2rem; cursor: pointer;
  box-shadow: 4px 4px 10px var(--shadow-dark);
}

/* Main & Sections */
.main-content { padding: 28px 0 64px; display: flex; flex-direction: column; gap: 44px; }
.section-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.section-tag { display: block; font-size: 0.76rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.section-header h2 { font-size: 1.45rem; }
.muted-small { font-size: 0.85rem; color: var(--muted); }
.body-text { font-size: 0.94rem; color: var(--muted); margin-bottom: 12px; }
.text-accent { color: var(--accent); }

.pill-badge {
  display: inline-block; background: var(--accent-bg); color: var(--accent);
  font-weight: 700; font-size: 0.78rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 12px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 14px; border: none; font-family: inherit;
  font-weight: 700; font-size: 0.88rem; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 6px 6px 16px rgba(37, 99, 235, 0.28); }
.btn-soft { background: #fff; color: var(--text); box-shadow: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light); }

/* Hero */
.hero-box h1 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); line-height: 1.22; margin-bottom: 12px; }
.hero-desc { color: var(--muted); font-size: 0.96rem; max-width: 760px; margin-bottom: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Grids & Cards */
.stack-lg { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.divider { height: 1px; background: rgba(148, 163, 184, 0.25); }

.info-row { padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; }
.info-row span { color: var(--muted); }

.step-box { padding: 16px; }
.step-num { display: inline-block; font-size: 0.78rem; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.step-box h4 { font-size: 0.96rem; margin-bottom: 6px; }
.step-box p { font-size: 0.84rem; color: var(--muted); }

/* Timeline Kegiatan */
.timeline-list { display: flex; flex-direction: column; gap: 12px; }
.timeline-row { padding: 16px 18px; display: flex; align-items: flex-start; gap: 16px; }
.time-badge {
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.76rem;
  padding: 5px 11px; border-radius: 10px; white-space: nowrap; flex-shrink: 0;
}
.timeline-row h4 { font-size: 0.98rem; margin-bottom: 4px; }
.timeline-row p { font-size: 0.86rem; color: var(--muted); }

/* Galeri 10 Foto */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.photo-card { padding: 12px; cursor: pointer; transition: transform 0.2s; }
.photo-card:hover { transform: translateY(-4px); }
.photo-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; margin-bottom: 10px; background: var(--accent-bg); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-badge {
  position: absolute; top: 8px; left: 8px; background: rgba(15, 23, 42, 0.78);
  color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.photo-card h4 { font-size: 0.88rem; line-height: 1.4; }

/* Video Vlog */
.video-card video { width: 100%; max-height: 540px; border-radius: 16px; background: #0f172a; display: block; }

/* Kesimpulan & Refleksi */
.clean-list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.clean-list strong { color: var(--text); }
.quote-box { padding: 16px; font-style: italic; font-size: 0.92rem; margin: 12px 0 14px; }

/* Footer */
.footer { text-align: center; padding: 24px 0; color: var(--muted); font-size: 0.82rem; border-top: 1px solid rgba(255, 255, 255, 0.8); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.72); backdrop-filter: blur(6px);
  display: none; place-items: center; padding: 20px; z-index: 250;
}
.lightbox.open { display: grid; }
.lightbox-card { max-width: 680px; width: 100%; position: relative; padding: 20px; }
.close-btn {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: #fff; font-weight: 700; cursor: pointer;
}
.lightbox-card img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; }
.lb-info { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 12px; }
.lb-controls { display: flex; justify-content: space-between; }

/* Responsive */
@media (max-width: 900px) {
  .two-col, .grid-4 { grid-template-columns: 1fr; }
  .timeline-row { flex-direction: column; gap: 8px; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  }
  .nav-links.show { display: flex; }
  .menu-toggle { display: block; }
}
