:root {
  --bg-deep: #071217;
  --bg-night: #0d1c24;
  --bg-glass: rgba(9, 23, 31, 0.58);
  --line-soft: rgba(224, 240, 232, 0.2);
  --line-strong: rgba(226, 241, 233, 0.65);
  --text-primary: #edf4ef;
  --text-secondary: #c7d7cf;
  --accent: #d1b57f;
  --accent-soft: #f2e6ca;
  --green-soft: #8cc59e;
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.48);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: radial-gradient(circle at 20% 20%, #18303d 0%, var(--bg-deep) 40%, #050a0d 100%);
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

.site-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
}

#map {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter: saturate(1.03) contrast(1.02);
}

.cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 25%, rgba(219, 187, 124, 0.12), transparent 40%),
    radial-gradient(circle at 20% 85%, rgba(79, 135, 106, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(1, 7, 10, 0.36), rgba(3, 7, 9, 0.66));
}

.glass-panel {
  background: linear-gradient(145deg, rgba(15, 32, 43, 0.66), rgba(10, 22, 29, 0.44));
  border: 1px solid rgba(230, 244, 233, 0.2);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.top-bar {
  position: absolute;
  z-index: 11;
  top: 24px;
  left: 24px;
  width: min(560px, calc(100% - 48px));
  padding: 1.1rem 1.35rem 1.2rem;
  border-radius: var(--radius-lg);
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-soft);
}

.top-bar h1 {
  margin: 0.35rem 0 0.4rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
}

.subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.timeline-toggle {
  position: absolute;
  right: 16px;
  top: 20px;
  z-index: 12;
  color: var(--text-primary);
  border-radius: 999px;
  border: 1px solid rgba(227, 240, 232, 0.26);
  padding: 0.54rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: none;
}

.timeline-panel {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 11;
  width: min(340px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.timeline-header {
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid rgba(227, 240, 232, 0.14);
}

.timeline-header h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
}

.timeline-header p {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0.8rem 0.75rem 0.9rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.timeline-list button {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(229, 242, 235, 0.1);
  background: linear-gradient(120deg, rgba(13, 25, 34, 0.72), rgba(8, 18, 25, 0.48));
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.78rem;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 260ms ease;
}

.timeline-list button:hover,
.timeline-list button:focus-visible,
.timeline-list button.is-active {
  border-color: rgba(224, 195, 137, 0.65);
  background: linear-gradient(120deg, rgba(24, 41, 54, 0.78), rgba(11, 23, 29, 0.56));
  transform: translateY(-2px);
  outline: none;
}

.timeline-day {
  margin-right: 0.46rem;
  color: var(--accent-soft);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.timeline-name {
  font-size: 0.94rem;
  font-weight: 600;
  display: block;
  margin-top: 0.2rem;
}

.timeline-meta {
  margin-top: 0.22rem;
  display: block;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.focus-card {
  position: absolute;
  z-index: 11;
  left: 24px;
  bottom: 24px;
  width: min(400px, calc(100% - 48px));
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem 1.05rem;
}

.focus-day {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.77rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.focus-card h3 {
  margin: 0.4rem 0 0;
  font-size: 1.3rem;
  line-height: 1.2;
  font-family: "Playfair Display", serif;
}

.focus-meta {
  margin: 0.38rem 0 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.focus-description {
  margin: 0.62rem 0 0;
  color: #e5eeea;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cta-button {
  margin-top: 0.95rem;
  border: 1px solid rgba(232, 245, 238, 0.38);
  background: linear-gradient(100deg, rgba(223, 194, 136, 0.18), rgba(149, 186, 161, 0.2));
  color: #f6faf8;
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(198, 174, 127, 0.34);
  outline: none;
}

.cta-button:disabled,
.cta-button[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hover-preview-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.hover-preview-card {
  position: absolute;
  width: clamp(120px, 15vw, 180px);
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(237, 245, 240, 0.36);
  box-shadow: 0 20px 38px rgba(2, 10, 13, 0.55);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  animation: previewIn 340ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hover-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

@keyframes previewIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.trip-marker {
  background: transparent;
  border: none;
}

.trip-marker-shell {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.trip-marker-shell .pulse {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 236, 224, 0.35) 0%, rgba(214, 236, 224, 0.04) 68%, transparent 100%);
  animation: pulse 2.2s ease-out infinite;
}

.trip-marker-shell .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--accent-soft), #b0d6be);
  border: 2px solid rgba(8, 17, 23, 0.9);
  box-shadow: 0 0 0 4px rgba(223, 240, 230, 0.14);
}

.trip-marker-shell .day-pill {
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translateX(-50%);
  min-width: 36px;
  border-radius: 999px;
  padding: 1px 7px;
  background: rgba(7, 17, 22, 0.72);
  border: 1px solid rgba(236, 247, 242, 0.32);
  color: #f3f9f5;
  font-size: 0.61rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
}

.trip-marker-shell.is-active .dot {
  background: linear-gradient(150deg, #ffe9c1, #b8e9ca);
  box-shadow:
    0 0 0 4px rgba(223, 240, 230, 0.2),
    0 0 25px rgba(227, 212, 165, 0.55);
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.82;
  }
  80% {
    transform: scale(2.1);
    opacity: 0;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

.route-day-label {
  background: rgba(7, 16, 22, 0.66);
  border: 1px solid rgba(234, 244, 237, 0.25);
  color: #e9f3ec;
  font-size: 0.62rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 3px 5px;
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(1, 6, 8, 0.46);
  white-space: nowrap;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.gallery-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 10, 0.76);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}

.gallery-panel {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 26px;
  border: 1px solid rgba(237, 245, 240, 0.23);
  background: linear-gradient(145deg, rgba(8, 16, 22, 0.95), rgba(5, 12, 16, 0.93));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.62);
  transform: translateY(18px) scale(0.985);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-modal.is-open .gallery-panel {
  transform: translateY(0) scale(1);
}

.gallery-close {
  position: sticky;
  top: 14px;
  margin: 14px 14px 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(233, 242, 235, 0.25);
  color: var(--text-primary);
  background: rgba(8, 17, 22, 0.86);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.gallery-header {
  padding: 0.4rem 2.1rem 0.65rem;
}

.gallery-day {
  margin: 0;
  color: var(--accent-soft);
  letter-spacing: 0.06em;
  font-size: 0.73rem;
  text-transform: uppercase;
}

.gallery-header h2 {
  margin: 0.35rem 0 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

.gallery-meta {
  margin: 0.25rem 0 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.gallery-description {
  margin: 0.65rem 0 0;
  color: #e7efeb;
  line-height: 1.46;
  max-width: 70ch;
}

.gallery-main {
  margin: 0.9rem 0 0;
  padding: 0 1.3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
}

.gallery-nav {
  border: 1px solid rgba(238, 246, 241, 0.24);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(9, 17, 24, 0.76);
  color: #f8fcfa;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  border-color: rgba(231, 213, 172, 0.58);
  outline: none;
}

.gallery-figure {
  margin: 0;
  min-height: min(56vh, 650px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(231, 243, 235, 0.18);
  background: rgba(6, 13, 16, 0.88);
  display: flex;
  flex-direction: column;
}

.gallery-figure img {
  width: 100%;
  height: min(56vh, 650px);
  object-fit: contain;
  background: radial-gradient(circle at 50% 20%, rgba(28, 39, 46, 0.8), rgba(6, 12, 16, 0.95));
}

.gallery-figure figcaption {
  padding: 0.58rem 0.85rem 0.74rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.gallery-thumbs {
  margin-top: 0.95rem;
  padding: 0 2.1rem 1.3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.55rem;
}

.gallery-thumb {
  border: 1px solid rgba(225, 238, 230, 0.17);
  background: rgba(8, 15, 20, 0.78);
  border-radius: 11px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.75;
  transition: opacity 180ms ease, transform 220ms ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img,
.gallery-thumb.is-active img {
  opacity: 1;
  transform: scale(1.03);
}

.gallery-thumb.is-active {
  border-color: rgba(227, 201, 152, 0.66);
}

.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35) !important;
}

.leaflet-control-zoom a {
  background: rgba(8, 20, 27, 0.72) !important;
  color: #e9f3ed !important;
  border: 1px solid rgba(232, 243, 236, 0.2) !important;
}

.leaflet-control-attribution {
  background: rgba(5, 14, 19, 0.62) !important;
  color: rgba(231, 241, 235, 0.64) !important;
  backdrop-filter: blur(8px);
}

.leaflet-control-attribution a {
  color: rgba(238, 246, 241, 0.85) !important;
}

@media (max-width: 1060px) {
  .top-bar {
    width: min(520px, calc(100% - 32px));
    left: 16px;
    top: 16px;
  }

  .timeline-panel {
    right: 16px;
    top: 16px;
    width: 300px;
    max-height: calc(100vh - 32px);
  }

  .focus-card {
    left: 16px;
    bottom: 16px;
    width: min(380px, calc(100% - 32px));
  }
}

@media (max-width: 860px) {
  .timeline-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .timeline-panel {
    transform: translateX(calc(100% + 24px));
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    width: min(320px, calc(100% - 20px));
    top: 64px;
    max-height: calc(100vh - 80px);
  }

  .timeline-panel.is-open {
    transform: translateX(0);
  }

  .top-bar {
    width: min(100%, calc(100% - 32px));
    max-width: 560px;
    top: 64px;
  }
}

@media (max-width: 680px) {
  .top-bar {
    top: 62px;
    border-radius: 16px;
  }

  .top-bar h1 {
    font-size: 1.45rem;
  }

  .subtitle {
    font-size: 0.88rem;
  }

  .focus-card {
    border-radius: 16px;
    padding: 0.85rem 0.95rem 0.95rem;
  }

  .focus-card h3 {
    font-size: 1.18rem;
  }

  .gallery-panel {
    width: calc(100% - 14px);
    max-height: calc(100vh - 14px);
    border-radius: 16px;
  }

  .gallery-header {
    padding-inline: 0.95rem;
  }

  .gallery-main {
    grid-template-columns: 1fr;
    padding: 0 0.95rem;
  }

  .gallery-nav {
    position: absolute;
    top: calc(50% - 12px);
    z-index: 3;
  }

  .gallery-nav.prev {
    left: 10px;
  }

  .gallery-nav.next {
    right: 10px;
  }

  .gallery-figure {
    min-height: 42vh;
  }

  .gallery-figure img {
    height: 42vh;
  }

  .gallery-thumbs {
    padding: 0 0.95rem 0.95rem;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  }

  .route-day-label {
    display: none;
  }
}

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


/* =========================================================
   Light/dark theme switch
   De originele dark mode blijft de standaard. Light mode wordt
   geactiveerd via: <html data-theme="light">.
   ========================================================= */

:root {
  color-scheme: dark;
}

body,
#map,
.cinematic-overlay,
.glass-panel,
.timeline-list button,
.cta-button,
.theme-toggle,
.gallery-backdrop,
.gallery-panel,
.gallery-close,
.gallery-nav,
.gallery-figure,
.gallery-thumb,
.trip-marker-shell .dot,
.trip-marker-shell .day-pill,
.route-day-label {
  transition:
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    color 220ms ease,
    filter 260ms ease;
}

.top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.95rem;
}

.theme-toggle {
  border: 1px solid rgba(232, 245, 238, 0.34);
  background: linear-gradient(
    100deg,
    rgba(223, 194, 136, 0.16),
    rgba(149, 186, 161, 0.18)
  );
  color: var(--text-primary);
  border-radius: 999px;
  padding: 0.56rem 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(231, 213, 172, 0.7);
  box-shadow: 0 12px 30px rgba(198, 174, 127, 0.25);
  outline: none;
}

.theme-toggle-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  line-height: 1;
}

html[data-theme="light"] {
  color-scheme: light;

  --bg-deep: #f3efe4;
  --bg-night: #fbf7ee;
  --bg-glass: rgba(255, 252, 244, 0.72);
  --line-soft: rgba(52, 77, 64, 0.18);
  --line-strong: rgba(37, 67, 50, 0.58);
  --text-primary: #14221b;
  --text-secondary: #4b5d52;
  --accent: #9a6a2f;
  --accent-soft: #77501f;
  --green-soft: #417b53;
  --shadow-xl: 0 30px 80px rgba(55, 76, 63, 0.2);
}

html[data-theme="light"] body {
  color: var(--text-primary);
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(220, 238, 219, 0.95) 0%,
      rgba(248, 243, 231, 0.96) 38%,
      rgba(235, 225, 205, 0.98) 100%
    );
}

html[data-theme="light"] #map {
  filter: saturate(1.12) contrast(1.04) brightness(1.02);
}

html[data-theme="light"] .cinematic-overlay {
  background:
    radial-gradient(circle at 72% 20%, rgba(184, 137, 67, 0.07), transparent 34%),
    radial-gradient(circle at 20% 86%, rgba(84, 147, 96, 0.09), transparent 38%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.04), rgba(245, 238, 222, 0.1));
}

html[data-theme="light"] .glass-panel {
  background: linear-gradient(
    145deg,
    rgba(255, 253, 247, 0.78),
    rgba(244, 237, 220, 0.58)
  );
  border-color: rgba(45, 72, 55, 0.18);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(18px) saturate(1.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
}

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .timeline-day,
html[data-theme="light"] .focus-day,
html[data-theme="light"] .gallery-day {
  color: var(--accent-soft);
}

html[data-theme="light"] .subtitle,
html[data-theme="light"] .timeline-header p,
html[data-theme="light"] .timeline-meta,
html[data-theme="light"] .focus-meta,
html[data-theme="light"] .gallery-meta,
html[data-theme="light"] .gallery-figure figcaption {
  color: var(--text-secondary);
}

html[data-theme="light"] .timeline-header {
  border-bottom-color: rgba(45, 72, 55, 0.12);
}

html[data-theme="light"] .timeline-list button {
  color: var(--text-primary);
  border-color: rgba(45, 72, 55, 0.13);
  background: linear-gradient(
    120deg,
    rgba(255, 253, 247, 0.74),
    rgba(238, 230, 210, 0.55)
  );
}

html[data-theme="light"] .timeline-list button:hover,
html[data-theme="light"] .timeline-list button:focus-visible,
html[data-theme="light"] .timeline-list button.is-active {
  border-color: rgba(154, 106, 47, 0.48);
  background: linear-gradient(
    120deg,
    rgba(255, 249, 236, 0.92),
    rgba(226, 239, 221, 0.72)
  );
  box-shadow: 0 14px 28px rgba(57, 77, 63, 0.14);
}

html[data-theme="light"] .focus-description,
html[data-theme="light"] .gallery-description {
  color: #263b30;
}

html[data-theme="light"] .cta-button,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .timeline-toggle {
  color: var(--text-primary);
  border-color: rgba(45, 72, 55, 0.2);
  background: linear-gradient(
    100deg,
    rgba(255, 247, 229, 0.88),
    rgba(219, 237, 219, 0.74)
  );
}

html[data-theme="light"] .cta-button:hover,
html[data-theme="light"] .cta-button:focus-visible,
html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:focus-visible {
  box-shadow: 0 10px 24px rgba(118, 81, 30, 0.18);
}

html[data-theme="light"] .theme-toggle-icon {
  background: rgba(20, 34, 27, 0.08);
}

html[data-theme="light"] .hover-preview-card {
  border-color: rgba(255, 252, 244, 0.78);
  box-shadow: 0 22px 46px rgba(45, 64, 54, 0.28);
}

html[data-theme="light"] .trip-marker-shell .pulse {
  background: radial-gradient(
    circle,
    rgba(33, 109, 64, 0.34) 0%,
    rgba(33, 109, 64, 0.08) 68%,
    transparent 100%
  );
}

html[data-theme="light"] .trip-marker-shell .dot {
  background: linear-gradient(150deg, #f4d08f, #3f9563);
  border-color: rgba(255, 253, 247, 0.94);
  box-shadow:
    0 0 0 4px rgba(31, 91, 55, 0.14),
    0 8px 20px rgba(37, 69, 49, 0.22);
}

html[data-theme="light"] .trip-marker-shell .day-pill,
html[data-theme="light"] .route-day-label {
  background: rgba(255, 252, 244, 0.82);
  border-color: rgba(45, 72, 55, 0.18);
  color: #183026;
  box-shadow: 0 10px 20px rgba(52, 74, 60, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html[data-theme="light"] .trip-marker-shell.is-active .dot {
  background: linear-gradient(150deg, #ffc85c, #26935a);
  box-shadow:
    0 0 0 4px rgba(31, 91, 55, 0.18),
    0 0 26px rgba(152, 105, 36, 0.34);
}

html[data-theme="light"] .gallery-backdrop {
  background: rgba(244, 238, 224, 0.68);
}

html[data-theme="light"] .gallery-panel {
  border-color: rgba(45, 72, 55, 0.17);
  background: linear-gradient(
    145deg,
    rgba(255, 253, 247, 0.97),
    rgba(241, 235, 220, 0.95)
  );
  box-shadow: 0 30px 80px rgba(48, 67, 55, 0.24);
}

html[data-theme="light"] .gallery-close,
html[data-theme="light"] .gallery-nav {
  color: var(--text-primary);
  border-color: rgba(45, 72, 55, 0.2);
  background: rgba(255, 253, 247, 0.86);
}

html[data-theme="light"] .gallery-nav:hover,
html[data-theme="light"] .gallery-nav:focus-visible {
  border-color: rgba(154, 106, 47, 0.46);
}

html[data-theme="light"] .gallery-figure {
  border-color: rgba(45, 72, 55, 0.14);
  background: rgba(255, 252, 244, 0.72);
}

html[data-theme="light"] .gallery-figure img {
  background: radial-gradient(
    circle at 50% 20%,
    rgba(255, 253, 247, 0.95),
    rgba(231, 222, 204, 0.82)
  );
}

html[data-theme="light"] .gallery-thumb {
  border-color: rgba(45, 72, 55, 0.15);
  background: rgba(255, 253, 247, 0.74);
}

html[data-theme="light"] .gallery-thumb.is-active {
  border-color: rgba(154, 106, 47, 0.58);
}

html[data-theme="light"] .leaflet-control-zoom {
  box-shadow: 0 14px 28px rgba(55, 76, 63, 0.18) !important;
}

html[data-theme="light"] .leaflet-control-zoom a {
  background: rgba(255, 253, 247, 0.88) !important;
  color: #14221b !important;
  border: 1px solid rgba(45, 72, 55, 0.16) !important;
}

html[data-theme="light"] .leaflet-control-attribution {
  background: rgba(255, 253, 247, 0.72) !important;
  color: rgba(20, 34, 27, 0.62) !important;
}

html[data-theme="light"] .leaflet-control-attribution a {
  color: rgba(20, 34, 27, 0.82) !important;
}

@media (max-width: 680px) {
  .top-actions {
    margin-top: 0.75rem;
  }

  .theme-toggle {
    padding: 0.52rem 0.76rem;
    font-size: 0.78rem;
  }
}
/* Compactere header / introkaart */
.top-bar {
  width: min(420px, calc(100% - 48px));
  padding: 0.85rem 1rem 0.95rem;
}

.top-bar h1 {
  font-size: clamp(1.25rem, 1.7vw, 1.8rem);
  margin: 0.25rem 0 0.25rem;
}

.subtitle {
  font-size: 0.82rem;
  line-height: 1.35;
}

.eyebrow {
  font-size: 0.58rem;
}

/* Extra compact op telefoon */
@media (max-width: 680px) {
  .top-bar {
    top: 58px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 0.65rem 0.75rem 0.75rem;
    border-radius: 13px;
  }

  .top-bar h1 {
    font-size: 1.12rem;
    line-height: 1.1;
  }

  .subtitle {
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .eyebrow {
    font-size: 0.52rem;
    letter-spacing: 0.13em;
  }
}

/* Heel kleine schermen */
@media (max-width: 420px) {
  .top-bar {
    padding: 0.55rem 0.65rem 0.65rem;
  }

  .top-bar h1 {
    font-size: 1rem;
  }

  .subtitle {
    font-size: 0.72rem;
  }
}
@media (max-width: 420px) {
  .top-bar .subtitle {
    display: none;
  }
}
/* Compacte top-bar op alle schermen */
.top-bar {
  width: min(380px, calc(100% - 48px));
  padding: 0.7rem 0.9rem 0.8rem;
  border-radius: 16px;
}

.eyebrow {
  font-size: 0.54rem;
  letter-spacing: 0.14em;
}

.top-bar h1 {
  font-size: clamp(1.08rem, 1.35vw, 1.55rem);
  margin: 0.22rem 0 0.22rem;
  line-height: 1.08;
}

.subtitle {
  font-size: 0.76rem;
  line-height: 1.32;
}

/* Tablet */
@media (max-width: 1060px) {
  .top-bar {
    width: min(360px, calc(100% - 32px));
    padding: 0.65rem 0.82rem 0.72rem;
  }
}

/* Telefoon */
@media (max-width: 680px) {
  .top-bar {
    top: 58px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 0.58rem 0.68rem 0.66rem;
    border-radius: 13px;
  }

  .top-bar h1 {
    font-size: 1rem;
  }

  .subtitle {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .eyebrow {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }
}

/* Heel kleine telefoons: subtitel verbergen voor meer kaart */
@media (max-width: 420px) {
  .top-bar .subtitle {
    display: none;
  }

  .top-bar {
    width: auto;
    right: 10px;
  }
}

@media (max-width: 420px) {
  .focus-description {
    display: none;
  }
}

/* Filterknoppen voor Alles / 2023 / 2026 */
.trip-filter {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem 0.9rem 0.35rem;
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(12px);
}

.trip-filter__button {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.35);
  color: inherit;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.trip-filter__button:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.8);
}

.trip-filter__button.is-active {
  background: rgba(125, 211, 252, 0.18);
  border-color: rgba(125, 211, 252, 0.9);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.2) inset;
}

body.light-theme .trip-filter__button,
:root[data-theme="light"] .trip-filter__button {
  background: rgba(255, 255, 255, 0.78);
}

body.light-theme .trip-filter__button.is-active,
:root[data-theme="light"] .trip-filter__button.is-active {
  background: rgba(14, 165, 233, 0.16);
}
