/* =============================================
   Vamos — Porto & the Douro · May 2027
   Loads after style.css (copied from Gotovo) and recolors it
   in azulejo blue, port-wine red and tram yellow.
   ============================================= */

:root {
  --terracotta:  #2F62A8;
  --terracotta2: #1E4479;
  --gold:        #E2A93B;
  --gold-lt:     #F5D98E;
  --wine:        #7E2440;
  --wine-lt:     #F4E3E8;
  --sand:        #F7F5F0;
  --cream:       #FFFEFB;
  --line:        #E2DFD7;
  --shadow:      0 4px 24px rgba(30, 68, 121, 0.10);
}

.hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.55) 0 2px, transparent 3px) 0 0 / 38px 38px,
    linear-gradient(180deg, #E8F0FA 0%, #D4E2F4 45%, #F3E6CF 80%, #F7F5F0 100%);
}
.hero h1 { color: var(--terracotta2); }

.city-card.porto .city-card-top { background: linear-gradient(135deg, #DCE7F5, #A9C2E2); }
.city-card.porto .city-dates    { color: var(--terracotta2); }
.city-card.douro .city-card-top { background: linear-gradient(135deg, #F4E3E8, #DDB2BF); }
.city-card.douro .city-dates    { color: var(--wine); }

.sight .tag.must { color: var(--terracotta2); background: #E3ECF8; }

/* ---- Day-by-day itinerary ---- */

.days { display: grid; gap: 1.1rem; }
.day {
  display: grid;
  grid-template-columns: 120px 1fr;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.day-date {
  background: var(--terracotta2);
  color: white;
  text-align: center;
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}
.day.douro .day-date  { background: var(--wine); }
.day.travel .day-date { background: var(--seaglass2); }
.day.flex .day-date   { background: #B07A1E; }
.day-date .dn  { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.day-date .dow { font-size: 0.9rem; font-weight: 600; margin-top: 0.35rem; }
.day-date .dd  { font-family: 'Lora', serif; font-size: 2.3rem; font-weight: 700; }
.day-date .mon { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.day-body { padding: 1.1rem 1.4rem 1.2rem; }
.day-body .where { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.day-body h3 { font-size: 1.35rem; margin: 0.15rem 0 0.6rem; color: var(--ink); }
.timeline { list-style: none; display: grid; gap: 0.45rem; }
.timeline li { display: grid; grid-template-columns: 105px 1fr; gap: 0.6rem; font-size: 0.98rem; line-height: 1.55; }
.timeline li > b { color: var(--terracotta2); font-size: 0.86rem; padding-top: 0.12rem; }
.day.douro .timeline li > b { color: var(--wine); }
.day-tip {
  margin-top: 0.75rem;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.55;
}
.day-sleep { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }

/* ---- Budget & booking ---- */

.money { width: 100%; border-collapse: collapse; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.money td, .money th { padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.98rem; vertical-align: top; }
.money th { background: var(--terracotta2); color: white; font-size: 0.85rem; letter-spacing: 0.04em; }
.money td:last-child, .money th:last-child { text-align: right; white-space: nowrap; }
.money tr.total td { font-weight: 700; background: #E3ECF8; }
.money tr.opt td { color: var(--muted); font-style: italic; }
.money small { display: block; color: var(--muted); font-size: 0.82rem; }
.money.versus td, .money.versus th { text-align: left; white-space: normal; width: 33%; }

.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.book-col { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.3rem; border-top: 5px solid var(--terracotta); }
.book-col:nth-child(2) { border-top-color: var(--gold); }
.book-col:nth-child(3) { border-top-color: var(--wine); }
.book-col:nth-child(4) { border-top-color: var(--seaglass2); }
.book-col h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.book-col ul { list-style: none; display: grid; gap: 0.5rem; }
.book-col li { font-size: 0.94rem; line-height: 1.5; padding-left: 1.6rem; position: relative; }
.book-col li::before { content: '☐'; position: absolute; left: 0; color: var(--muted); }

@media (max-width: 640px) {
  .day { grid-template-columns: 1fr; }
  .day-date { flex-direction: row; gap: 0.6rem; align-items: baseline; justify-content: flex-start; padding: 0.6rem 1.1rem; }
  .day-date .dd { font-size: 1.4rem; }
  .day-date .dow { margin-top: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .money td, .money th { padding: 0.55rem 0.6rem; font-size: 0.9rem; }
}
