@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Cinzel:wght@400;600&family=Jost:wght@300;400;500&display=swap');

:root {
  --navy:        #0d1b2a;
  --navy-mid:    #1a2f45;
  --navy-light:  #243d57;
  --sea:         #1e6091;
  --sea-light:   #2980b9;
  --gold:        #c9a84c;
  --gold-light:  #e4c97e;
  --parchment:   #f5efe0;
  --parchment-2: #ede3cc;
  --white:       #fdfaf4;
  --text-dim:    #8aacc8;
  --text-mid:    #b8cfe0;
  --border:      rgba(201,168,76,0.25);
  --border-soft: rgba(201,168,76,0.12);
  --shadow:      0 4px 32px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(30,96,145,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(201,168,76,0.08) 0%, transparent 50%);
}

/* ─── NAVIGATION ─────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
}

.nav-ports {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-ports a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-ports a:hover { color: var(--gold-light); }
.nav-ports a.active { color: var(--gold); }

/* ─── HERO ───────────────────────────────────── */
.hero {
  padding: 5rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(201,168,76,0.05)' stroke-width='0.5'%3E%3Cpath d='M0 30 Q15 0 30 30 Q45 60 60 30'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 0.9rem;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-meta-item {
  text-align: center;
}

.hero-meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.3rem;
}

.hero-meta-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--parchment);
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.75rem 2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

.countdown-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ─── TIMELINE ───────────────────────────────── */
.timeline-section {
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.timeline-item {
  flex: 1;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: var(--border-soft);
  z-index: 0;
}

.timeline-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  color: var(--text-dim);
  z-index: 1;
  transition: all 0.2s;
  position: relative;
}

.timeline-item.completed .timeline-circle {
  background: var(--navy-light);
  border-color: var(--gold);
  color: var(--gold);
}

.timeline-item.today .timeline-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 16px rgba(201,168,76,0.5);
}

.timeline-item.sea .timeline-circle {
  border-style: dashed;
  border-color: rgba(41,128,185,0.4);
  color: rgba(41,128,185,0.5);
}

.timeline-label {
  margin-top: 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  max-width: 70px;
  line-height: 1.3;
}

.timeline-item.today .timeline-label { color: var(--gold-light); }
.timeline-item.completed .timeline-label { color: var(--text-mid); }

.timeline-date {
  font-size: 0.55rem;
  color: rgba(138,172,200,0.5);
  margin-top: 0.2rem;
  text-align: center;
}

/* ─── WEATHER TABLE ──────────────────────────── */
.weather-section {
  padding: 0 2rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.weather-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.weather-table th {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}

.weather-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-mid);
  vertical-align: middle;
}

.weather-table tr:hover td { background: rgba(255,255,255,0.02); }

.weather-table tr.today-row td { background: rgba(201,168,76,0.05); color: var(--parchment); }
.weather-table tr.today-row td:first-child { border-left: 2px solid var(--gold); }

.weather-table .port-name { color: var(--white); font-weight: 400; }
.weather-table .weather-icon { font-size: 1.1rem; margin-right: 0.4rem; }
.weather-table .temp { font-family: 'Cinzel', serif; font-size: 0.85rem; }
.weather-table .temp-high { color: var(--parchment); }
.weather-table .temp-sep { color: var(--text-dim); margin: 0 0.2rem; }
.weather-table .temp-low { color: var(--text-dim); }
.weather-table .sea-row td { color: rgba(138,172,200,0.5); font-style: italic; }

/* ─── PORT GRID ──────────────────────────────── */
.ports-section {
  padding: 0 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.ports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.port-card {
  border: 1px solid var(--border-soft);
  background: rgba(26,47,69,0.4);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.port-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.port-card:hover { border-color: var(--border); background: rgba(26,47,69,0.7); }
.port-card:hover::before { transform: scaleX(1); }

.port-card-day {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.port-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.port-card-country {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.port-card-weather {
  font-size: 0.78rem;
  color: var(--text-mid);
}

.port-card-date {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  color: var(--text-dim);
}

.port-card.today { border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.05); }
.port-card.completed { opacity: 0.7; }

/* ─── PORT PAGE ──────────────────────────────── */
.port-hero {
  padding: 4rem 2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.port-back {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.port-back:hover { color: var(--gold-light); }

.port-day-label {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.port-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.port-country {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ─── WEATHER BOX ────────────────────────────── */
.weather-box {
  border: 1px solid var(--border);
  background: rgba(30,96,145,0.1);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.weather-box-title {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.weather-box table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.weather-box th {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-align: left;
  padding: 0 0.75rem 0.5rem 0;
  font-weight: 400;
}
.weather-box td { padding: 0.35rem 0.75rem 0.35rem 0; color: var(--text-mid); border-bottom: 1px solid var(--border-soft); }
.weather-box td:first-child { color: var(--parchment); }

.weather-blurb {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.5;
}

/* ─── CONTENT SECTIONS ───────────────────────── */
.port-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.content-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.content-section:last-child { border-bottom: none; }

.content-section h2 {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
}

.content-section p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}

.content-section ul {
  list-style: none;
  padding: 0;
}

.content-section ul li {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-mid);
  padding: 0.3rem 0 0.3rem 1.2rem;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}

.content-section ul li:last-child { border-bottom: none; }

.content-section ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1.5;
}

.highlight-item {
  background: rgba(201,168,76,0.06);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.83rem;
  color: var(--parchment);
  line-height: 1.6;
}

.excursion-included { color: var(--sea-light); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 0.5rem; }
.excursion-optional { color: var(--text-dim); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 0.5rem; }

/* ─── HOTEL BANDS (Venice) ────────────────────── */
.hotel-band {
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  overflow: hidden;
}

.hotel-band-header {
  background: rgba(201,168,76,0.08);
  padding: 0.6rem 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.hotel-band-content {
  padding: 0.75rem 1rem;
}

.hotel-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.hotel-detail {
  font-size: 0.75rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.hotel-gus-pick {
  display: inline-block;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  background: var(--gold);
  color: var(--navy);
  padding: 0.15rem 0.5rem;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ─── FOOTER ─────────────────────────────────── */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 700px) {
  .hero-meta { gap: 1.5rem; }
  .nav-ports { display: none; }
  .ports-grid { grid-template-columns: 1fr 1fr; }
  .weather-table { font-size: 0.72rem; }
  .weather-table th, .weather-table td { padding: 0.5rem 0.5rem; }
}
