/* ============================================================
   Bursa Yoga Merkezi — Stylesheet
   Design language: "Nefes Halkaları" (Breath Rings)
   Palette grounded in Nilüfer (water lily) + breath + still water
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&family=Instrument+Sans:wght@400;500;600&display=swap');

:root {
  /* Color — warm stone ground, tuned to sit behind black & white photography
     like a gallery mat board: warmer and slightly deeper than plain white,
     so grayscale figures read with more depth instead of glaring against stark white. */
  --paper: #EDE6D6;      /* warm stone, base ground */
  --paper-deep: #E2D9C4; /* deeper stone panel tone */
  --ink: #211D18;        /* warm near-black — doubles as the "spotlight" backing behind photos */
  --ink-soft: #55503F;   /* secondary text, warmed to match stone */
  --moss: #5B7561;       /* primary accent — leaf */
  --moss-deep: #3F5744;  /* darker moss for hover/emphasis */
  --clay: #C68872;       /* secondary accent — dusty clay-rose */
  --mist: #DCD2B8;       /* hairlines, borders, quiet fills — warm stone-tinted */
  --gold: #B9975B;       /* tertiary accent — certifications, small marks */
  --white: #FBF8F0;

  /* Type scale */
  --display: 'Newsreader', 'Georgia', serif;
  --body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm (breath-based spacing scale) */
  --s1: 8px;
  --s2: 13px;
  --s3: 21px;
  --s4: 34px;
  --s5: 55px;
  --s6: 89px;
  --s7: 144px;

  --max-width: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

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

a {
  color: var(--moss-deep);
  text-decoration-color: var(--mist);
  text-underline-offset: 3px;
}
a:hover { color: var(--clay); }

:focus-visible {
  outline: 2px solid var(--moss-deep);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 var(--s3);
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 var(--s3); color: var(--ink-soft); max-width: 62ch; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss-deep);
  font-weight: 600;
  display: block;
  margin-bottom: var(--s2);
}

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 245, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--mist);
}

.nav-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--s3) var(--s4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}

.brand {
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand span { color: var(--moss-deep); font-style: normal; }
.brand img { height: 42px; width: auto; display: block; }

/* ---------- Top utility bar: phone + accreditation badges ---------- */
.top-bar {
  background: var(--ink);
  color: rgba(252,253,250,0.82);
}
.top-bar .wrap {
  max-width: var(--max-width);
  padding: 12px var(--s4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  font-size: 0.82rem;
}
.top-bar a { color: rgba(252,253,250,0.9); text-decoration: none; }
.top-bar a:hover { color: var(--clay); }
.badge-row { display: flex; align-items: center; gap: var(--s3); }
.badge-row img { height: 40px; width: auto; display: block; filter: brightness(1.15); }
.badge-row .badge-label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(252,253,250,0.55); margin-right: 2px; }

.badges-inline { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.badges-inline img { height: 68px; width: auto; }
.badges-inline .badge-cap { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.04em; }

/* ---------- Stats / social proof band ---------- */
.stat-band { background: var(--paper-deep); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); text-align: left; }
@media (max-width: 780px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--moss-deep);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Assertive callout ---------- */
.callout {
  background: var(--ink);
  color: var(--white);
  padding: var(--s5) var(--s5);
  border-radius: var(--radius);
}
.callout .eyebrow { color: var(--clay); }
.callout h2 { color: var(--white); }
.callout p { color: rgba(252,253,250,0.78); }

.nav-links {
  display: flex;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: var(--s1) 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-bottom-color: var(--clay);
  color: var(--moss-deep);
}

.nav-ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--white) !important;
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: none !important;
  transition: background 0.2s ease;
}
.nav-ig:hover { background: var(--moss-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-family: var(--body);
  font-size: 0.85rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    padding: var(--s2) var(--s4) var(--s4);
    border-bottom: 1px solid var(--mist);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--mist); }
  .nav-links a { display: block; padding: var(--s3) 0; }
  .nav-actions { position: relative; }
}

/* ---------- Hero + Breath Rings signature ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--s6) 0 var(--s6);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s5);
  align-items: center;
}

.hero h1 { margin-bottom: var(--s4); }
.hero h1 em { font-style: italic; color: var(--moss-deep); }

.hero-actions { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s4); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: all 0.2s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--moss-deep); border-color: var(--moss-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); }

.rings-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--ink) 0%, var(--ink) 60%, transparent 61%);
}

.rings-stage svg { width: 100%; height: 100%; overflow: visible; position: absolute; inset: 0; z-index: 1; }
.hero-photo {
  position: relative;
  z-index: 2;
  max-height: 86%;
  width: auto;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
}

.ring {
  fill: none;
  transform-origin: center;
  animation: breathe 6.5s ease-in-out infinite;
}
.ring--1 { stroke: var(--gold); stroke-width: 1.4; opacity: 0.85; animation-delay: 0s; }
.ring--2 { stroke: var(--clay); stroke-width: 1.2; opacity: 0.7; animation-delay: 0.7s; }
.ring--3 { stroke: var(--paper); stroke-width: 1; opacity: 0.45; animation-delay: 1.4s; }
.ring--4 { stroke: var(--paper); stroke-width: 0.9; opacity: 0.28; animation-delay: 2.1s; }

@keyframes breathe {
  0%, 100% { transform: scale(0.86); opacity: 0.25; }
  50% { transform: scale(1.04); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .ring { animation: none; opacity: 0.5; }
}

/* ---------- Sections ---------- */
section { padding: var(--s6) 0; }
.section-tight { padding: var(--s5) 0; }
.border-top { border-top: 1px solid var(--mist); }

.section-head { max-width: 640px; margin-bottom: var(--s5); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.ig-embed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.ig-embed-grid > div { max-width: 100%; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--mist); }
@media (max-width: 860px) { .ig-embed-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .rings-stage { max-width: 320px; margin: 0 auto; }
}

.card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: var(--s4);
}
.card .eyebrow { margin-bottom: var(--s1); }
.card h3 { margin-bottom: var(--s2); }
.card p { margin-bottom: 0; }

.style-card { border-left: 2px solid var(--moss); padding-left: var(--s3); }
.style-card h3 { margin-bottom: var(--s1); }
.style-card.with-photo {
  border-left: none;
  padding-left: 0;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.style-card.with-photo .style-photo {
  background: var(--ink);
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.style-card.with-photo .style-photo img { height: 115%; width: auto; object-fit: contain; }
.style-card.with-photo .style-body { padding: var(--s3) var(--s4) var(--s4); border-left: 2px solid var(--moss); }

/* ---------- FAQ (AI / search visibility content) ---------- */
.faq { display: flex; flex-direction: column; gap: var(--s2); max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--mist);
  padding: var(--s3) 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--body);
  font-size: 1.3rem;
  color: var(--moss-deep);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: var(--s2); margin-bottom: 0; }

/* ---------- Table (Program) ---------- */
.schedule {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s3);
}
.schedule th, .schedule td {
  border: 1px solid var(--mist);
  padding: var(--s2) var(--s3);
  text-align: left;
  font-size: 0.95rem;
}
.schedule th {
  background: var(--paper-deep);
  font-family: var(--display);
  font-weight: 500;
}
.schedule td.placeholder { color: var(--ink-soft); font-style: italic; }

.notice {
  background: var(--paper-deep);
  border-left: 3px solid var(--clay);
  padding: var(--s3) var(--s4);
  border-radius: var(--radius);
  margin: var(--s4) 0;
}
.notice p { margin: 0; color: var(--ink); }

/* ---------- Instagram callout ---------- */
.ig-band {
  background: var(--ink);
  color: var(--white);
}
.ig-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}
.ig-band h2 { color: var(--white); margin-bottom: var(--s1); }
.ig-band p { color: rgba(252,253,250,0.75); margin-bottom: 0; }
.ig-band .btn-primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.ig-band .btn-primary:hover { background: var(--clay); border-color: var(--clay); color: var(--white); }

/* ---------- Founder / people ---------- */
.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--s5);
  align-items: start;
}
.founder-portrait {
  aspect-ratio: 3/4;
  background: var(--ink);
  border: 1px solid var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
  padding: var(--s3);
}
@media (max-width: 780px) { .founder { grid-template-columns: 1fr; } .founder-portrait { max-width: 260px; } }

.cert-list { list-style: none; margin: var(--s3) 0; padding: 0; display: flex; flex-direction: column; gap: var(--s2); }
.cert-list li {
  padding-left: var(--s4);
  position: relative;
  color: var(--ink-soft);
}
.cert-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: var(--s4) 0; }
.contact-list li { padding: var(--s2) 0; border-top: 1px solid var(--mist); }
.contact-list li:last-child { border-bottom: 1px solid var(--mist); }
.contact-list .label { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.contact-list a { font-size: 1.05rem; text-decoration: none; }

.social-row { display: flex; gap: var(--s3); margin-top: var(--s4); flex-wrap: wrap; }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}
.social-pill.primary { background: var(--ink); color: var(--white); }
.social-pill:hover { border-color: var(--clay); color: var(--clay); }
.social-pill.primary:hover { background: var(--clay); border-color: var(--clay); color: var(--white); }

form.contact-form { display: flex; flex-direction: column; gap: var(--s3); }
form.contact-form label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
form.contact-form textarea { resize: vertical; min-height: 120px; }
form.contact-form button { align-self: flex-start; margin-top: var(--s1); }

.map-frame {
  border: 1px solid var(--mist);
  aspect-ratio: 4/3;
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Weekly schedule (day cards) ---------- */
.day-card h3 {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--moss-deep);
  background: var(--paper-deep);
  margin: calc(-1 * var(--s4)) calc(-1 * var(--s4)) var(--s3);
  padding: var(--s3) var(--s4);
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 2px solid var(--gold);
}
.day-schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.day-schedule li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--mist);
  padding-bottom: 9px;
  line-height: 1.45;
}
.day-schedule li:last-child { border-bottom: none; padding-bottom: 0; }
.day-schedule time {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  margin-right: 6px;
}
.day-schedule .instructor {
  display: block;
  color: var(--clay);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.schedule-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: var(--s4);
}
.site-footer {
  border-top: 1px solid var(--mist);
  padding: var(--s5) 0 var(--s4);
  background: var(--paper-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--s5);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s4); } }
.footer-grid h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s2);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--moss-deep); }
.footer-bottom {
  margin-top: var(--s5);
  padding-top: var(--s3);
  border-top: 1px solid var(--mist);
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.footer-brand { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--ink); margin-bottom: var(--s2); }

.footer-badges {
  display: flex;
  align-items: center;
  gap: var(--s4);
  flex-wrap: wrap;
  padding-top: var(--s5);
  margin-top: var(--s5);
  border-top: 1px solid var(--mist);
}
.footer-badges img { height: 56px; width: auto; }
.footer-badges .badge-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: var(--s1);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: var(--s5) 0 var(--s4); }
.page-hero p { max-width: 58ch; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: var(--s3); top: var(--s3); }
