/* ===================================================
   JAPAN 2026 — Day detail page
   =================================================== */

.daydetail {
  padding-bottom: calc(var(--space-2xl) + 7rem);
}

/* ── Day header (city name + date) ── */
.daydetail__hero {
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background: var(--color-surface);
  border-bottom: 0.1rem solid var(--color-border);
}

.daydetail__daynumber {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.daydetail__city {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
  line-height: 1.05;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.03em;
}

.daydetail__date {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ── Navigation arrows ── */
.daynav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-surface);
  border-bottom: 0.1rem solid var(--color-border);
}

.daynav__btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--color-surface-alt);
  border: none;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-ink);
  cursor: pointer;
  min-height: 3.2rem;
  transition: background 0.12s ease;
}

.daynav__btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.daynav__current {
  flex: 1;
  text-align: center;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (hover: hover) and (pointer: fine) {
  .daynav__btn:not(:disabled):hover {
    background: var(--color-border);
  }
}

@media (prefers-reduced-motion: reduce) {
  .daynav__btn { transition: none; }
}

/* ── City photo hero ── */
.dayhero {
  position: relative;
  width: 100%;
  height: 20rem;
  overflow: hidden;
  background: var(--color-surface-alt);
}

.dayhero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dayhero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,0.40) 100%);
  pointer-events: none;
}

.dayhero--nophoto .dayhero__img {
  display: none;
}

.dayhero--nophoto {
  height: 0;
}

/* ── Section label (editorial device) ── */
.section__label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  padding: var(--space-xl) var(--space-lg) var(--space-sm);
}

/* ── Hotel card ── */
.hotelcard {
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
  background: var(--color-surface);
  border-bottom: 0.1rem solid var(--color-border);
}

.hotelcard__price {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
}

.hotelcard__cancel {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hotelcard__cancel--urgent {
  color: var(--color-red);
  font-weight: var(--font-weight-semibold);
}

.hotelcard__nights {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hotelcard__address {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hotelcard__address-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
}

.hotelcard__links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.hotelcard__linkbtn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: 3.6rem;
  flex: 1;
  justify-content: center;
  transition: opacity 0.12s ease;
}

.hotelcard__linkbtn--booking {
  background: var(--color-red);
  color: #fff;
}

.hotelcard__linkbtn--maps {
  background: var(--color-surface-alt);
  color: var(--color-ink);
  border: 0.1rem solid var(--color-border);
}

@media (hover: hover) and (pointer: fine) {
  .hotelcard__linkbtn:hover { opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  .hotelcard__linkbtn { transition: none; }
}

/* ── "Hoe kom je er?" collapsible ── */
.howtogetthere {
  background: var(--color-surface);
  border-bottom: 0.1rem solid var(--color-border);
}

.howtogetthere__summary {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  list-style: none;
  user-select: none;
  min-height: 4.8rem;
}

.howtogetthere__summary::-webkit-details-marker {
  display: none;
}

.howtogetthere__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.howtogetthere__label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.howtogetthere__route {
  flex: 1;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.howtogetthere__chevron {
  font-size: 1.6rem;
  color: var(--color-text-light);
  transition: transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .howtogetthere__chevron { transition: none; }
}

details[open] .howtogetthere__chevron {
  transform: rotate(90deg);
}

.howtogetthere__body {
  padding: 0 var(--space-lg) var(--space-lg);
  border-top: 0.1rem solid var(--color-border);
}

.howtogetthere__type {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-md);
}

.howtogetthere__notes {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border-left: 0.25rem solid var(--color-border);
}

.howtogetthere__notes--warning {
  background: var(--color-red-pale);
  border-left-color: var(--color-red);
  color: var(--color-red-dark, #8A1A20);
}

/* ── Transport card ── */
.transportcard {
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
  background: var(--color-surface);
  border-bottom: 0.1rem solid var(--color-border);
}

.transportcard__route {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.transportcard__arrow {
  color: var(--color-text-muted);
}

.transportcard__type {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.transportcard__notes {
  margin-top: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border-left: 0.25rem solid var(--color-border);
}

.transportcard--warning .transportcard__notes {
  background: var(--color-red-pale);
  border-left-color: var(--color-red);
  color: var(--color-red);
}

.transportcard__timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface-alt);
  border-radius: var(--radius-sm);
  border-left: 0.25rem solid var(--color-red);
}

.transportcard__timer-label {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.transportcard__timer-value {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-red);
  font-variant-numeric: tabular-nums;
}

/* ── City map ── */
.citymap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 0.1rem solid var(--color-border);
}

.citymap__map {
  width: 100%;
  height: 100%;
}

.citymap__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-surface-alt);
}

.citymap__locatebtn {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--color-surface);
  border: 0.1rem solid var(--color-border);
  box-shadow: var(--shadow-md);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: #4285F4;
  transition: background 0.12s ease;
}

.citymap__locatebtn--loading {
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (hover: hover) and (pointer: fine) {
  .citymap__locatebtn:hover { background: var(--color-surface-alt); }
}

@media (prefers-reduced-motion: reduce) {
  .citymap__locatebtn--loading { animation: none; }
}

/* ── Day note ── */
.daynote {
  background: var(--color-surface);
  border-bottom: 0.1rem solid var(--color-border);
}

.daynote__body {
  padding: 0 var(--space-lg) var(--space-lg);
}

.daynote__textarea {
  width: 100%;
  min-height: 9rem;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg);
  border: 0.1rem solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--color-ink);
  line-height: 1.7;
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.daynote__textarea:focus {
  outline: none;
  border-color: var(--color-red);
}

@media (prefers-reduced-motion: reduce) {
  .daynote__textarea { transition: none; }
}

.daynote__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-sm);
}

.daynote__status {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.daynote__status--ok { color: var(--color-green); }
.daynote__status--err { color: var(--color-red); }

.daynote__save {
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-full);
  background: var(--color-red);
  color: #fff;
  border: none;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 3.2rem;
  transition: opacity 0.12s ease;
}

.daynote__save:disabled { opacity: 0.5; cursor: not-allowed; }

@media (hover: hover) and (pointer: fine) {
  .daynote__save:not(:disabled):hover { opacity: 0.8; }
}

@media (prefers-reduced-motion: reduce) {
  .daynote__save { transition: none; }
}

/* ── Activities section ── */
.activities {
  margin-top: 0;
}

.activities__filters {
  padding: var(--space-md) 0;
  background: var(--color-surface);
  border-bottom: 0.1rem solid var(--color-border);
  position: sticky;
  top: var(--header-height);
  z-index: 10;
}

.activities__list {
  background: var(--color-surface);
}

.activities__empty {
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
