/* =========================================================
   daytrip-detail.css — Day Trip Detail Overlay
   ========================================================= */

.dtd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 8000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dtd-overlay.dtd-open {
  opacity: 1;
  pointer-events: auto;
}

.dtd-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(30px);
  transition: transform 300ms ease;
}

.dtd-open .dtd-card {
  transform: translateY(0);
}

.dtd-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dtd-close:active {
  background: rgba(255, 255, 255, 0.2);
}

.dtd-header {
  text-align: center;
  margin-bottom: 16px;
}

.dtd-emoji {
  font-size: 40px;
  display: block;
  margin-bottom: 8px;
}

.dtd-name {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.dtd-meta {
  font-size: 13px;
  color: #8fa3b3;
  font-weight: 500;
}

.dtd-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 16px;
  text-align: center;
}

.dtd-weather-row {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  text-align: center;
}

.dtd-weather-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6baed6;
  margin-bottom: 4px;
}

.dtd-weather-day {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.dtd-weather-reason {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.4;
}

/* ── destination weather ── */
.dtd-dest-weather {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

.dtd-wx-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6baed6;
  margin-bottom: 10px;
}

.dtd-wx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dtd-wx-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dtd-wx-val {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.dtd-wx-lbl {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── drive button ── */
.dtd-drive-btn {
  display: block;
  text-align: center;
  padding: 14px;
  background: #2563eb;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.dtd-drive-btn:active {
  background: #1d4ed8;
}
