:root {
  --bg: #12151a;
  --bg-elevated: #171b21;
  --surface: #1b1f26;
  --surface-hover: #21262f;
  --text: #f2f0ea;
  --text-muted: #9b9690;
  --border: #2a2f38;
  --border-strong: #3a4049;
  --accent: #d99a5b;
  --accent-soft: #d99a5b26;
  --accent-contrast: #16130e;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  --font-display: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse 900px 500px at 50% -10%, rgba(217, 154, 91, 0.08), transparent);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

header.site-header {
  background: rgba(23, 27, 33, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.01em;
}

nav.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

nav.site-nav a:hover,
nav.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

main {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 5rem;
}

.hero-banner {
  position: relative;
  min-height: 30vh;
  display: flex;
  align-items: flex-start;
  background-image: linear-gradient(180deg, rgba(18, 21, 26, 0.8) 0%, rgba(18, 21, 26, 0.45) 45%, rgba(18, 21, 26, 0.1) 70%, var(--bg) 100%),
    url("../images/namibia-hero.jpg");
  background-size: cover;
  background-position: center 65%;
  padding: 2.5rem 1.5rem 1.5rem;
}

.hero-banner-inner {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.hero-banner h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: #fdfbf8;
  text-wrap: balance;
}

.hero-banner .destination {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.countdown {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.countdown .number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.quick-links a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.quick-links a:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.empty-state {
  color: var(--text-muted);
  font-style: italic;
}

.day-block h2 {
  margin-bottom: 0.25rem;
}

.day-date {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.itinerary-item {
  display: flex;
  gap: 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.itinerary-item:first-of-type {
  border-top: none;
}

.itinerary-item .time {
  flex: 0 0 90px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.itinerary-item .details .activity {
  font-weight: 600;
}

.itinerary-item .details .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

table.logistics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.logistics-table th,
table.logistics-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

table.logistics-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table.logistics-table tbody tr:hover {
  background: var(--surface-hover);
}

.place-category {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.place-item .meta {
  color: var(--text-muted);
  margin: 0.25rem 0 0.75rem;
}

.packing-category h2 {
  margin-bottom: 0.5rem;
}

.packing-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.packing-list li {
  padding: 0.4rem 0;
}

.packing-list label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
}

.packing-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.packing-list li.checked label {
  color: var(--text-muted);
  text-decoration: line-through;
}

.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.75rem 0 2rem;
}

.progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #f0c088);
  transition: width 0.2s ease;
}

.route-map {
  height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.route-map .leaflet-container {
  background: var(--bg);
  font-family: var(--font-body);
}

.route-map .leaflet-popup-content-wrapper,
.route-map .leaflet-popup-tip {
  background: var(--surface);
  color: var(--text);
}

.route-map .leaflet-popup-content {
  font-size: 0.9rem;
  font-weight: 600;
}

.route-map .leaflet-control-zoom a {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border) !important;
}

.route-map .leaflet-control-zoom a:hover {
  background: var(--surface-hover);
}

.route-map .leaflet-control-attribution {
  background: rgba(23, 27, 33, 0.75);
  color: var(--text-muted);
}

.route-map .leaflet-control-attribution a {
  color: var(--text-muted);
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 1.5rem;
}

.team-member {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.team-photo,
.team-photo-placeholder {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
}

.team-photo {
  object-fit: cover;
  border: 1px solid var(--border);
}

.team-photo-placeholder {
  background: linear-gradient(135deg, var(--accent), #f0c088);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-contrast);
}

.team-info h2 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.25rem;
  margin: 0.25rem 0 0.3rem;
}

.team-role {
  color: var(--text);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.team-bio {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 560px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

footer.site-footer {
  max-width: 920px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

footer.site-footer code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.85em;
}
