/* ---------- GSAdventures — Greg & Seanna's Adventures ---------- */
/* A warm, journal-style travel site. Tropical sand + ocean palette. */

:root {
  --sand: #FBF6EE;
  --sand-deep: #F0E5D1;
  --paper: #FFFDF8;
  --ink: #2A2723;
  --ink-soft: #5C544C;
  --terracotta: #B7522D;
  --terracotta-deep: #8E3E20;
  --ocean: #1F4F4A;
  --ocean-deep: #133533;
  --gold: #D9A24A;
  --shadow: 0 12px 32px rgba(40, 28, 16, 0.12);
  --shadow-soft: 0 4px 16px rgba(40, 28, 16, 0.08);
  --serif-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --serif-body: 'Lora', 'Source Serif Pro', Georgia, serif;
  --hand: 'Caveat', 'Brush Script MT', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--terracotta-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ocean); }

h1, h2, h3, h4 {
  font-family: var(--serif-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

.handwritten {
  font-family: var(--hand);
  font-size: 1.4em;
  color: var(--terracotta);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--serif-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--ocean);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 760px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(40, 28, 16, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
}
.brand .brand-mark {
  font-family: var(--hand);
  color: var(--terracotta);
  font-size: 1.6rem;
  line-height: 1;
}
.brand:hover { color: var(--ocean); }

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-size: 0.98rem;
  position: relative;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--serif-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--terracotta-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ocean {
  background: var(--ocean);
  color: #fff;
}
.btn-ocean:hover { background: var(--ocean-deep); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) saturate(1.05);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,53,51,0.2) 0%, rgba(40,28,16,0.6) 100%);
}
.hero-inner {
  position: relative;
  padding: 0 0 4rem;
  max-width: 760px;
}
.hero h1 {
  color: #fff;
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero .lede {
  font-size: 1.25rem;
  max-width: 560px;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.92);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Upper-right stack on hero: holds Cruise Brothers badge + travel-agent benefits card */
.cb-stack {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 280px;
}

/* Cruise Brothers affiliation badge */
.cb-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.cb-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(40, 28, 16, 0.18);
}
.cb-badge .cb-prefix {
  display: block;
  font-family: var(--serif-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ocean);
  font-weight: 600;
  text-align: center;
  width: 100%;
}
.cb-badge .cb-cta {
  display: block;
  font-family: var(--serif-display);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
  text-align: center;
  width: 100%;
  margin-top: 0.15rem;
}
.cb-badge .cb-url {
  display: block;
  font-family: var(--serif-body);
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
  margin-top: 0.05rem;
  text-decoration: underline;
  text-decoration-color: rgba(40,28,16,0.25);
  text-underline-offset: 2px;
}
.cb-badge:hover .cb-url { text-decoration-color: var(--terracotta); }
@media (max-width: 700px) {
  .cb-badge .cb-cta { font-size: 0.82rem; }
  .cb-badge .cb-url { font-size: 0.65rem; }
}
.cb-badge img {
  display: block;
  max-width: 180px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 700px) {
  .cb-stack { top: 0.8rem; right: 0.8rem; width: 200px; gap: 0.6rem; }
  .cb-badge { padding: 0.5rem 0.6rem; }
  .cb-badge .cb-prefix { font-size: 0.6rem; }
  .cb-badge img { max-width: 120px; max-height: 46px; }
}

/* Travel-agent benefits mini-card — sits diagonally below the badge */
.cb-benefits {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 0.9rem 1.05rem 1rem;
  box-shadow: var(--shadow);
  position: relative;
}
/* Decorative connector that visually links the badge above to this card,
   reinforcing the diagonal stack */
.cb-benefits::before {
  content: '';
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: -2px -2px 6px rgba(40,28,16,0.05);
}
.cb-benefits-title {
  font-family: var(--serif-display);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.55rem;
  line-height: 1.25;
  text-align: center;
}
.cb-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.7rem;
  display: grid;
  gap: 0.3rem;
}
.cb-benefits-list li {
  padding-left: 1.05rem;
  position: relative;
  font-family: var(--serif-body);
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink);
}
.cb-benefits-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold);
  font-size: 0.85rem;
}
.cb-benefits-link {
  display: block;
  text-align: center;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--terracotta);
  text-decoration: none;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(40,28,16,0.1);
  margin-top: 0.2rem;
}
.cb-benefits-link:hover {
  color: var(--terracotta-deep);
  text-decoration: underline;
}
@media (max-width: 700px) {
  .cb-benefits { display: none; }
}

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
section.tight { padding: 3.5rem 0; }
section.dark {
  background: var(--ocean-deep);
  color: var(--sand);
}
section.dark h2, section.dark h3 { color: var(--sand); }
section.dark .eyebrow { color: var(--gold); }

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head .eyebrow { display: inline-block; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Card grid ---------- */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .card-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.card .card-body {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card .card-meta {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.card .card-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--terracotta);
}
.card .card-link::after { content: ' →'; transition: margin .2s; display: inline-block; }
.card:hover .card-link::after { margin-left: 6px; }

/* ---------- Featured story (big horizontal) ---------- */
.featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--paper);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}
.featured-img {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.featured h2 { margin-bottom: 0.8rem; }
.featured p { color: var(--ink-soft); }
@media (max-width: 800px) {
  .featured { grid-template-columns: 1fr; padding: 1.5rem; }
}

/* ---------- Quote / pull-quote ---------- */
.pullquote {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.4;
  border-left: 3px solid var(--terracotta);
  padding: 0.4em 1.4em;
  margin: 2.5em 0;
  color: var(--ink);
}
.pullquote .attribution {
  display: block;
  font-family: var(--hand);
  font-style: normal;
  color: var(--terracotta);
  font-size: 1.2rem;
  margin-top: 0.4em;
}

/* ---------- Article (journal post) ---------- */
.article-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.article-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%);
}
.article-hero .container {
  position: relative;
  padding-bottom: 3.5rem;
  z-index: 1;
}
.article-hero h1 {
  color: #fff;
  font-weight: 400;
  max-width: 800px;
}
.article-hero .meta {
  font-family: var(--serif-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.8;
}
.prose p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-size: 4.2rem;
  float: left;
  line-height: 0.9;
  padding: 0.1em 0.12em 0 0;
  color: var(--terracotta);
  font-weight: 500;
}
.prose h2 {
  margin-top: 2.5em;
  font-size: 1.9rem;
}
.prose h2 .handwritten {
  display: block;
  font-size: 0.7em;
  margin-bottom: 0.2em;
  color: var(--terracotta);
}
.prose figure { margin: 2.5em 0; }
.prose figure img { border-radius: 10px; box-shadow: var(--shadow); }
.prose figcaption {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 0.7em;
}

/* Photo gallery */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.8rem;
  margin: 2.5em 0;
}
.gallery > div {
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}
.gallery > div:first-child { grid-row: span 2; aspect-ratio: 4/5; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery > div:first-child { grid-row: span 1; aspect-ratio: 4/3; grid-column: span 2; }
}

/* Video embed */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin: 2.5em 0;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean));
  font-family: var(--serif-display);
  text-align: center;
  padding: 1rem;
}
.video-placeholder .play {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

/* Quick facts box */
.facts {
  background: var(--sand-deep);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  margin: 2.5em 0;
  font-size: 0.98rem;
}
.facts h3 {
  font-family: var(--serif-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ocean);
  margin-bottom: 1rem;
}
.facts dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.6rem 1rem;
  margin: 0;
}
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-soft); }

/* ---------- Plan / form ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 800px) { .plan-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.value-list { list-style: none; padding: 0; margin: 0; }
.value-list li {
  padding-left: 2.4rem;
  position: relative;
  margin-bottom: 1.4rem;
}
.value-list li::before {
  content: '✦';
  position: absolute;
  left: 0; top: -2px;
  color: var(--gold);
  font-size: 1.4rem;
}
.value-list strong { color: var(--ink); display: block; margin-bottom: 0.2em; }

form.contact {
  display: grid;
  gap: 1rem;
  background: var(--paper);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}
form.contact label {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean);
  font-weight: 600;
}
form.contact input,
form.contact select,
form.contact textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(40,28,16,0.18);
  border-radius: 8px;
  background: var(--sand);
  font-family: var(--serif-body);
  font-size: 1rem;
  color: var(--ink);
  margin-top: 0.4rem;
}
form.contact input:focus,
form.contact textarea:focus,
form.contact select:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
  background: #fff;
}
form.contact textarea { min-height: 130px; resize: vertical; }

/* ---------- About ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}
.about-hero .portrait {
  aspect-ratio: 4/5;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
@media (max-width: 800px) { .about-hero { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ocean-deep);
  color: rgba(251,246,238,0.85);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.site-footer h4 {
  color: var(--gold);
  font-family: var(--serif-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(251,246,238,0.85); }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(251,246,238,0.55);
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Mobile nav ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--sand);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
}
