/* ============================================
   Somatisk Yin Yoga – Mari-Anne
   Stil: rolig, jordforbundet, naturlig
   ============================================ */

/* === ROOT VARIABLER === */
:root {
  --bg:           #F5EFE4;
  --bg-alt:       #5E7A57;
  --bg-dark:      #2B2219;
  --sage:         #5A7853;
  --sage-light:   #7A9E73;
  --clay:         #8C6B52;
  --clay-light:   #B08970;
  --text:         #2B2219;
  --text-muted:   #7A6A5D;
  --border:       #C9B99A;
  --cream:        #FDFAF5;
  --hero-overlay: rgba(30, 22, 14, 0.42);
  --radius:       4px;
  --transition:   0.3s ease;
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sage);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--clay);
}

/* === TYPOGRAFI === */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: 0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }

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

.lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
}

.italic { font-style: italic; }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(240, 228, 210, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 8px rgba(90, 60, 30, 0.10);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

.nav-logo:hover img { opacity: 0.82; }

.nav-logo-text {
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text);
  margin-left: 0.55rem;
}

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

.nav-links a {
  color: rgba(59, 38, 20, 0.78);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--bg-dark);
  border-bottom-color: var(--sage);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 68px;
}

/* Split hero – forsiden med rammet billede */
.hero--split {
  background: var(--bg-dark);
  flex-direction: row;
  justify-content: center;
  gap: 5rem;
  padding: 5rem 4rem;
  text-align: left;
}

.hero-split-text {
  flex: 1;
  max-width: 520px;
  color: var(--cream);
}

.hero-split-text h1 {
  color: var(--cream);
  margin-bottom: 1.2rem;
  text-shadow: none;
}

.hero-split-text .lead {
  color: rgba(253, 250, 245, 0.88);
  font-size: 1.05rem;
  margin-top: 1rem;
}

.hero-split-frame {
  flex: 0 0 360px;
  border: 1px solid #111;
  background: var(--bg);
  line-height: 0;
  align-self: center;
}

.hero-split-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-img--fadein {
  opacity: 0;
  animation: heroFadeIn 2s ease forwards;
}

.reveal-img {
  filter: grayscale(100%);
  opacity: 0;
}

.reveal-img.revealed {
  filter: grayscale(0%);
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

/* Gradient-fade i bunden */
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(to bottom, transparent, rgba(43, 34, 25, 0.70));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: 2rem;
  max-width: 780px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-light);
  margin-bottom: 1.2rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}

.hero-content h1 {
  color: var(--cream);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.hero-content .lead {
  color: rgba(253, 250, 245, 0.88);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.hero-scroll {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(253, 250, 245, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(253, 250, 245, 0.4);
}

/* Hero lille – til undersider */
.hero-sm {
  min-height: 55vh;
}

.hero-sm .hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

/* === CONTAINER & LAYOUT === */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
  color: var(--cream);
}

.section-alt h2,
.section-alt h3,
.section-alt h4 {
  color: var(--cream);
}

.section-alt .lead,
.section-alt p {
  color: rgba(253, 250, 245, 0.85);
}

.section-alt .section-label {
  color: var(--clay-light);
}

.section-alt .divider {
  background-color: var(--clay-light);
}

.section-alt .step-body p,
.section-alt .step-nr,
.section-alt .quote-block p,
.section-alt .card-body p,
.section-alt .bio-info-block ul {
  color: var(--bg-dark);

}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--cream);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--cream);
}

.section-dark .lead,
.section-dark p {
  color: rgba(253, 250, 245, 0.80);
}

/* 2-kolonne layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* === SEKTION OVERSKRIFT === */
.section-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.8rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}

.section-dark .section-label {
  color: var(--clay-light);
}

.divider {
  width: 48px;
  height: 1px;
  background-color: var(--clay);
  margin: 1.4rem 0;
}

.divider-center {
  margin: 1.4rem auto;
}

/* === BILLEDER === */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.img-frame img.reveal-img,
.card-img img.reveal-img {
  transition: filter 2s ease, opacity 2s ease, transform 0.7s ease;
}

.img-frame:hover img {
  transform: scale(1.03);
}

.img-tall {
  height: 520px;
}

/* Pose-billeder: vis hele billedet uden beskæring */
.img-frame.pose-frame {
  background: var(--bg);
  height: auto;
}

.img-frame.pose-frame img {
  object-fit: contain;
  object-position: center center;
  height: auto;
}

.card-img.pose-frame img {
  object-fit: contain;
  object-position: center center;
  background: var(--bg);
}

.img-square {
  aspect-ratio: 1;
}

/* Billede med dekorativ kant */
.img-decorated {
  position: relative;
}

.img-decorated::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 0;
  pointer-events: none;
}

.img-decorated .img-frame {
  position: relative;
  z-index: 1;
}

/* === KORT TIL UNDERSIDER === */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(43, 34, 25, 0.14);
  color: var(--text);
}

.card-img {
  height: 240px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.8rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.card-link {
  margin-top: auto;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link::after {
  content: '→';
  transition: transform var(--transition);
}

.card:hover .card-link::after {
  transform: translateX(4px);
}

/* === CITAT === */
.quote-block {
  border-left: 2px solid var(--clay);
  padding: 1.2rem 2rem;
  margin: 2.5rem 0;
}

.quote-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

.section-dark .quote-block {
  border-left-color: var(--clay-light);
}

.section-dark .quote-block p {
  color: rgba(253, 250, 245, 0.70);
}

/* === IKONER-LISTE === */
.icon-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.95rem;
}

.icon-list li::before {
  content: '—';
  color: var(--clay);
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* === SENSE-KORT (nervesystem) === */
.sense-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.sense-card {
  background: rgba(253, 250, 245, 0.06);
  border: 1px solid rgba(253, 250, 245, 0.12);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
}

.sense-card-nr {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--clay-light);
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.sense-card h4 {
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.sense-card p {
  color: rgba(253, 250, 245, 0.70);
  font-size: 0.9rem;
  margin: 0;
}

/* === OM MARI-ANNE === */
.bio-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 5rem;
  align-items: start;
}

.bio-sticky {
  position: sticky;
  top: 100px;
}

.bio-img-wrap {
  position: relative;
}

.bio-img-wrap img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.bio-info-block {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  margin-top: 2rem;
}

.bio-info-block h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}

.bio-info-block ul {
  list-style: none;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--cream);
}

.bio-info-block ul li::before {
  content: '· ';
  color: var(--cream);
}

.bio-info-block a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bio-info-block a:hover {
  color: var(--cream);
  font-weight: 600;
}

.bio-contact a {
  color: var(--cream);
  font-weight: 400;
}

/* === KONTAKT SEKTION === */
.contact-strip {
  background: var(--bg-alt);
  padding: 5rem 0;
  text-align: center;
}

.contact-strip h2 {
  margin-bottom: 0.5rem;
}

.contact-strip p {
  color: var(--cream);
  margin-bottom: 2rem;
}

.contact-strip .section-label {
  color: var(--cream);
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--clay);
  color: var(--cream);
}

.btn-primary:hover {
  background-color: var(--clay-light);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(253, 250, 245, 0.45);
}

.btn-outline:hover {
  background: rgba(253, 250, 245, 0.10);
  color: var(--cream);
}

/* === FOOTER === */
footer {
  background-color: var(--bg-dark);
  color: rgba(253, 250, 245, 0.65);
  padding: 4rem 0 2.5rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(253, 250, 245, 0.10);
}

.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
}

.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col ul a {
  color: rgba(253, 250, 245, 0.60);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--cream);
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.8rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(253, 250, 245, 0.35);
}

/* === TEKST-MED-BILLEDE INTRO (undersider) === */
.intro-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  align-items: center;
}

/* === KUGLER / STEP === */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-nr {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--clay);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.step-body h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 3rem;
  }

  .two-col.reverse > * { direction: ltr; }

  .cards {
    grid-template-columns: 1fr;
  }

  .sense-grid {
    grid-template-columns: 1fr;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bio-sticky {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .intro-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 820px) {
  html { font-size: 16px; }

  .section { padding: 5rem 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: rgba(240, 228, 210, 0.99);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 2rem;
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero { min-height: 85vh; }

  .hero--split {
    flex-direction: column;
    padding: 4rem 2rem;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-split-frame {
    flex: none;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-sm { min-height: 50vh; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .img-tall { height: 340px; }

  .cards { gap: 1.5rem; }

  .img-decorated::before {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
  }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--cream);
  border: 1.5px solid #111;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  max-width: 480px;
  width: calc(100% - 2rem);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}

.cookie-banner button {
  flex-shrink: 0;
  background: var(--bg-alt);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-banner button:hover {
  background: var(--sage);
}
