/* ==========================================================================
   SOLARA JOURNEYS — Design Tokens & Base Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600&display=swap');

/* ---- The Seasons (display serif) ---- */
@font-face {
  font-family: 'The Seasons';
  src: url('/fonts/TheSeasons-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'The Seasons';
  src: url('/fonts/TheSeasons-LightItalic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'The Seasons';
  src: url('/fonts/TheSeasons-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'The Seasons';
  src: url('/fonts/TheSeasons-Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'The Seasons';
  src: url('/fonts/TheSeasons-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'The Seasons';
  src: url('/fonts/TheSeasons-BoldItalic.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
}

/* ---- Parisienne (script accent) ---- */
@font-face {
  font-family: 'Parisienne';
  src: url('/fonts/Parisienne-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* Color tokens — pulled from the Solara Journeys brand palette */
  --navy: #274c77;
  --navy-deep: #1c3a5e;
  --steel: #3b638a;
  --dusty-blue: #a7c4cf;
  --sage: #6c7f6a;
  --sage-deep: #5e6f4b;
  --rose: #9a7e7a;
  --oat: #d5c1aa;
  --gold: #b8a27a;
  --cream: #f6f2ea;
  --sand: #e7e1d6;
  --ink: #2c2a26;
  --white: #ffffff;

  /* Type */
  --font-display: 'The Seasons', 'Times New Roman', serif;
  --font-script: 'Parisienne', cursive;
  --font-body: 'Jost', -apple-system, sans-serif;

  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.15; font-weight: 400; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}

.script {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--navy);
  font-weight: 400;
  line-height: 1;
}

p { font-size: 1.02rem; color: var(--ink); }

.lede {
  font-size: 1.18rem;
  font-weight: 300;
  color: #4a4740;
  max-width: 640px;
}

/* ---- Signature divider: the Solara mark, echoed as a recurring motif ---- */
.mark-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
}
.mark-divider .line { width: 56px; height: 1px; background: var(--gold); }
.mark-divider .diamond {
  width: 14px; height: 14px;
  background: var(--gold);
  transform: rotate(45deg);
  position: relative;
}
.mark-divider .diamond::before {
  content: '';
  position: absolute; inset: 3px;
  background: var(--cream);
}
.mark-divider.on-navy .line { background: var(--dusty-blue); }
.mark-divider.on-navy .diamond { background: var(--dusty-blue); }
.mark-divider.on-navy .diamond::before { background: var(--navy); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 15px 36px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn:hover { background: var(--navy); color: var(--cream); }
.btn.solid { background: var(--navy); color: var(--cream); }
.btn.solid:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn.on-navy { border-color: var(--dusty-blue); color: var(--cream); }
.btn.on-navy:hover { background: var(--dusty-blue); color: var(--navy-deep); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 234, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(39, 76, 119, 0.12);
  transition: padding 0.35s ease;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
  transition: padding 0.35s ease;
}
.site-header.scrolled .wrap { padding-top: 10px; padding-bottom: 10px; }

.logo-stack {
  position: relative;
  display: block;
  height: 54px;
  width: 305px; /* holds the widest state (full horizontal) so nav doesn't jump */
  transition: height 0.35s ease, width 0.35s ease;
}
.logo-stack img {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.35s ease;
}
.logo-full {
  height: 54px; width: auto;
  opacity: 1;
}
.logo-mini {
  height: 46px; width: auto;
  opacity: 0;
}
.site-header.scrolled .logo-stack { width: 46px; }
.site-header.scrolled .logo-full { opacity: 0; }
.site-header.scrolled .logo-mini { opacity: 1; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); font-weight: 500;
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--navy); margin: 6px 0; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(155deg, var(--dusty-blue) 0%, var(--steel) 55%, var(--navy) 100%);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  /* Color-wash overlay — keeps hero text readable over the video and ties the
     footage back into the brand palette instead of showing raw camera color */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(167,196,207,0.35) 0%, rgba(59,99,138,0.45) 55%, rgba(39,76,119,0.65) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  border: 1px solid rgba(246, 242, 234, 0.55);
  padding: 64px 56px;
  max-width: 680px;
  margin: 0 24px;
}
.hero-inner::before, .hero-inner::after {
  content: ''; position: absolute; width: 34px; height: 34px;
  border: 1px solid var(--gold);
}
.hero-inner::before { top: -10px; left: -10px; border-right: none; border-bottom: none; }
.hero-inner::after { bottom: -10px; right: -10px; border-left: none; border-top: none; }
.hero .eyebrow { color: var(--sand); margin-bottom: 18px; display: block; }
.hero h1 { color: var(--cream); }
.hero .script { color: var(--sand); margin-top: 6px; }
.hero p.lede { color: var(--sand); margin: 26px auto 34px; text-align: center; }

/* ---- Framed intro (invitation-style block) ---- */
.framed-section { padding: 120px 0 90px; }
.framed-box {
  border: 1px solid var(--gold);
  padding: 72px 64px;
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.framed-box::before {
  content: '';
  position: absolute; inset: 10px;
  border: 1px solid rgba(184, 162, 122, 0.4);
  pointer-events: none;
}
.framed-box .mark-divider { margin-bottom: 26px; }
.framed-box h2 { margin-bottom: 22px; }
.framed-box p { max-width: 560px; margin: 0 auto; color: #4a4740; }
.framed-box .signature {
  font-family: var(--font-script); font-size: 1.35rem; color: var(--rose);
  margin-top: 30px;
}

/* ---- Focus / services ---- */
.focus-section { padding: 90px 0 120px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.focus-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.focus-card {
  background: var(--white);
  border-top: 3px solid var(--sage);
  padding: 44px 32px 40px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.focus-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(39,76,119,0.12); }
.icon-slot {
  width: 104px; height: 104px; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--dusty-blue); border-radius: 50%;
  overflow: hidden;
}
.icon-slot img { max-width: 70px; max-height: 70px; width: auto; height: auto; object-fit: contain; opacity: 0.9; }
.focus-card h3 { margin-bottom: 12px; }
.focus-card p { font-size: 0.94rem; color: #5a5750; }
.focus-card .tag {
  display: inline-block; margin-top: 18px;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}

/* ---- Why us strip ---- */
.why-strip { background: var(--dusty-blue); padding: 80px 0; }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.why-grid .eyebrow { color: var(--navy-deep); }
.why-item h4 { font-size: 1.1rem; margin: 14px 0 8px; color: var(--navy-deep); }
.why-item p { font-size: 0.88rem; color: var(--navy-deep); opacity: 0.85; }

/* ---- Testimonials ---- */
.testimonial-section { padding: 120px 0; text-align: center; }
.testimonial-section .mark-divider { margin-bottom: 40px; }
.testimonial-quote {
  font-family: var(--font-display); font-style: normal; font-weight: 400;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  color: var(--navy); max-width: 760px; margin: 0 auto 26px;
  line-height: 1.5;
}
.testimonial-name { font-family: var(--font-script); font-size: 1.3rem; color: var(--rose); }

/* ---- Blog teaser ---- */
.blog-section { padding: 90px 0 130px; background: var(--sand); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.blog-card { background: var(--white); }
.blog-card .thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--dusty-blue), var(--steel));
}
.blog-card .content { padding: 26px 26px 30px; }
.blog-card .eyebrow { display: block; margin-bottom: 10px; }
.blog-card h3 { margin-bottom: 10px; }
.blog-card p { font-size: 0.9rem; color: #5a5750; }
.blog-card .read-more {
  display: inline-block; margin-top: 16px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); border-bottom: 1px solid var(--steel); padding-bottom: 2px;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--navy); color: var(--cream);
  text-align: center; padding: 110px 0;
}
.cta-banner .eyebrow { color: var(--dusty-blue); display: block; margin-bottom: 18px; }
.cta-banner h2 { color: var(--cream); margin-bottom: 30px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: var(--sand); padding: 70px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(246,242,234,0.15);
}
.footer-grid img { height: 60px; margin-bottom: 18px; }
.footer-grid img.footer-logo { height: 100px; margin-bottom: 20px; }
.footer-grid p { color: var(--sand); opacity: 0.75; font-size: 0.9rem; }
.footer-col h4 {
  color: var(--cream); font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 500;
}
.footer-col a { display: block; margin-bottom: 10px; font-size: 0.92rem; opacity: 0.85; }
.footer-col a:hover { opacity: 1; color: var(--dusty-blue); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: 0.78rem; opacity: 0.6; flex-wrap: wrap; gap: 12px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .focus-grid, .blog-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-links {
    position: fixed; top: 90px; right: 0; height: calc(100vh - 90px);
    background: var(--cream); flex-direction: column; padding: 40px;
    width: 260px; transform: translateX(100%); transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .framed-box { padding: 48px 28px; }
  .logo-stack { height: 40px; width: 226px; }
  .logo-full { height: 40px; }
  .logo-mini { height: 34px; }
  .site-header.scrolled .logo-stack { width: 34px; }
}

/* ---- Interior page hero (shorter than homepage hero) ---- */
.page-hero {
  background: linear-gradient(155deg, var(--dusty-blue) 0%, var(--steel) 60%, var(--navy) 100%);
  padding: 150px 0 90px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--sand); display: block; margin-bottom: 16px; }
.page-hero h1 { color: var(--cream); }
.page-hero p.lede { color: var(--sand); margin: 20px auto 0; text-align: center; }

/* ---- Two-column content (photo + text) ---- */
.split-section { padding: 110px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-media {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--dusty-blue), var(--steel));
  position: relative;
  overflow: hidden;
}
.split-media::after {
  content: 'Photo coming soon';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-family: var(--font-body); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75;
}
.split-media.filled::after { content: none; }
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.split-text .eyebrow { display: block; margin-bottom: 14px; }
.split-text h2 { margin-bottom: 20px; }
.split-text p + p { margin-top: 14px; }
.split-text .signature { font-family: var(--font-script); font-size: 1.35rem; color: var(--rose); margin-top: 24px; }
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }

/* ---- Values / icon row ---- */
.values-section { padding: 90px 0 120px; background: var(--sand); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.value-item { text-align: center; }
.value-item .icon-slot { background: var(--white); border-color: var(--gold); }
.value-item h4 { margin: 16px 0 8px; font-size: 1.05rem; }
.value-item p { font-size: 0.88rem; color: #5a5750; }

/* ---- Service detail blocks ---- */
.service-block { padding: 100px 0; border-bottom: 1px solid rgba(39,76,119,0.1); }
.service-block:last-of-type { border-bottom: none; }
.service-block .split { align-items: start; }
.service-block .icon-slot { width: 104px; height: 104px; margin-bottom: 24px; border-color: var(--gold); background: var(--white); }
.included-list { list-style: none; margin-top: 24px; }
.included-list li {
  padding-left: 26px; position: relative; margin-bottom: 12px;
  font-size: 0.95rem; color: #4a4740;
}
.included-list li::before {
  content: '✦'; position: absolute; left: 0; top: 1px;
  color: var(--gold); font-size: 0.8rem;
}

/* ---- Process steps (real sequence: how the planning process works) ---- */
.process-section { padding: 100px 0; background: var(--dusty-blue); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 60px; }
.process-step { text-align: center; position: relative; }
.process-step .step-num {
  font-family: var(--font-display); font-size: 1rem; color: var(--navy-deep);
  border: 1px solid var(--navy-deep); border-radius: 50%;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-weight: 500;
}
.process-step h4 { color: var(--navy-deep); margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: var(--navy-deep); opacity: 0.85; }

/* ---- Destinations grid ---- */
.destinations-section { padding: 100px 0 120px; }
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.dest-card { position: relative; overflow: hidden; aspect-ratio: 3/4; transition: transform 0.4s ease; }
.dest-card:hover { transform: scale(1.02); }
.dest-card .dest-media {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--dusty-blue), var(--navy));
}
.dest-card .dest-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.dest-card .dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,58,94,0.88) 0%, rgba(28,58,94,0.15) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px 26px;
}
.dest-card h3 { color: var(--cream); margin-bottom: 6px; }
.dest-card .dest-tag {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dusty-blue); font-weight: 500;
}

/* ---- Contact page ---- */
.contact-section { padding: 100px 0 130px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
.contact-form label {
  display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); font-weight: 500; margin-bottom: 8px;
}
.form-row { margin-bottom: 26px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 300;
  border: 1px solid rgba(39,76,119,0.3);
  background: var(--white);
  color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--navy);
}
.honeypot-field { position: absolute; left: -9999px; opacity: 0; }
.contact-side { background: var(--sand); padding: 48px 40px; }
.contact-side h3 { margin-bottom: 18px; }
.contact-side p { font-size: 0.94rem; color: #4a4740; margin-bottom: 14px; }
.contact-side .contact-detail { margin-top: 30px; }
.contact-side .contact-detail .eyebrow { display: block; margin-bottom: 6px; }
.contact-side .contact-detail a, .contact-side .contact-detail span { font-size: 0.95rem; }
.form-status { padding: 16px 20px; margin-bottom: 26px; font-size: 0.92rem; }
.form-status.success { background: rgba(108,127,106,0.15); color: var(--sage-deep); border: 1px solid var(--sage); }
.form-status.error { background: rgba(180,80,80,0.1); color: #9a3f3f; border: 1px solid #c98a8a; }

/* ---- Calendly booking section ---- */
.calendly-section {
  margin-top: 110px;
  padding-top: 90px;
  border-top: 1px solid rgba(39,76,119,0.1);
  text-align: center;
}
.calendly-section .mark-divider { margin-bottom: 36px; }
.calendly-section .section-head { margin-bottom: 40px; }
.calendly-inline-widget {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(39,76,119,0.12);
}

@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media, .split.reverse .split-text { order: 0; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .process-grid, .dest-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
}

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