/* ============================================
   KURMA RESET — Shared Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --linen: #f4ede0;
  --clay: #c4956a;
  --bark: #3d2e1e;
  --moss: #4a6741;
  --muted: #6b5040;
  --linen-soft: #faf6ed;
  --clay-soft: #d9b890;

  --font-display: 'Cormorant Garamond', 'Palatino Linotype', Palatino, Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--bark);
  background: var(--linen);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; transition: opacity 0.3s ease; }
a:hover { opacity: 0.7; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  color: var(--bark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: 0.01em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1.2em; font-weight: 300; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 400;
}

em { font-style: italic; color: var(--clay); }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 2rem; }
.wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

section { padding: 6rem 0; }

.divider {
  width: 48px;
  height: 1px;
  background: var(--clay);
  margin: 2.5rem auto;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 237, 224, 0);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(244, 237, 224, 0.96);
  padding: 1rem 2.5rem;
  box-shadow: 0 1px 0 rgba(196, 149, 106, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--linen);
  letter-spacing: 0.04em;
  transition: color 0.4s ease;
}
.nav-logo span { color: var(--clay); }
.nav.scrolled .nav-logo { color: var(--bark); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--linen);
  font-weight: 300;
  transition: color 0.4s ease;
}

.nav.scrolled .nav-links a { color: var(--bark); }

.nav-cta {
  background: var(--clay);
  color: var(--linen) !important;
  padding: 0.7rem 1.4rem;
  font-size: 0.72rem !important;
  letter-spacing: 0.2em !important;
  border-radius: 1px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.nav-cta:hover { background: var(--bark); opacity: 1; }

.nav-toggle { display: none; background: none; border: none; color: var(--linen); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--clay);
  color: var(--linen);
  padding: 1.1rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  border-radius: 1px;
  border: 1px solid var(--clay);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.btn:hover { background: var(--bark); border-color: var(--bark); opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--bark);
  border: 1px solid var(--bark);
}
.btn-outline:hover { background: var(--bark); color: var(--linen); }

.btn-light {
  background: transparent;
  color: var(--linen);
  border: 1px solid var(--linen);
}
.btn-light:hover { background: var(--linen); color: var(--bark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: var(--linen);
}

.hero-media {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(61, 46, 30, 0.25) 0%,
    rgba(61, 46, 30, 0.45) 60%,
    rgba(61, 46, 30, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 2rem;
  max-width: 900px;
}

.hero h1 {
  color: var(--linen);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(61, 46, 30, 0.3);
}

.hero p.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--linen);
  margin-bottom: 2.5rem;
  opacity: 0.92;
}

/* ---------- Sections ---------- */
.section-eyebrow {
  text-align: center;
  margin-bottom: 1.5rem;
  display: block;
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-intro {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--bark);
  line-height: 1.55;
}

/* ---------- Symptom block ---------- */
.symptom-block {
  background: var(--linen-soft);
  padding: 5rem 0;
}

.symptom-block p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
}

.symptom-block p strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--bark);
  font-size: 1.15rem;
}

/* ---------- Pillars ---------- */
.pillars { padding: 6rem 0; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pillar {
  position: relative;
  overflow: hidden;
  background: var(--bark);
  border-radius: 2px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--linen);
  padding: 2.5rem;
  transition: transform 0.5s ease;
}

.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(61, 46, 30, 0.2) 0%, rgba(61, 46, 30, 0.85) 100%);
  z-index: 2;
}

.pillar-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.7s ease;
}

.pillar:hover .pillar-bg { transform: scale(1.05); }

.pillar-content {
  position: relative;
  z-index: 3;
}

.pillar h3 {
  color: var(--linen);
  margin-bottom: 0.8rem;
}

.pillar p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  opacity: 0.85;
  line-height: 1.6;
}

.pillar-link {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 400;
}

.pillar.featured { grid-column: span 2; min-height: 440px; }

/* ---------- About teaser (Meet Robin) ---------- */
.about-teaser {
  background: var(--linen-soft);
  padding: 7rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--clay-soft);
}

.about-image img {
  width: 100%; height: 100%; object-fit: cover;
}

.about-content .eyebrow { margin-bottom: 1rem; }
.about-content h2 { margin-bottom: 2rem; text-align: left; }
.about-content p { font-size: 1.05rem; line-height: 1.85; }

/* ---------- CTA block ---------- */
.cta-block {
  background: var(--bark);
  color: var(--linen);
  padding: 7rem 0;
  text-align: center;
}

.cta-block h2 { color: var(--linen); }
.cta-block p { color: var(--linen); opacity: 0.85; font-size: 1.1rem; max-width: 540px; margin: 1.5rem auto 2.5rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bark);
  color: var(--linen);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(196, 149, 106, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--clay); }

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  opacity: 0.7;
  max-width: 320px;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.2rem;
  font-style: normal;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; font-size: 0.9rem; opacity: 0.85; }

.footer-bottom {
  border-top: 1px solid rgba(196, 149, 106, 0.15);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
  letter-spacing: 0.1em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* Nav & hamburger */
  .nav { padding: 1rem 1.25rem; }
  .nav-logo { font-size: 1.4rem; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--linen); flex-direction: column; padding: 1.5rem; gap: 1.2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--bark); font-size: 0.85rem; padding: 0.5rem 0; }
  .nav-toggle { display: block; color: var(--linen); font-size: 1.5rem; }
  .nav.scrolled .nav-toggle { color: var(--bark); }
  .nav-cta { display: inline-block; padding: 0.6rem 1rem !important; }

  /* Section spacing */
  section { padding: 4rem 0; }
  .container, .narrow, .wide { padding: 0 1.25rem; }

  /* Hero */
  .hero { min-height: 550px; height: 90vh; }
  .hero-content { padding: 0 1.5rem; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .hero p.hero-sub { font-size: clamp(1.1rem, 4vw, 1.4rem); margin-bottom: 2rem; }

  /* Buttons — bigger tap targets on mobile */
  .btn { padding: 1rem 1.8rem; font-size: 0.8rem; display: inline-block; }

  /* Pillars — stack single column */
  .pillars { padding: 4rem 0; }
  .pillar-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pillar.featured { grid-column: span 1; min-height: 320px; }
  .pillar { min-height: 300px; padding: 2rem; }
  .pillar h3 { font-size: 1.5rem; }

  /* About / Meet Robin */
  .about-teaser { padding: 4rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { aspect-ratio: 4/5; max-width: 100%; }
  .about-content h2 { text-align: center; font-size: 1.8rem; margin-bottom: 1.5rem; }
  .about-content p { font-size: 1rem; line-height: 1.75; }

  /* Sections */
  .section-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .section-intro { font-size: 1.15rem; margin-bottom: 2rem; padding: 0 1rem; }

  /* CTA blocks */
  .cta-block { padding: 4.5rem 0; }
  .cta-block h2 { font-size: 1.8rem; }
  .cta-block p { font-size: 1rem; }

  /* Symptom block */
  .symptom-block { padding: 3.5rem 0; }
  .symptom-block p { font-size: 1rem; line-height: 1.75; }

  /* Footer */
  .footer { padding: 3rem 0 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; margin-bottom: 2rem; }
  .footer-logo { font-size: 1.5rem; }
  .footer-tagline { margin: 0 auto; }
  .footer h4 { margin-bottom: 0.8rem; }
  .footer li { font-size: 0.95rem; }

  /* Typography */
  h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  h2 { font-size: clamp(1.7rem, 6vw, 2.3rem); }
  h3 { font-size: 1.4rem; }
  p { font-size: 1rem; }
}

/* Extra tightening for small phones */
@media (max-width: 480px) {
  section { padding: 3rem 0; }
  .container, .narrow, .wide { padding: 0 1rem; }
  .hero { min-height: 500px; }
  .hero-content { padding: 0 1rem; }
  .btn { padding: 0.9rem 1.4rem; width: auto; }
  .pillar { min-height: 260px; padding: 1.75rem; }
  .about-teaser { padding: 3rem 0; }
  .about-content p { font-size: 0.98rem; }
  .footer-grid { gap: 1.75rem; }
  .footer-bottom { font-size: 0.7rem; }
}

/* Universal mobile overrides for page-specific heroes (defined inline in each page) */
@media (max-width: 900px) {
  header.page-hero, section.page-hero {
    height: 70vh !important;
    min-height: 460px !important;
  }
  header.page-hero h1, section.page-hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.4rem) !important;
  }
  header.page-hero .hero-meta {
    gap: 1rem !important;
    font-size: 0.7rem !important;
  }

  /* Compress large section paddings on mobile across all pages */
  section.steps-section,
  section.deliverables-section,
  section.investment-section,
  section.packages-section,
  section.included-section,
  section.yoga-section,
  section.bonaire-section,
  section.reserve-section,
  section.freediving-section,
  section.form-section,
  section.intro-section {
    padding: 4rem 0 !important;
  }

  /* Freediving section text sizing */
  .freediving-section .narrow { padding: 0 1.25rem; }
  .freediving-section p { font-size: 1rem !important; }

  /* Video breaks — reduce height */
  .media-break, .video-break {
    height: 45vh !important;
    min-height: 320px !important;
  }
}

@media (max-width: 480px) {
  header.page-hero, section.page-hero {
    height: 65vh !important;
    min-height: 420px !important;
  }

  section.steps-section,
  section.deliverables-section,
  section.investment-section,
  section.packages-section,
  section.included-section,
  section.yoga-section,
  section.bonaire-section,
  section.reserve-section,
  section.freediving-section,
  section.form-section,
  section.intro-section {
    padding: 3rem 0 !important;
  }

  .media-break, .video-break {
    height: 40vh !important;
    min-height: 260px !important;
  }
}
