/* Shared styles for individual trip SEO pages */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }

:root {
  --blue: #1e88e5;
  --cyan: #00acc1;
  --gold: #f9a825;
  --olive: #558b2f;
  --olive-dim: rgba(85, 139, 47, 0.13);
  --bg: #eef5fc;
  --surface: #ffffff;
  --text: #0d1b3e;
  --text-sec: #1a5276;
  --text-muted: #607d8b;
  --border: rgba(30,136,229,0.18);
  --radius: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

/* ── Nav ── */
.top-nav {
  background: var(--surface);
  border-bottom: 1.5px solid var(--border);
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka One', cursive;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}
.nav-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.nav-link:hover { text-decoration: underline; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: none;
  border-radius: 100px;
  padding: 8px 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.87; }

/* ── Hero ── */
.trip-hero {
  padding: 52px 24px 56px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.trip-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,0.75) 0%, rgba(13,27,62,0.2) 100%);
}
.trip-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-athens      { background: url(/images/card-argolis.png) center/cover no-repeat, linear-gradient(135deg, #1565c0, #0288d1); }
.hero-peloponnese { background: url(/images/card-peloponnese.png) center/cover no-repeat, linear-gradient(135deg, #558b2f, #33691e); }
.hero-islands     { background: url(/images/card-ionian.png) center/cover no-repeat, linear-gradient(135deg, #00838f, #006064); }
.hero-north       { background: url(/images/card-northern.png) center/cover no-repeat, linear-gradient(135deg, #6a1b9a, #283593); }
.hero-crete       { background: url(/images/card-crete.png) center/cover no-repeat, linear-gradient(135deg, #e65100, #bf360c); }
.hero-epirus      { background: url(/images/card-oracle.png) center/cover no-repeat, linear-gradient(135deg, #37474f, #1a5276); }

.trip-eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.trip-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(28px, 5vw, 48px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}
.trip-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  margin-bottom: 20px;
}
.trip-hero-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ths { display: flex; flex-direction: column; }
.ths-val { font-family: 'Fredoka One', cursive; font-size: 18px; color: #fff; }
.ths-lbl { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.04em; }
.ths-sep { color: rgba(255,255,255,0.3); font-size: 18px; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #7a3b00;
  border-radius: 100px;
  padding: 12px 24px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: opacity 0.15s;
}
.hero-cta:hover { opacity: 0.87; }

/* ── Body layout ── */
.trip-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .trip-body { grid-template-columns: 1fr; }
  .trip-sidebar { order: -1; }
}

/* ── Sidebar ── */
.trip-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.sidebar-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}
.sidebar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.sidebar-card-header h3 { margin-bottom: 0; }
.cost-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
}
.cost-line:last-of-type { border-bottom: none; }
.cost-total {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  font-size: 15px;
  color: var(--text);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid var(--blue);
}

/* Route steps */
.route-steps { display: flex; flex-direction: column; }
.rs {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  padding: 4px 0 4px 8px;
  border-left: 3px solid var(--blue);
}
.rs-start { border-color: var(--olive); }
.rs-end   { border-color: var(--blue); }
.rs-day-trip { border-color: var(--cyan); font-style: italic; color: var(--text-muted); }
.rs-line { width: 2px; height: 16px; background: var(--border); margin-left: 9px; }
.rs-sub { font-size: 11px; font-weight: 400; color: var(--text-muted); display: block; }

.sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  border-radius: 12px;
  padding: 13px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.15s;
}
.sidebar-cta:hover { opacity: 0.87; }

/* ── Article ── */
.trip-content { min-width: 0; }
.trip-section { margin-bottom: 36px; }
.trip-section h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.section-header h2 {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.trip-section p { font-size: 15px; color: var(--text-sec); margin-bottom: 10px; }

/* Day cards */
.day-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  position: relative;
}
.day-label {
  position: absolute;
  top: -10px;
  left: 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.day-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 4px;
}
.day-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.day-card ul { padding-left: 18px; }
.day-card li { font-size: 14px; color: var(--text-sec); margin-bottom: 4px; }

/* POI grid */
.poi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.poi-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.poi-icon { font-size: 24px; margin-bottom: 6px; }
.poi-card strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.poi-card p { font-size: 12px; color: var(--text-muted); margin: 0 0 6px; }
.poi-cost {
  display: inline-block;
  background: var(--olive-dim);
  color: var(--olive);
  border-radius: 100px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
}

/* Food / tips lists */
.food-list, .tips-list { padding-left: 20px; }
.food-list li, .tips-list li { font-size: 14px; color: var(--text-sec); margin-bottom: 8px; }
.food-list strong, .tips-list strong { color: var(--text); }

/* ── Bottom CTA banner ── */
.trip-cta-banner {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-text { color: #fff; }
.cta-text strong { display: block; font-size: 18px; font-family: 'Fredoka One', cursive; margin-bottom: 4px; }
.cta-text span { font-size: 13px; opacity: 0.85; }
.cta-btn {
  flex-shrink: 0;
  background: var(--gold);
  color: #7a3b00;
  border-radius: 100px;
  padding: 12px 24px;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.cta-btn:hover { opacity: 0.87; }

/* ── Affiliate buttons (same styling as main app) ── */
.rent-car-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 20px;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(249, 168, 37, 0.08), rgba(30, 136, 229, 0.06));
  border: 2px solid rgba(249, 168, 37, 0.30);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sec);
}
.rent-car-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: rgba(245, 166, 35, 0.12);
  border: 2px solid rgba(245, 166, 35, 0.32);
  border-radius: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.rent-car-btn:hover {
  background: rgba(249, 168, 37, 0.22);
  border-color: rgba(249, 168, 37, 0.55);
}
.accom-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 7px 12px;
  background: rgba(30, 136, 229, 0.08);
  border: 2px solid rgba(30, 136, 229, 0.25);
  border-radius: 10px;
  color: #1565c0;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.accom-book-btn:hover {
  background: rgba(30, 136, 229, 0.16);
  border-color: rgba(30, 136, 229, 0.50);
}
.gyg-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(255, 85, 51, 0.05);
  border: 2px solid rgba(255, 85, 51, 0.18);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sec);
}
.gyg-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: rgba(255, 85, 51, 0.10);
  border: 2px solid rgba(255, 85, 51, 0.30);
  border-radius: 10px;
  color: #ff7055;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.gyg-btn:hover {
  background: rgba(255, 85, 51, 0.20);
  border-color: rgba(255, 85, 51, 0.55);
}

/* ── Footer ── */
.page-footer {
  background: var(--surface);
  border-top: 1.5px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.page-footer a { color: var(--blue); font-weight: 700; text-decoration: none; }
.btn-tc-footer {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-tc-footer:hover { border-color: var(--blue); color: var(--blue); }

/* ── TC Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 50, 100, 0.72);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; backdrop-filter: blur(8px);
}
.modal-box {
  background: var(--surface);
  border: 2px solid rgba(30,136,229,0.40);
  border-radius: 24px; width: 440px; max-width: 95vw;
  box-shadow: 0 24px 60px rgba(30,136,229,0.18), 0 6px 20px rgba(0,0,0,0.12);
}
.tc-modal-box { width: 580px; max-height: 85vh; display: flex; flex-direction: column; }
.modal-header {
  padding: 30px 30px 22px; text-align: center;
  border-bottom: 2px solid var(--border);
  background: linear-gradient(180deg, rgba(30,136,229,0.08) 0%, transparent 100%);
  border-radius: 22px 22px 0 0; position: relative;
}
.modal-logo { font-size: 52px; margin-bottom: 10px; display: block; }
.modal-header h2 {
  font-family: 'Fredoka One', sans-serif; font-size: 28px; font-weight: 400; margin-bottom: 6px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.modal-header p { color: var(--text-sec); font-size: 13px; font-weight: 600; }
.tc-close-btn {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #f0f4f8; border: 2px solid var(--border);
  color: var(--text-sec); font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.tc-close-btn:hover { background: var(--surface); color: var(--text); }
.tc-modal-body {
  padding: 20px 28px; overflow-y: auto; flex: 1;
  display: flex; flex-direction: column; gap: 0;
  scrollbar-width: thin; scrollbar-color: var(--blue) transparent;
}
.tc-modal-body::-webkit-scrollbar { width: 5px; }
.tc-modal-body::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
.tc-section { padding: 14px 0; border-bottom: 1px solid var(--border); }
.tc-section:last-child { border-bottom: none; }
.tc-section h3 { font-size: 13px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.tc-section p { font-size: 13px; color: var(--text-sec); line-height: 1.65; margin-bottom: 6px; }
.tc-section p:last-child { margin-bottom: 0; }
.tc-section strong { color: var(--text); }
.tc-section-highlight {
  background: linear-gradient(135deg, rgba(245,166,35,0.06) 0%, rgba(74,159,226,0.04) 100%);
  border-radius: 10px; padding: 14px; border: 1px solid rgba(245,166,35,0.2) !important; margin: 4px 0;
}
.tc-partners-list { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 5px; }
.tc-partners-list li { font-size: 13px; color: var(--text-sec); padding: 5px 10px; background: rgba(30,136,229,0.04); border-radius: 6px; border-left: 3px solid var(--gold); }
.tc-partners-list li strong { color: var(--text); }
.tc-modal-footer { padding: 14px 28px 24px; }
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1a4bbf); color: #fff; border: none;
  border-radius: 10px; padding: 11px 18px; font-size: 14px; font-family: 'Nunito', sans-serif;
  font-weight: 900; cursor: pointer; width: 100%;
  box-shadow: 0 5px 0 #0f2d7a, 0 7px 0 rgba(0,0,0,0.3);
  transition: all 0.1s ease; letter-spacing: 0.3px;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #0f2d7a, 0 9px 0 rgba(0,0,0,0.3);
}
.btn-primary:active { transform: translateY(4px); box-shadow: 0 1px 0 #0f2d7a, 0 2px 0 rgba(0,0,0,0.3); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: 0 3px 0 #0a1e5a; }
