/* Vietnam 2026 reisgids — gedeelde stijl */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cream: #fbf6ee;
  --cream-dark: #f1e8d8;
  --ink: #2b2420;
  --ink-soft: #5c5348;
  --teal: #1f7a6c;
  --teal-dark: #145349;
  --terracotta: #d96f45;
  --gold: #e8a83c;
  --gold-dark: #a5721c;
  --purple: #8355c9;
  --gray: #8d8375;
  --red: #c1483a;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(43, 36, 32, 0.08);
}

* { box-sizing: border-box; min-width: 0; }

html { scroll-behavior: smooth; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 0 0 0.4em;
}

a { color: var(--teal); }

img { max-width: 100%; display: block; }

/* Header */

.page-header {
  padding: 28px 20px 20px;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
}

.page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 600;
}

.page-header h1 {
  color: #fff;
  font-size: 1.9rem;
  margin-top: 4px;
}

.page-header .back-link {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  opacity: 0.85;
  text-decoration: none;
  font-size: 0.9rem;
}

.hero-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-top: 16px;
  box-shadow: var(--shadow);
}

.intro-text {
  max-width: 720px;
  margin: 16px auto 0;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
}

/* Sticky tab nav */

.tab-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  padding: 10px 14px;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-nav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--cream-dark);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.tab-nav a.active,
.tab-nav a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* Sections */

main { max-width: 900px; margin: 0 auto; padding: 0 16px 60px; }

section.category {
  padding-top: 22px;
  scroll-margin-top: 60px;
}

section.category h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

/* Cards grid */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 60px;
}

.card.skip { opacity: 0.65; }

.card-photo-wrap {
  position: relative;
  height: 150px;
}

.card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.badge.gold { background: var(--gold-dark); }
.badge.teal { background: var(--teal-dark); }
.badge.purple { background: var(--purple); }
.badge.gray { background: var(--gray); }
.badge.red { background: var(--red); }

.card-body { padding: 14px 16px 16px; }

.card-body h3 { font-size: 1.05rem; margin-bottom: 6px; }

.card-body .why {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.meta-row span {
  background: var(--cream-dark);
  padding: 3px 9px;
  border-radius: 999px;
}

.tip {
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--gold);
  padding-left: 8px;
  margin-bottom: 10px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.maps-btn,
.gyg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background: var(--teal);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}
.maps-btn:hover { background: var(--teal-dark); }

.gyg-btn {
  background: var(--terracotta);
}
.gyg-btn:hover { background: #b8532f; }

/* Chip links (dedupe references) */

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list a {
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--cream-dark);
  color: var(--ink);
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.chip-list a:hover { border-color: var(--teal); color: var(--teal); }

/* Practical tips table-like list */

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

.tip-item {
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}

.tip-item .topic {
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

/* Eindoordeel */

.verdict {
  background: linear-gradient(160deg, var(--terracotta) 0%, #b8532f 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-top: 10px;
}

.verdict h3 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  opacity: 0.9;
}

.verdict .block { margin-bottom: 18px; }
.verdict .block:last-child { margin-bottom: 0; }

.verdict ol { margin: 0; padding-left: 20px; }
.verdict p { margin: 0; }

/* Index page */

.city-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .city-grid { grid-template-columns: 1fr 1fr; }
}

.city-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 160px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.city-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-card .overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 16px;
  background: linear-gradient(to top, rgba(20,15,10,0.85), rgba(20,15,10,0));
}

.city-card h3 { color: #fff; margin-bottom: 2px; }
.city-card .nights { font-size: 0.8rem; opacity: 0.85; }

/* Priority overview table */

.priority-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table.priority {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.85rem;
}

table.priority th, table.priority td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
  white-space: nowrap;
}

table.priority th {
  background: var(--cream-dark);
  color: var(--teal-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
}

table.priority td.wrap { white-space: normal; min-width: 220px; }

footer.site-footer {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.8rem;
  padding: 30px 20px 50px;
}
