/* Summer26 — Mediterranean European Summer theme
   Inspired by Celebrity Xcel sleek modernity + Mediterranean warmth */

:root {
  --sea-deep: #0E3A5F;
  --sea: #1E5A7E;
  --sea-light: #6FA0BC;
  --aegean: #2A8FB5;
  --terracotta: #C95F47;
  --terracotta-light: #E08470;
  --sun: #E8B33D;
  --sun-soft: #F5D88A;
  --olive: #7A8A4F;
  --cream: #FFFCF5;
  --sand: #F5EDDC;
  --stone: #E6DCC4;
  --ink: #1F1A14;
  --ink-soft: #4A4138;
  --ink-mute: #7C7368;
  --shadow: 0 10px 40px rgba(14, 58, 95, 0.12);
  --shadow-lg: 0 24px 60px rgba(14, 58, 95, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--sea-deep);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }

a { color: var(--sea); text-decoration: none; transition: color .15s; }
a:hover { color: var(--terracotta); }

p { margin: 0 0 1em; }

/* Top nav */
.s26-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 252, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 58, 95, 0.08);
}
.s26-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
}
.s26-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600;
  color: var(--sea-deep);
  letter-spacing: 0.02em;
}
.s26-brand .accent { color: var(--terracotta); }
.s26-nav-links {
  display: flex; gap: 20px; flex-wrap: wrap; flex: 1;
  font-size: 0.95rem;
}
.s26-nav-links a {
  color: var(--ink-soft); padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.s26-nav-links a:hover, .s26-nav-links a.active {
  color: var(--sea-deep); border-color: var(--terracotta);
}
.s26-auth-pill {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--ink-soft);
}
.s26-auth-pill .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--aegean), var(--terracotta));
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.85rem;
}

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: all .2s; text-decoration: none;
}
.btn-primary {
  background: var(--sea-deep); color: white;
}
.btn-primary:hover { background: var(--terracotta); color: white; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--sea-deep);
  border: 1.5px solid var(--sea-deep);
}
.btn-ghost:hover { background: var(--sea-deep); color: white; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--terracotta); color: white; }

/* Hero */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(14, 58, 95, 0.62), rgba(201, 95, 71, 0.42)),
    url('https://images.unsplash.com/photo-1533760881669-80db4d7b341a?w=2000&q=80') center/cover;
  color: white;
}
.hero-content {
  max-width: 800px; padding: 60px 24px;
}
.hero h1 {
  color: white; font-size: clamp(2.6rem, 7vw, 5.5rem);
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin-bottom: 0.3em;
}
.hero .kicker {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 6px 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  margin-bottom: 1.5em;
  backdrop-filter: blur(8px);
}
.hero .lead {
  font-size: 1.25rem; max-width: 600px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-actions { margin-top: 2.5em; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn-primary { background: var(--terracotta); }
.hero-actions .btn-primary:hover { background: var(--sun); color: var(--ink); }
.hero-actions .btn-ghost { color: white; border-color: rgba(255,255,255,0.6); }
.hero-actions .btn-ghost:hover { background: white; color: var(--sea-deep); }

/* Countdown */
.countdown {
  display: flex; gap: 16px; margin-top: 3em;
  flex-wrap: wrap;
}
.countdown-cell {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  padding: 14px 22px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 90px;
}
.countdown-cell .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 600;
  display: block; line-height: 1;
}
.countdown-cell .label {
  font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; opacity: 0.85;
}

/* Sections */
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.section.alt { background: var(--sand); }
.section.deep {
  background: linear-gradient(180deg, var(--sea-deep), #0a2a45);
  color: var(--cream);
}
.section.deep h1, .section.deep h2, .section.deep h3 { color: var(--sun-soft); }

.section-header {
  text-align: center; max-width: 720px; margin: 0 auto 3em;
}
.section-header .eyebrow {
  font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 600;
  margin-bottom: 0.6em;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-link { display: block; color: inherit; }

.grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }

/* Itinerary timeline */
.itin-day {
  display: flex; gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(14, 58, 95, 0.1);
}
.itin-day:last-child { border-bottom: none; }
.itin-date {
  flex-shrink: 0; width: 110px;
  text-align: center;
  border-right: 2px solid var(--terracotta);
  padding-right: 20px;
}
.itin-date .dow {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute);
}
.itin-date .day-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 600;
  color: var(--sea-deep); line-height: 1;
  margin: 4px 0;
}
.itin-date .month {
  font-size: 0.85rem; color: var(--ink-soft);
}
.itin-body { flex: 1; }
.itin-body .badge {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 3px 10px;
  background: var(--sand); color: var(--sea-deep);
  border-radius: 999px;
  margin-bottom: 8px;
}
.itin-body .badge.cruise { background: var(--sea-deep); color: var(--cream); }
.itin-body .badge.flight { background: var(--terracotta); color: white; }
.itin-body .badge.train { background: var(--olive); color: white; }
.itin-body .badge.city { background: var(--sun); color: var(--ink); }
.itin-body h3 { margin: 4px 0 6px; }
.itin-body .summary { color: var(--ink-soft); margin: 0; }
.itin-body a.more {
  display: inline-block; margin-top: 8px;
  font-size: 0.9rem; font-weight: 500;
}

/* Day page */
.day-hero {
  position: relative;
  min-height: 50vh;
  display: flex; align-items: flex-end;
  color: white;
  background-size: cover; background-position: center;
}
.day-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,58,95,0.3) 0%, rgba(14,58,95,0.85) 100%);
}
.day-hero-content { position: relative; padding: 60px 24px; max-width: 1100px; margin: 0 auto; width: 100%; }
.day-hero .date-pill {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 1em;
  backdrop-filter: blur(8px);
}
.day-hero h1 { color: white; font-size: clamp(2.4rem, 6vw, 4.5rem); }
.day-hero .tagline { font-size: 1.1rem; opacity: 0.95; max-width: 600px; }

.day-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--stone);
  font-size: 0.9rem;
}
.day-nav a { color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.day-nav a:hover { color: var(--terracotta); }

.callout {
  background: var(--sand);
  border-left: 4px solid var(--terracotta);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.callout.tip { border-color: var(--sun); }
.callout.warn { border-color: var(--terracotta); background: #FFF0EA; }
.callout h4 { color: var(--terracotta); margin: 0 0 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: 'Inter', sans-serif; font-weight: 600; }

.do-list { list-style: none; padding: 0; }
.do-list li {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(14, 58, 95, 0.15);
  display: flex; gap: 14px;
}
.do-list li:last-child { border-bottom: none; }
.do-list .num {
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; color: var(--terracotta);
  font-weight: 600; line-height: 1;
  min-width: 32px;
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.05em; margin-bottom: 6px;
  color: var(--ink-soft); text-transform: uppercase;
}
.form-input, .form-textarea {
  width: 100%; padding: 12px 16px;
  background: white;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem;
  color: var(--ink);
  transition: border-color .15s;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--sea);
}
.form-textarea { min-height: 100px; resize: vertical; }
.code-input {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Photos */
.photo-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.photo-tile {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--stone);
  position: relative;
  cursor: pointer;
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.photo-tile:hover img { transform: scale(1.05); }
.photo-tile .meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white; font-size: 0.75rem;
  opacity: 0; transition: opacity .2s;
}
.photo-tile:hover .meta { opacity: 1; }

.photo-uploader {
  border: 2px dashed var(--sea-light);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  background: rgba(106, 160, 188, 0.06);
  transition: all .2s;
}
.photo-uploader.drag { background: rgba(106, 160, 188, 0.15); border-color: var(--terracotta); }

/* Notes */
.note {
  background: white;
  border-left: 3px solid var(--olive);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(14,58,95,0.05);
}
.note .meta {
  font-size: 0.78rem; color: var(--ink-mute);
  margin-bottom: 6px;
}
.note .author { color: var(--sea-deep); font-weight: 500; }
.note h4 { margin: 0 0 6px; color: var(--sea-deep); font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; }
.note .body { white-space: pre-wrap; }

/* Footer */
.s26-foot {
  background: var(--sea-deep); color: var(--cream);
  padding: 40px 24px; text-align: center;
  font-size: 0.85rem;
  margin-top: 80px;
}
.s26-foot a { color: var(--sun-soft); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--sea-deep); color: white;
  padding: 14px 24px; border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  z-index: 1000;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.toast.show { opacity: 1; }
.toast.error { background: var(--terracotta); }

/* Loading */
.spinner {
  width: 24px; height: 24px;
  border: 3px solid rgba(30, 90, 126, 0.2);
  border-top-color: var(--sea);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.muted { color: var(--ink-mute); }
.center { text-align: center; }
.mt-1 { margin-top: 0.5em; } .mt-2 { margin-top: 1em; } .mt-3 { margin-top: 2em; }
.hidden { display: none !important; }

/* Mobile */
@media (max-width: 640px) {
  .s26-nav-inner { gap: 12px; padding: 12px 16px; flex-wrap: wrap; }
  .s26-nav-links { font-size: 0.85rem; gap: 14px; order: 3; flex-basis: 100%; }
  .hero { min-height: 70vh; }
  .countdown-cell { min-width: 70px; padding: 10px 14px; }
  .itin-date { width: 80px; }
  .container, .container-narrow { padding: 0 16px; }
  .section { padding: 50px 0; }
}

/* ---- Minimal discreet landing ---- */
body.landing {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(232,179,61,0.18), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(201,95,71,0.18), transparent 60%),
    linear-gradient(180deg, #0E3A5F 0%, #082841 100%);
  color: #FFFCF5;
}
.landing-wrap { width: 100%; padding: 32px; }
.landing-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.landing-mark { opacity: 0.95; }
.landing-card h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: 0.01em;
  margin: 0;
  color: #FFFCF5;
}
.landing-card .btn-primary { min-width: 160px; }
