/* ============================================================
   Barcelona & Beyond — Transatlantic 2027
   Light, fresh, Mediterranean vacation vibes
   ============================================================ */

:root {
  --ink: #16324a;
  --ink-soft: #48617a;
  --sea: #1273a6;
  --sea-bright: #2a9dc9;
  --aqua: #7fd3e0;
  --aqua-pale: #e3f4f8;
  --sand: #f7f1e5;
  --cream: #fdfbf7;
  --white: #ffffff;
  --coral: #ff7a59;
  --coral-soft: #ffe9e2;
  --gold: #f5b942;
  --gold-soft: #fdf3dc;
  --green: #3fa877;
  --green-soft: #e2f4ea;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(22, 50, 74, 0.08);
  --shadow-lift: 0 12px 32px rgba(22, 50, 74, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 50, 74, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand span { color: var(--sea-bright); }

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-links a {
  display: block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover { background: var(--aqua-pale); color: var(--sea); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(160deg, #0d3a5c 0%, #1273a6 45%, #2a9dc9 75%, #7fd3e0 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(245, 185, 66, 0.35), transparent 65%),
    radial-gradient(ellipse 50% 35% at 15% 85%, rgba(255, 122, 89, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 96px 24px 140px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 640px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-route {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 48px;
}

.hero-route .dot { opacity: 0.6; }

/* Countdown */

.countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.count-unit {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  min-width: 86px;
  backdrop-filter: blur(6px);
}

.count-unit .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.count-unit .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-top: 6px;
}

/* Wave divider */

.wave {
  display: block;
  width: 100%;
  height: 70px;
  margin-bottom: -1px;
}

.hero .wave {
  position: absolute;
  bottom: 0;
  left: 0;
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }

.section-alt { background: var(--white); }

.section-sand { background: var(--sand); }

.section-head { text-align: center; margin-bottom: 44px; }

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-bright);
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-head p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
}

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- Badges & chips ---------- */

.badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge.sea { background: var(--aqua-pale); color: var(--sea); }
.badge.port { background: var(--coral-soft); color: #d05534; }
.badge.gold { background: var(--gold-soft); color: #b07d13; }
.badge.green { background: var(--green-soft); color: #23744d; }
.badge.placeholder { background: #eef1f4; color: var(--ink-soft); border: 1px dashed #b8c4cf; }

.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--aqua-pale);
  color: var(--sea);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- Flights (placeholder) ---------- */

.flight-card {
  border: 2px dashed #c3d3de;
  background: repeating-linear-gradient(-45deg, var(--white), var(--white) 14px, #fbfdfe 14px, #fbfdfe 28px);
  border-radius: var(--radius);
  padding: 28px;
}

.flight-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.flight-route {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.flight-route .code {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--sea);
}

.flight-route .line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--aqua), var(--aqua) 6px, transparent 6px, transparent 12px);
  position: relative;
}

.flight-route .line::after {
  content: "✈";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  background: inherit;
  background: var(--white);
  padding: 0 8px;
  color: var(--sea-bright);
  font-size: 1.1rem;
}

.flight-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.flight-meta .item .label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.flight-meta .item .value {
  font-weight: 600;
  color: var(--ink);
}

.flight-meta .item .value.tbd { color: #9aa9b6; font-style: italic; }

/* ---------- Timeline / itinerary days ---------- */

.timeline { display: grid; gap: 16px; }

.day-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.day-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.day-card .when {
  text-align: center;
  border-right: 1px solid #edf1f4;
  padding-right: 16px;
}

.day-card .when .dow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.day-card .when .date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sea);
  line-height: 1.2;
}

.day-card .when .mon {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.day-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2px 0 6px;
}

.day-card .times {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.day-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* Barcelona plan blocks */

.plan-block { margin-bottom: 14px; }

.plan-block .time-label {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
  margin-bottom: 2px;
}

.plan-block h4 { font-size: 1rem; font-weight: 600; }

.plan-block p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Venue explorer (ship) ---------- */

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  border: 1.5px solid #d5e2ea;
  background: var(--white);
  color: var(--ink-soft);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--sea-bright); color: var(--sea); }

.filter-btn.active {
  background: var(--sea);
  border-color: var(--sea);
  color: var(--white);
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.venue-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.venue-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.venue-card .venue-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.venue-card h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }

.venue-card .emoji { font-size: 1.4rem; line-height: 1; }

.venue-card p { font-size: 0.88rem; color: var(--ink-soft); flex: 1; }

.venue-card .venue-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.venue-card[hidden] { display: none; }

/* ---------- Pricing tables ---------- */

.price-card { display: flex; flex-direction: column; }

.price-card .price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.price-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }

.price-card .price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sea);
  white-space: nowrap;
}

.price-card .per { font-size: 0.74rem; color: var(--ink-soft); font-weight: 500; }

.price-card ul {
  list-style: none;
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.price-card li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}

.price-card li::before {
  content: "◦";
  position: absolute;
  left: 6px;
  color: var(--sea-bright);
  font-weight: 700;
}

.price-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* Purchase status — add class "purchased" or "watching" to a .price-card */

.price-card, .venue-card { position: relative; overflow: hidden; }

.price-card.purchased, .venue-card.purchased {
  border: 2px solid var(--green);
  background: linear-gradient(180deg, #f2faf6 0%, var(--white) 60%);
}

.price-card.purchased::after, .venue-card.purchased::after {
  content: "✓ Purchased";
  position: absolute;
  top: 14px;
  right: -34px;
  transform: rotate(38deg);
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 38px;
  box-shadow: 0 2px 8px rgba(35, 116, 77, 0.3);
}

.price-card.purchased .price { color: var(--green); }

.price-card.watching, .venue-card.watching {
  border: 2px dashed var(--gold);
  background: linear-gradient(180deg, #fefaf0 0%, var(--white) 60%);
}

.price-card.watching::after, .venue-card.watching::after {
  content: "👀 Watching";
  position: absolute;
  top: 14px;
  right: -30px;
  transform: rotate(38deg);
  background: var(--gold);
  color: #6b4a06;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 34px;
  box-shadow: 0 2px 8px rgba(245, 185, 66, 0.35);
}

/* Callout */

.callout {
  background: var(--aqua-pale);
  border-left: 4px solid var(--sea-bright);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-top: 32px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.callout strong { color: var(--ink); }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 40px;
  text-align: center;
  font-size: 0.88rem;
}

.footer .footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 10px;
}

.footer a { color: var(--aqua); }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .hero-inner { padding: 64px 20px 120px; }
  .section { padding: 52px 0; }
  .day-card { grid-template-columns: 72px 1fr; padding: 18px; gap: 14px; }
  .count-unit { min-width: 72px; }
  .nav-links { scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
}
