/* ============================================================
   My Cruise Travel — Core Stylesheet
   Brand: Deep navy, sunset orange, ocean teal — logo-matched
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:         #0b1f35;   /* deep navy */
  --bg-card:    #102540;
  --bg-raised:  #163050;
  --accent:     #e8733a;   /* sunset orange (logo sun rays) */
  --accent-2:   #2ab8c8;   /* ocean teal (logo "Travel" + waves) */
  --text:       #f0ece4;
  --text-muted: #7a9bb5;
  --border:     rgba(255,255,255,0.09);
  --nav-h:      88px;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --radius:     8px;
  --max-w:      1100px;
  --section-py: 96px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

.serif-italic { font-style: italic; }
.accent       { color: var(--accent); }
.muted        { color: var(--text-muted); }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--bg-card); }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(253, 250, 245, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--accent-2);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav__logo img {
  height: 72px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  flex: 1;
  gap: 32px;
  align-items: center;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a6a85;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--bg); }

.nav__links li:last-child {
  margin-left: auto;
}
.nav__cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: opacity 0.2s !important;
}
.nav__cta:hover { opacity: 0.88; color: var(--bg) !important; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  margin-left: auto;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bg);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background-image: url('../images/golden-hour-hero.jpg');
  background-size: cover;
  background-position: center 40%;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,31,53,0.82) 0%, rgba(11,31,53,0.55) 60%, rgba(11,31,53,0.25) 100%),
    linear-gradient(to top, rgba(11,31,53,0.5) 0%, transparent 50%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  max-width: 760px;
  padding: 80px 0;
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero__title {
  margin-bottom: 28px;
}
.hero__body {
  font-size: 1.15rem;
  color: rgba(240, 236, 228, 0.88);
  max-width: 620px;
  line-height: 1.8;
}
.hero__body p { margin-bottom: 1em; }
.hero__body p:last-of-type { margin-bottom: 0; }

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn--outline {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(42,184,200,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-hero__title { margin-bottom: 20px; }
.page-hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  font-style: italic;
  font-family: var(--font-serif);
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 36px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(42,184,200,0.28);
  transform: translateY(-2px);
}
.card__icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  line-height: 1;
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.card__body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Grid helpers ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── Section headers ───────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header__title { margin-bottom: 16px; }
.section-header__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ── Credentials strip ─────────────────────────────────────── */
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.cred-badge strong { color: var(--text); font-weight: 500; }

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Pull quote ────────────────────────────────────────────── */
.pull-quote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 28px;
  margin: 40px 0;
}
.pull-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

/* ── Bio layout ────────────────────────────────────────────── */
.bio-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 32px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.bio-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
  border: 3px solid var(--accent-2);
}
.bio-card__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.bio-card__title {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.bio-card__body {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.bio-card .creds { flex-direction: column; gap: 10px; }
.bio-card .cred-badge { border-radius: var(--radius); }

/* ── Cruise line logo cards ────────────────────────────────── */
.cruise-line-card { text-align: left; }
.cruise-line-logo {
  display: block;
  width: 220px;
  height: 64px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius);
}

/* ── Prose body ────────────────────────────────────────────── */
.prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.prose p { margin-bottom: 1.4em; }
.prose strong { color: var(--text); font-weight: 600; }

/* ── Booking engine ────────────────────────────────────────── */
.booking-section {
  background: #f5f0ea !important;
  padding-top: 8px !important;
  padding-bottom: 64px !important;
}
.booking-section .section-header__eyebrow { color: var(--accent); }
.booking-section .section-header__title   { color: var(--bg); }
.booking-section .section-header__sub     { color: #4a6a85; }
.booking-frame {
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.booking-frame iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ── CTA band ──────────────────────────────────────────────── */
.cta-band {
  text-align: center;
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(232,115,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band__title { margin-bottom: 16px; }
.cta-band__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ── Contact form ──────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group--full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer__logo span { color: var(--accent); }
.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}
.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-py: 64px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-card { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section-py: 48px; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(253, 250, 245, 0.98);
    border-bottom: 2px solid var(--accent-2);
    padding: 24px;
    gap: 20px;
    z-index: 99;
  }
  .nav__toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .photo-grid { grid-template-columns: 1fr; }
  .selfie-strip { grid-template-columns: 1fr; }
  .photo-banner img { height: 260px; }
}

/* ── Photo-backed page heroes ──────────────────────────────── */
.page-hero--photo {
  background-size: cover;
  background-position: center;
  min-height: 420px;
}
.page-hero--photo::before {
  background: linear-gradient(to bottom, rgba(11,31,53,0.78) 0%, rgba(11,31,53,0.62) 100%);
}
.page-hero--photo .container {
  position: relative;
  z-index: 1;
}
.page-hero--photo .container::before {
  content: '';
  position: absolute;
  inset: -28px -32px;
  background: rgba(11,31,53,0.55);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  z-index: -1;
}
.page-hero--photo .page-hero__eyebrow,
.page-hero--photo .page-hero__title,
.page-hero--photo .page-hero__subtitle {
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.page-hero--photo .page-hero__subtitle {
  color: var(--text);
}
.page-hero--caribbean  { background-image: url('../images/curacao-waterfront.jpg'); background-position: center center; }
.page-hero--why-cruise { background-image: url('../images/palma-cathedral-ship.jpg'); background-position: center 30%; }
.page-hero--group      { background-image: url('../images/virgin-voyages-night.jpg'); background-position: center center; }
.page-hero--alaska     { background-image: url('../images/alaska-ship.jpg'); background-position: center center; }
.page-hero--about      { background-image: url('../images/about-hero.jpg'); background-position: center center; }
.page-hero--book {
  background-image: url('../images/book-hero.jpg');
  background-size: 50% auto;
  background-position: center top;
  background-color: #f5f0e8;
  background-repeat: no-repeat;
  padding: 0;
  min-height: 0;
  aspect-ratio: 1584 / 336;
  margin-top: var(--nav-h);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%, black 65%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%, black 65%, transparent 100%);
}

/* ── Photo grid (destination shots) ───────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.photo-grid__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.photo-grid__item:hover img { transform: scale(1.03); }
.photo-grid__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(11,31,53,0.85) 0%, transparent 100%);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* ── Photo banner break ────────────────────────────────────── */
.photo-banner { position: relative; overflow: hidden; }
.photo-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.photo-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,31,53,0.6) 0%, rgba(11,31,53,0.2) 60%, transparent 100%);
}
.photo-banner__text {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
}
.photo-banner__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--text);
  max-width: 500px;
  line-height: 1.6;
}

/* ── Travel selfie strip ───────────────────────────────────── */
.selfie-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}
.selfie-strip__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.selfie-strip__item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.selfie-strip__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(11,31,53,0.85) 0%, transparent 100%);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
