:root {
  --navy-dark: #0f2744;
  --navy: #122947;
  --navy-light: #1b3a5e;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #fbeee9;
  --ink: #1f1917;
  --ink-light: #544540;
  --muted: #7d6b65;

  /* PALET PINK NUDE ELEGANT */
  --bg: #fcf4f1;             /* Background halaman: pink nude lembut */
  --paper: #fff7f5;          /* Background kartu/kotak: creamy pink nude */
  --paper-soft: #faeee9;     /* Aksen pink nude lebih pekat */
  --line: #eedbd4;           /* Garis batas: soft rose nude */
  --line-strong: #dfc4bc;    /* Garis batas tegas */
  --nude-pill: #fae4dd;      /* Pill badge: pink nude */
  --nude-pill-text: #8e3f2d; /* Teks pill badge: rose cokelat hangat */

  --radius: 12px;
  --shadow-sm: 0 2px 6px rgba(110, 60, 50, 0.05);
  --shadow: 0 10px 28px rgba(110, 60, 50, 0.08);
  --shadow-lg: 0 18px 40px rgba(110, 60, 50, 0.12);

  /* Warna Entitas Knowledge Graph */
  --c-budaya: #3b82f6;
  --c-lokasi: #22c55e;
  --c-kategori: #a855f7;
  --c-tokoh: #ef4444;
  --c-tradisi: #f97316;
  --c-kegiatan: #06b6d4;
  --c-alat: #eab308;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: inherit;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 12px;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 12px;
  color: var(--ink-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* =====================================================
   HEADER & NAVBAR (DARK NAVY)
===================================================== */
.site-header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 12px rgba(15, 39, 68, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  flex-shrink: 0;
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-title strong {
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand-title small {
  font-size: 9.5px;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.nav-links a {
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 4px;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-trigger {
  color: #cbd5e1;
  font-size: 20px;
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.search-trigger:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
  display: none;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

/* =====================================================
   HERO SECTION (FOTO UPLOAD BANGKALAN TERBARU)
===================================================== */
.hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(90deg, rgba(15, 39, 68, 0.92) 0%, rgba(15, 39, 68, 0.70) 48%, rgba(15, 39, 68, 0.20) 100%),
              url('../img/hero_bangkalan.jpg') center right / cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-inner {
  width: min(1200px, calc(100% - 48px));
  margin: auto;
  padding: 65px 0 85px;
}

.hero h1 {
  color: #fff;
  max-width: 640px;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.18;
  margin-bottom: 14px;
  font-weight: 700;
}

.hero p {
  color: #e2e8f0;
  max-width: 530px;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-search-box {
  display: flex;
  max-width: 540px;
  height: 50px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.hero-search-box input {
  border: 0;
  outline: 0;
  flex: 1;
  padding: 0 14px;
  font-size: 13.5px;
  color: var(--ink);
  background: transparent;
}

.hero-search-box button {
  width: 44px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.hero-search-box button:hover {
  background: var(--primary-hover);
}

/* =====================================================
   FLOATING STATS BAR (PINK NUDE CARD)
===================================================== */
.stats-bar-wrapper {
  margin-top: -38px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}

.stats-bar {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 10px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 24px;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--paper-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.stat-info strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.stat-info span {
  font-size: 12.5px;
  color: var(--muted);
}

/* =====================================================
   REKOMENDASI BUDAYA & CARDS (PINK NUDE)
===================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: 20px;
  margin: 0;
  color: var(--navy);
}

.view-all-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.culture-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.card-culture {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card-culture:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.card-thumb {
  height: 185px;
  background: var(--paper-soft);
  overflow: hidden;
  position: relative;
  display: block;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-culture:hover .card-thumb img {
  transform: scale(1.05);
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}

.card-meta-line {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.pill-cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
}

.pill-cat.blue { background: #dbeafe; color: #1e40af; }
.pill-cat.green { background: #dcfce7; color: #166534; }
.pill-cat.purple { background: #f3e8ff; color: #6b21a8; }
.pill-cat.orange { background: #ffedd5; color: #9a3412; }
.pill-cat.pink { background: #fee2e2; color: #991b1b; }
.pill-cat.yellow { background: #fef9c3; color: #854d0e; }

.card-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 10px;
}

/* =====================================================
   KATALOG / JELAJAH BUDAYA (PINK NUDE)
===================================================== */
.page-title-banner {
  padding: 36px 0 20px;
}

.page-title-banner h1 {
  font-size: 26px;
  margin-bottom: 6px;
  color: var(--navy);
}

.page-title-banner p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.category-tabs-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cat-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.cat-tab-pill:hover {
  background: var(--paper-soft);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.cat-tab-pill.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(15, 39, 68, 0.2);
}

.cat-tab-pill.active .cat-pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.cat-pill-count {
  background: var(--bg);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}

.catalog-top-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  background: var(--paper);
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  background: #fffdfc;
  border-radius: 8px;
  padding: 0 14px 0 36px;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
}

.search-input-wrap input:focus {
  border-color: var(--primary);
}

.search-input-wrap .search-icon-inline {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 15px;
}

.select-filter {
  height: 42px;
  min-width: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13.5px;
  color: var(--ink);
  background: #fffdfc;
  outline: none;
}

.select-filter:focus {
  border-color: var(--primary);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.catalog-sidebar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-group {
  margin-bottom: 24px;
}

.sidebar-group:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-light);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.15s;
}

.filter-checkbox-item:hover {
  background: var(--paper-soft);
}

.count-badge {
  font-size: 11px;
  color: var(--muted);
  background: var(--paper-soft);
  padding: 2px 7px;
  border-radius: 99px;
  border: 1px solid var(--line);
}

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

/* =====================================================
   KNOWLEDGE GRAPH (PINK NUDE CARD)
===================================================== */
.graph-container-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 60px;
}

.graph-top-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.graph-search-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 440px;
}

.graph-search-inline input {
  flex: 1;
  height: 38px;
  border: 1px solid var(--line);
  background: #fffdfc;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
  outline: none;
}

.graph-entity-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.graph-entity-legend span {
  font-size: 12px;
  color: var(--ink-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-entity {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-entity.budaya { background: var(--c-budaya); }
.dot-entity.lokasi { background: var(--c-lokasi); }
.dot-entity.kategori { background: var(--c-kategori); }
.dot-entity.tokoh { background: var(--c-tokoh); }
.dot-entity.tradisi { background: var(--c-tradisi); }
.dot-entity.kegiatan { background: var(--c-kegiatan); }
.dot-entity.alat { background: var(--c-alat); }

.graph-main-split {
  display: grid;
  grid-template-columns: 1fr 310px;
  min-height: 580px;
}

.graph-canvas-box {
  position: relative;
  background: #fdf6f3;
}

#cyGraph {
  width: 100%;
  height: 580px;
}

.graph-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}

.ctrl-btn {
  width: 32px;
  height: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
}

.ctrl-btn:hover {
  background: var(--paper-soft);
  border-color: var(--line-strong);
}

.graph-side-detail {
  border-left: 1px solid var(--line);
  background: var(--paper);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.side-detail-img {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0 14px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.side-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-detail-graph {
  display: block;
  text-align: center;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  margin-top: 14px;
  transition: background 0.15s;
}

.btn-detail-graph:hover {
  background: var(--navy-light);
  color: #fff;
}

/* =====================================================
   DETAIL BUDAYA (PINK NUDE CARDS & DOKUMENTASI MEDIA)
===================================================== */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.detail-top-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 30px;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-main-view {
  width: 100%;
  height: 330px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.gallery-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.thumb-item {
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--paper-soft);
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.2s;
}

.thumb-item.active,
.thumb-item:hover {
  opacity: 1;
  border-color: var(--primary);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-data-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
}

.data-row-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  line-height: 1.5;
}

.data-row-item .label {
  color: var(--muted);
  font-weight: 500;
}

.data-row-item .val {
  color: var(--ink);
  font-weight: 500;
}

/* Detail Tabs */
.tabs-nav {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  margin-bottom: -2px;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.card-related {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.15s;
}

.card-related:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.related-dot-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* =====================================================
   DOKUMENTASI: VIDEO & GALERI FOTO (ICH BANGKALAN MEDIA)
===================================================== */
.doc-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-sm);
}

.doc-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: var(--navy);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.video-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.video-doc-card {
  background: #fdf5f2;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.video-player-wrap {
  width: 100%;
  height: 220px;
  background: #000;
}

.video-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-card-info {
  padding: 14px;
}

.video-card-info h4 {
  font-size: 14.5px;
  margin: 0 0 4px;
  color: var(--navy);
}

.video-card-info p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Galeri Foto Dokumentasi */
.photo-doc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.photo-doc-card {
  background: #fdf5f2;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.photo-doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.photo-doc-img {
  height: 160px;
  background: var(--paper-soft);
  overflow: hidden;
}

.photo-doc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.photo-doc-card:hover .photo-doc-img img {
  transform: scale(1.06);
}

.photo-doc-caption {
  padding: 10px 12px;
}

.photo-doc-caption h5 {
  font-size: 12.5px;
  margin: 0 0 4px;
  color: var(--navy);
  font-weight: 600;
}

.photo-doc-caption p {
  font-size: 11px;
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

/* =====================================================
   PETA BUDAYA (PINK NUDE SPLIT)
===================================================== */
.map-view-split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.map-card-canvas {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 560px;
  position: relative;
}

#mapCulture {
  width: 100%;
  height: 100%;
}

.map-side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map-legend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-light);
}

.cultures-list-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.culture-item-click {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.culture-item-click:hover {
  background: #f7e2da;
  border-color: var(--line-strong);
}

/* =====================================================
   LIGHTBOX MODAL
===================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 25, 35, 0.88);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-body {
  max-width: 800px;
  width: 100%;
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lightbox-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-holder {
  width: 100%;
  max-height: 480px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-holder img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.lightbox-info {
  padding: 16px 20px;
  background: var(--paper);
}

.lightbox-info h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--navy);
}

.lightbox-info p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 40px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: #cbd5e1;
  font-size: 13px;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

/* =====================================================
   HALAMAN PENGEMBANG (DEV PROFILE & TECH STACK)
===================================================== */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.dev-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.dev-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.dev-card-photo-wrap {
  position: relative;
  background: linear-gradient(145deg, #fceee8 0%, #fae1d7 100%);
  padding: 24px 20px 28px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.dev-avatar-img {
  width: 100%;
  max-width: 220px;
  height: 270px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(110, 60, 50, 0.16);
  border: 4px solid #ffffff;
  display: inline-block;
  background: #f8fafc;
}

.dev-role-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 39, 68, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.dev-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dev-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
}

.dev-institution {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dev-bio {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-light);
  margin-bottom: 18px;
  flex: 1;
}

.dev-meta-table {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 12.5px;
}

.dev-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
}

.dev-meta-row:last-child {
  border-bottom: none;
}

.dev-meta-label {
  color: var(--muted);
  font-weight: 500;
}

.dev-meta-value {
  color: var(--navy);
  font-weight: 700;
  text-align: right;
}

.dev-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.dev-section-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.tech-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.tech-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-item-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .culture-card-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .graph-main-split { grid-template-columns: 1fr; }
  .graph-side-detail { border-left: none; border-top: 1px solid var(--line); }
  .map-view-split { grid-template-columns: 1fr; }
  .detail-top-card { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-doc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-header { padding: 0 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  }
  .nav-links.show { display: flex; }
  .mobile-menu { display: block; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-item { border-right: none; }
  .catalog-layout { grid-template-columns: 1fr; }
  .culture-card-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 40px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .related-grid { grid-template-columns: 1fr; }
  .photo-doc-grid { grid-template-columns: 1fr; }
  .video-doc-grid { grid-template-columns: 1fr; }
  .dev-grid { grid-template-columns: 1fr; }
}
