/* ============================================================
   Yogastudio Nirvighnam — Huisstijl
   Type: Cormorant Garamond (Google Fonts)
   Achtergrondkleur: ivoor #FFF1DF (uit de kleurenkaart)
   ============================================================ */

:root {
  /* Ivoor uit de kleurenkaart (pagina-achtergrond) */
  --cream: #FFF1DF;
  /* Kleurenkaart */
  --bg-soft: #FFF9F2;
  --purple: #3B075D;
  --purple-2: #662080;
  --teal: #1E7A8C;
  --teal-2: #1597A6;
  --pink: #D9257C;
  --pink-2: #F44B9A;
  --gold: #C98A32;
  --gold-2: #E8B85A;
  --navy: #252D78;
  --blue: #174E86;
  --taupe: #D8CEC2;
  /* Tekst */
  --ink: #4A2A56;
  --ink-soft: #6B5876;
  --line: rgba(59, 7, 93, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  /* Volledige pagina in de logo-achtergrondkleur */
  background: var(--cream);
  color: var(--ink);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}
.container.narrow { width: min(860px, 92vw); }

/* ---------- Typografie ---------- */
.section-title {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--purple);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin-bottom: 1.1rem;
}

.tagline {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.tagline-gold   { color: var(--gold); }
.tagline-teal   { color: var(--teal); }
.tagline-purple { color: var(--purple-2); }
.tagline-pink   { color: var(--pink); }

section { padding: clamp(2rem, 4vw, 3.25rem) 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head p { color: var(--ink-soft); font-size: 1.3rem; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.1rem;
  font-family: inherit;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid var(--purple);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(59, 7, 93, 0.18); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.btn-solid { background: var(--purple); color: var(--cream); }
.btn-solid:hover { background: var(--purple-2); border-color: var(--purple-2); }
.btn-outline { background: transparent; color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: var(--cream); }

/* ---------- Hulpmiddelen ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header (logo-achtergrondkleur) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.65rem 0;
}
.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand img { height: 84px; width: auto; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-size: 2rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--teal);
  letter-spacing: 0.18em;
}
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a {
  text-decoration: none;
  color: var(--purple);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover { color: var(--teal); border-color: var(--teal); }
.main-nav .nav-cta {
  border: 2px solid var(--purple);
  border-radius: 999px;
  padding: 0.35rem 1.2rem;
}
.main-nav .nav-cta:hover { background: var(--purple); color: var(--cream); border-color: var(--purple); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.6rem;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--purple);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Intro (logo-moment) ---------- */
.intro {
  background: var(--cream); /* ivoor */
  border-bottom: 1px solid var(--line);
  padding-top: clamp(1.25rem, 2.5vw, 2.25rem); /* klein: direct onder de topbar */
}
.intro-inner {
  width: min(900px, 92vw);
  margin: 0 auto;
}
.intro-logo {
  /* Nieuw transparant logo: portretformaat (1014x1254) */
  width: clamp(240px, 30vw, 460px);
  height: auto;
  margin: 0 auto 2.6rem;
  display: block;
}
.intro-text {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
}
.intro strong { color: var(--purple); }
.intro em { color: var(--teal); }

/* ---------- Yoga secties ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.two-col.reversed .col-fig { order: -1; }
.col-text p { margin-bottom: 1.1rem; color: var(--ink); }
.benefits { list-style: none; margin: 1.4rem 0; display: grid; gap: 0.75rem; }
.benefits li {
  padding-left: 1.7rem;
  position: relative;
  font-size: 1.25rem;
}
.benefits li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 0.85rem; height: 0.85rem;
  border-radius: 50%;
  border: 2px solid currentColor;
}
.hatha .benefits li { color: var(--gold); }
.hatha .benefits li strong { color: var(--purple); }
.nidra .benefits li { color: var(--teal); }
.nidra .benefits li strong { color: var(--purple); }

.hatha { background: var(--cream); }
.nidra {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--cream) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nidra-subtitle {
  margin: -0.35rem 0 1.15rem;
  color: var(--teal);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.col-fig { margin: 0; }
.col-fig img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(59, 7, 93, 0.16);
}
.col-fig figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

/* ---------- Yin teaser ---------- */
.yin-teaser { background: var(--purple); color: var(--cream); }
.yin-inner {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.yin-text { grid-column: 1; grid-row: 1; }
.yin-img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  max-width: 320px;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  justify-self: center;
  align-self: stretch;
}
.yin-text .section-title { color: var(--cream); }
.yin-text p {
  color: rgba(252, 245, 238, 0.9);
  margin-bottom: 1rem;
}
.yin-text p:last-child { margin-bottom: 0; }
.yin-text .benefits { margin: 1.4rem 0; }
.yin-text .benefits li { color: rgba(252, 245, 238, 0.9); }
.yin-text .benefits li strong { color: var(--gold-2); }
.yin-text .benefits li::before { border-color: var(--gold-2); }
.tagline-purple { color: var(--gold-2); }

/* ---------- Workshops ---------- */
.workshops {
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  color: var(--cream);
  border-top: 1px solid rgba(255, 241, 223, 0.22);
  border-bottom: 1px solid rgba(255, 241, 223, 0.22);
}
.workshops-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.workshops .section-title { color: var(--cream); }
.workshops-text {
  font-size: 1.3rem;
  color: rgba(255, 241, 223, 0.9);
  margin-bottom: 0.9rem;
}
.workshops .benefits {
  max-width: 720px;
  margin: 1.4rem auto 1.6rem;
}
.workshops .benefits li {
  color: rgba(255, 241, 223, 0.9);
  text-align: left;
}
.workshops .benefits li strong { color: var(--gold-2); }
.workshops .benefits li::before { border-color: var(--gold-2); }
.workshops-note {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 241, 223, 0.72);
}
.tagline-cream { color: var(--gold-2); }
.btn-cream {
  margin-top: 1.5rem;
  background: var(--cream);
  color: var(--purple);
  border-color: var(--cream);
}
.btn-cream:hover {
  background: #ffffff;
  color: var(--purple);
  border-color: #ffffff;
}

/* ---------- Waar & hoe ---------- */
.where { background: var(--cream); }
.waar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 980px;
  margin: 0 auto;
}
.waar-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.4rem;
}
.icon-teal { color: var(--teal); }
.icon-navy { color: var(--navy); }
.icon-pink { color: var(--pink); }
.icon-gold { color: var(--gold); }
.waar-item h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 0.55rem;
}
.waar-item p { font-size: 1.22rem; color: var(--ink); }
.waar-note {
  margin-top: 0.9rem;
  font-style: italic;
  font-size: 1.08rem !important;
  color: var(--ink-soft);
}
.where-cta { text-align: center; margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ---------- Hester ---------- */
.hester {
  background: linear-gradient(180deg, var(--cream) 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--line);
}
.hester .col-fig img { max-width: 560px; width: 100%; margin: 0 auto; }
.hester-signature {
  margin-top: 1.6rem;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--purple);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.contact .container.narrow { width: min(1080px, 92vw); }
.contact-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto 2.4rem;
}
.contact-list li {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.28);
}
.contact-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.35rem 1rem;
  text-decoration: none;
  color: var(--ink);
  text-align: center;
  height: 100%;
}
.contact-list svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--teal);
}
.contact-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  min-width: 0;
  text-align: center;
}
.contact-list .contact-value {
  font-size: 1.22rem;
  overflow-wrap: anywhere;
}
.contact-list .contact-email .contact-value {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow-wrap: normal;
  letter-spacing: -0.01em;
}
.contact-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  font-weight: 600;
}
.contact-value {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--purple);
  transition: color 0.25s ease;
}
.contact-list a:hover .contact-value { color: var(--teal); }
.contact-note {
  text-align: center;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
}
@media (max-width: 1173px) {
  .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .contact-list { grid-template-columns: 1fr; }
}

/* ---------- Footer (logo-achtergrondkleur) ---------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.4rem;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.site-footer img { height: 56px; width: auto; }
.footer-mantra {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--purple);
}
.footer-mantra em {
  display: block;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--teal);
  margin-top: 0.25rem;
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-nav a:hover { color: var(--teal); border-color: var(--teal); }
.footer-copy { font-size: 1rem; color: var(--ink-soft); letter-spacing: 0.04em; }

/* ---------- Reveal-animatie ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reversed .col-fig { order: 0; }
  .hester .col-fig { order: -1; }
  .hester .col-fig img { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(59, 7, 93, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 560px; }
  .main-nav a { width: 100%; padding: 1rem 4vw; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { border: 0; margin: 0.8rem 4vw 1rem; width: auto; }
}
@media (max-width: 900px) {
  .yin-inner { grid-template-columns: 1fr; }
  .yin-text, .yin-img { grid-column: auto; grid-row: auto; }
  .yin-img {
    width: min(340px, 78vw);
    max-width: 340px;
    height: auto;
    object-fit: contain;
    justify-self: center;
  }
}
@media (max-width: 640px) {
  body { font-size: 1.15rem; }
  .brand img { height: 64px; width: auto; }
  .brand-name { font-size: 1.65rem; }
  .yin-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .yin-text .section-title, .yin-text .tagline { text-align: center; }
  .yin-text .benefits { max-width: 560px; margin-left: auto; margin-right: auto; }
  .yin-text .benefits li { text-align: left; }
  .waar-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
