/* =========================================================
   Craystar Travel Agency — Landing Pages Shared Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --ink: #0f1626;
  --ink-soft: #2a3349;
  --paper: #fbf8f3;
  --paper-warm: #f3ede0;
  --line: rgba(15, 22, 38, 0.12);
  --muted: #6b7488;

  /* Brand accents — overridden per page */
  --accent: #c9a14a;
  --accent-deep: #8a6a1f;
  --hero-from: #0a1733;
  --hero-to: #1d2a52;
  --hero-text: #fbf8f3;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- Top Bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600; font-size: 20px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 12px;
}
.brand-logo {
  height: 100px; width: 100px; display: block;
}
.brand-text {
  display: none; /* logo image already contains the wordmark */
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: grid; place-items: center;
  color: var(--paper); font-size: 14px; font-weight: 700;
  font-family: var(--font-body);
}
.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: color .2s ease;
}
.nav a:hover { color: var(--accent-deep); }
.nav .cta {
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600;
}
.nav .cta:hover { background: var(--accent-deep); color: var(--paper); }
@media (max-width: 720px) {
  .nav { gap: 14px; }
  .nav a:not(.cta) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,255,255,0.08), transparent 80%),
    linear-gradient(135deg, var(--hero-from), var(--hero-to));
  color: var(--hero-text);
  padding: 96px 28px 120px;
}
.hero.hero-with-image {
  background:
    linear-gradient(135deg, rgba(35, 52, 103, 0.78), rgba(46, 62, 113, 0.55)),
    var(--hero-bg, enabled);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; opacity: .6;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  position: relative; z-index: 1;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 12px; font-weight: 600;
  color: var(--accent);
  margin-bottom: 22px;
  padding: 6px 14px; border: 1px solid rgba(201, 161, 74, 0.4); border-radius: 999px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05; letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic; font-weight: 400;
  color: var(--accent);
}
.hero p.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 56ch;
  color: rgba(241, 156, 8, 0.82);
  margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--accent); color: var(--ink);
}
.btn-primary:hover { transform: translateY(-1px); background: #e0b95a; }
.btn-ghost {
  background: transparent; color: var(--hero-text);
  border: 1px solid rgba(251, 248, 243, 0.4);
}
.btn-ghost:hover { background: rgba(251, 248, 243, 0.08); }

/* ---------- Section base ---------- */
section.block { padding: 96px 28px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 12px; font-weight: 700;
  color: var(--accent-deep); margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1; letter-spacing: -0.015em;
  color: var(--ink);
}
.section-head p {
  margin-top: 16px; color: var(--muted);
  font-size: 18px; max-width: 60ch;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -20px rgba(15, 22, 38, 0.18);
  border-color: var(--accent);
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--paper-warm); color: var(--accent-deep);
  display: grid; place-items: center;
  font-size: 22px; margin-bottom: 18px;
}
.card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: -0.01em;
  margin-bottom: 10px; color: var(--ink);
}
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.card .more {
  margin-top: 20px; font-size: 14px; font-weight: 600;
  color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 6px;
}
.card .more::after { content: '→'; transition: transform .15s ease; }
.card:hover .more::after { transform: translateX(4px); }
.stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card {
  position: relative;
}

.card h3,
.card p,
.card span {
  position: relative;
  z-index: 2; /* keeps text above clickable layer */
}

/* ---------- Perks strip ---------- */
.perks {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.perks .grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.perk h4 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; margin-bottom: 8px; color: var(--ink);
}
.perk p { color: var(--ink-soft); font-size: 14.5px; }
.perk .num {
  font-family: var(--font-display); font-style: italic;
  font-size: 36px; color: var(--accent-deep);
  margin-bottom: 10px; font-weight: 400;
}

/* ---------- Split / feature ---------- */
.split {
  display: grid; gap: 56px;
  grid-template-columns: 1.1fr 1fr; align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1;
  margin-bottom: 18px; letter-spacing: -0.015em;
}
.split p { color: var(--ink-soft); margin-bottom: 14px; }
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px; color: var(--ink-soft);
}
.checklist li::before {
  content: '✓'; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.feature-card {
  background: linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: var(--paper);
  padding: 44px 36px; border-radius: 24px;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute;
  top: -40%; right: -20%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: .35;
}
.feature-card .quote {
  font-family: var(--font-display); font-style: italic;
  font-weight: 400; font-size: 22px; line-height: 1.4;
  position: relative;
}
.feature-card .attr {
  margin-top: 24px; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); position: relative;
}

/* ---------- CTA Block ---------- */
.cta-block {
  background: var(--ink); color: var(--paper);
  padding: 96px 28px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 161, 74, 0.18), transparent 60%);
}
.cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-block h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1;
  margin-bottom: 18px; letter-spacing: -0.015em;
}
.cta-block h2 em { font-style: italic; color: var(--accent); }
.cta-block p {
  color: rgba(251, 248, 243, 0.78);
  font-size: 18px; margin-bottom: 32px;
}
.cta-block .meta {
  margin-top: 20px; font-size: 13px;
  color: rgba(251, 248, 243, 0.5);
  letter-spacing: 0.06em;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--paper-warm);
  padding: 64px 28px 32px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; gap: 36px;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer h5 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px; margin-bottom: 14px; color: var(--ink);
}
.footer .brand-logo { height: 50px; width: 50px; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--ink-soft); font-size: 18px; }
.footer a:hover { color: var(--accent-deep); }
.footer .tag {
  font-family: var(--font-display); font-style: italic;
  color: var(--ink-soft); font-size: 20px; margin-top: 8px;
  max-width: 28ch;
}
.footer .legal {
  max-width: 1100px; margin: 40px auto 0;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px; /* space between icon and text */
  font-size: 16px; /* adjust size here */
}

.contact-icon {
  font-size: 18px; /* slightly bigger than text */
}

.contact-item a {
  color: #000; /* or your theme color */
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}
/* ---------- Per-page accent overrides ---------- */
.theme-disney {
  --accent: #d4af37;
  --accent-deep: #8c6a14;
  --hero-from: #0a1f4f;
  --hero-to: #1e3a8a;
}
.theme-universal {
  --accent: #f5b942;
  --accent-deep: #a26b00;
  --hero-from: #0d0d12;
  --hero-to: #2a1810;
}
.theme-cruises {
  --accent: #f0b07c;
  --accent-deep: #b56b35;
  --hero-from: #0b2540;
  --hero-to: #154673;
}
.theme-resorts {
  --accent: #e8b86a;
  --accent-deep: #9c6b1f;
  --hero-from: #1a3328;
  --hero-to: #2d5443;
}
.theme-hub {
  --accent: #c9a14a;
  --accent-deep: #8a6a1f;
  --hero-from: #14182a;
  --hero-to: #2d3556;
}

/* ---------- Animations ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow { animation: rise .7s ease both; }
.hero h1 { animation: rise .8s .1s ease both; }
.hero p.lede { animation: rise .8s .25s ease both; }
.hero-ctas { animation: rise .8s .4s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
