/* Travel Too Easy — design tokens
   Distinct from the donor pattern (warm terracotta/gold, Playfair Display serif):
   this is a brighter, rounder, "family-trip-that-actually-works" identity —
   coral + sunny yellow against a deep teal anchor, Fredoka display type. */

:root {
  --primary: #e2662d;
  --primary-dark: #b84f1f;
  --secondary: #ffb703;
  --teal: #1f6f78;
  --teal-dark: #154e55;
  --bg-light: #fff8ee;
  --bg-white: #ffffff;
  --text-dark: #262321;
  --text-light: #6b625c;
  --border-color: #f0e2d0;
  --success: #3f8f5f;

  --shadow-sm: 0 1px 3px rgba(38, 35, 33, 0.08);
  --shadow-md: 0 6px 20px rgba(38, 35, 33, 0.10);
  --shadow-lg: 0 16px 40px rgba(38, 35, 33, 0.14);

  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;

  --font-heading: "Fredoka", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; color: var(--teal-dark); }

p { margin: 0 0 1em; color: var(--text-light); }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--primary); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal-dark);
}
.logo span { color: var(--primary); }

.nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }

.nav-item { position: relative; }
.nav-caret { font-size: 0.65em; margin-left: 3px; opacity: 0.7; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 10px 0 0;
  padding: 8px;
  list-style: none;
  min-width: 190px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 60;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { display: block; }
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}
.nav-dropdown a:hover { background: var(--bg-light); color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1.02rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn-secondary:hover { background: var(--teal); color: #fff; }

.btn-outline {
  background: var(--bg-white);
  border-color: var(--border-color);
  color: var(--text-dark);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  background-size: cover;
  background-position: center 62%;
  color: #fff;
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
/* Photo heroes keep the teal identity as a wash over the image, so the type
   stays readable no matter how bright the sky in the photo is. */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(21,78,85,0.92) 0%, rgba(21,78,85,0.74) 48%, rgba(21,78,85,0.32) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.18);
}
.hero-inner { max-width: 640px; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: var(--secondary);
  color: var(--text-dark);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--teal-dark);
  background-size: cover;
  background-position: center 58%;
  color: #fff;
  padding: 76px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,78,85,0.72) 0%, rgba(21,78,85,0.86) 100%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; }
.page-header p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-white); }
.section-title { font-size: 1.9rem; margin-bottom: 0.3em; }
.section-subtitle { color: var(--text-light); max-width: 560px; margin-bottom: 40px; }
.section-head { margin-bottom: 40px; }

/* ---------- Family Fit badges (signature element) ---------- */
.family-fit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.family-fit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fdece0;
  color: var(--primary-dark);
  border: 1px solid #f6d5b8;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}
.family-fit-badge .icon { font-size: 1rem; }

/* ---------- Cards: hotels / cities ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.hotel-card, .city-card, .blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.hotel-card:hover, .city-card:hover, .blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--primary);
  color: inherit;
}
.hotel-card:hover h3, .city-card:hover h3, .blog-card:hover h3 { color: var(--primary); }

.hotel-card-image, .city-card-image {
  height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.tier-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(31, 111, 120, 0.92);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.tier-badge--splurge { background: rgba(226, 102, 45, 0.95); }
.tier-badge--mid { background: rgba(31, 111, 120, 0.92); }
.tier-badge--budget { background: rgba(255, 183, 3, 0.95); color: var(--text-dark); }
.hotel-card-body, .city-card-body, .blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.hotel-card-body h3, .city-card-body h3, .blog-card-body h3 { margin-bottom: 4px; }
.hotel-neighborhood { color: var(--text-light); font-size: 0.88rem; margin-bottom: 10px; }

/* Alexandra's one-liner on a listing card */
.card-hook {
  font-style: italic;
  color: var(--teal-dark);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--secondary);
}

/* City cards get more room to breathe than hotel cards */
.city-grid { gap: 40px; }
.city-tagline { font-weight: 600; color: var(--text-dark); margin-bottom: 10px; }
.city-blurb { color: var(--text-light); font-size: 0.94rem; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.city-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
  padding: 10px 0 16px;
  border-top: 1px solid var(--border-color);
}
.hotel-price { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--teal-dark); }
.hotel-price span { color: var(--text-light); font-weight: 400; font-size: 0.85rem; }

/* ---------- Homepage story ---------- */
.story-block {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.story-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 55% 40%;
  display: block;
  margin: 0 auto 22px;
  box-shadow: var(--shadow-md);
}
.story-byline {
  font-size: 0.86rem;
  color: var(--text-light);
  margin-bottom: 26px;
}
.story-block h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.2; margin-bottom: 22px; }
.story-block p { margin-bottom: 1.1em; }
.story-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.story-quote {
  margin: 30px auto;
  padding: 18px 0 0;
  border-top: 3px solid var(--secondary);
  max-width: 30ch;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--teal-dark);
}

/* ---------- Alexandra's take, on a hotel page ---------- */
.author-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin: 28px 0;
}
.author-note img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-note-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.author-note p { margin: 0; font-style: italic; line-height: 1.65; }

/* ---------- About page refinements ---------- */
.author-prose p { max-width: 62ch; }
.feature-list-split {
  columns: 2;
  column-gap: 48px;
  max-width: 900px;
  margin-inline: auto;
}
.feature-list-split li { break-inside: avoid; }

/* ---------- Blog ---------- */
.blog-card-image { height: 190px; background-size: cover; background-position: center; }
.blog-meta { color: var(--text-light); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 8px; }
.blog-excerpt { flex: 1; }
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article h2 { margin-top: 1.5em; }
.blog-article p { color: var(--text-dark); font-size: 1.03rem; }
.hotel-published { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 8px; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.1rem; color: var(--primary); font-weight: 600; }
.stat-label { color: var(--text-light); font-size: 0.9rem; }

/* ---------- Hotel review page ---------- */
.hotel-hero {
  height: 420px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}
/* The title sits around two thirds down, where a plain 0.15-to-0.85 ramp is
   still too light over a bright sky. Darken the band the text actually lands
   on rather than the whole image. */
.hotel-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(21,78,85,0.20) 0%,
    rgba(21,78,85,0.52) 45%,
    rgba(21,78,85,0.90) 100%);
}
.hotel-hero-content { position: relative; z-index: 1; color: #fff; padding: 40px 0; width: 100%; }
.hotel-hero-content h1 { color: #fff; }
.hotel-hero-content .hotel-location { color: rgba(255,255,255,0.85); }

.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0;
}
.hotel-gallery img { height: 220px; width: 100%; object-fit: cover; border-radius: var(--radius-sm); }

.hotel-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.feature-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.feature-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-dark);
}
.feature-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--success);
  font-weight: 700;
}

.distance-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.distance-list li {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
}
.distance-list li span { color: var(--text-light); }

.hotel-sidebar { position: sticky; top: 96px; }
.booking-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.price-display { font-family: var(--font-heading); font-size: 1.9rem; color: var(--teal-dark); font-weight: 600; }
.price-note { color: var(--text-light); font-size: 0.9rem; margin-bottom: 18px; }
.booking-card .btn { margin-bottom: 10px; }
.affiliate-disclosure { font-size: 0.78rem; color: var(--text-light); font-style: italic; margin-top: 14px; }

.key-info-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--border-color); padding-top: 16px; }
.key-info-list li { font-size: 0.88rem; margin-bottom: 8px; color: var(--text-light); }
.key-info-list strong { color: var(--text-dark); }

.back-link { display: inline-block; margin-top: 24px; font-weight: 600; }

/* ---------- Why choose section ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
}
.value-card:nth-child(4n+2) { border-top-color: var(--teal); }
.value-card:nth-child(4n+3) { border-top-color: var(--secondary); }
.value-card:nth-child(4n+4) { border-top-color: var(--success); }
.value-card .icon { font-size: 1.8rem; margin-bottom: 10px; display: block; }

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.9); max-width: 480px; margin: 0 auto 24px; }

/* ---------- About / author ---------- */
.author-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.author-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
/* The portrait file is only 180px wide, narrower than its column, so without
   this it leaves a white strip inside the rounded frame. */
.author-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* Four stats will not fit side by side in the 220px column — they overlap.
   Two rows of two, and the numbers scale down with the column. */
.author-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 14px;
  margin-top: 24px;
}
.author-stats .stat-number { font-size: 1.8rem; line-height: 1.1; }
.author-stats .stat-label { font-size: 0.8rem; line-height: 1.35; }

/* ---------- Footer ---------- */
.footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
  margin-top: 40px;
}
.footer a { color: rgba(255,255,255,0.85); }
.footer a:hover { color: var(--secondary); }
.footer p { color: rgba(255,255,255,0.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer h4 { color: #fff; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Coming soon ---------- */
.coming-soon-card {
  background: var(--bg-white);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  opacity: 0.75;
}
.coming-soon-card .flag { font-size: 1.8rem; }
.coming-soon-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
  background: var(--bg-light);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hotel-info-grid { grid-template-columns: 1fr; }
  .hotel-sidebar { position: static; }
  .author-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-avatar { width: 92px; height: 92px; }
  .feature-list-split { columns: 1; }
  .city-grid { gap: 28px; }
}
@media (max-width: 640px) {
  .nav-menu { display: none; }
  h1 { font-size: 2rem; }
  .hotel-gallery { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 70px; }
  .footer-grid { grid-template-columns: 1fr; }
  .author-note { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}
