/*
Theme Name: Eryaman Fen Bilimleri
Theme URI: https://eryamanbutikdershane.com.tr/
Author: Eryaman Fen Bilimleri
Description: Eryaman Butik Dershane icin modern, hizli ve mobil uyumlu WordPress temasi. Manrope tipografi, butik sinif odakli tasarim.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eryaman
Tags: education, one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
  --ink: #0a1a32;
  --ink-800: #102947;
  --ink-600: #1d3d66;
  --ink-400: #46618a;
  --muted: #5b6b82;

  --paper: #ffffff;
  --mist: #f2f5fa;
  --mist-2: #e8eef6;
  --line: #dfe6f0;

  --accent: #d51f26;
  --accent-600: #b0161c;
  --accent-700: #8d1116;
  --accent-light: #f2585e;
  --accent-soft: #fdeded;
  --gold: #f2b134;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 2px rgba(10, 26, 50, .06), 0 6px 16px -10px rgba(10, 26, 50, .25);
  --shadow: 0 2px 4px rgba(10, 26, 50, .04), 0 18px 40px -22px rgba(10, 26, 50, .45);
  --shadow-lg: 0 30px 70px -35px rgba(10, 26, 50, .55);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 78px;

  --dots: radial-gradient(circle, rgba(29, 61, 102, .10) 1.6px, transparent 1.8px);
  --dots-light: radial-gradient(circle, rgba(255, 255, 255, .13) 1.6px, transparent 1.8px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================
   2. Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.025em;
  color: var(--ink);
}

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.plain-list { list-style: none; margin: 0; padding: 0; }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--ink); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow { max-width: 860px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 12px;
  font-weight: 700;
}
.skip-link:focus { top: 0; }

/* =========================================================
   3. Type utilities
   ========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .17em; color: var(--accent);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px;
}
.eyebrow--light { color: #ff9ea2; }
.eyebrow--light::before { background: #ff9ea2; }

.section-title {
  font-size: clamp(1.85rem, 1.1rem + 2.6vw, 2.85rem);
  margin: 0 0 14px;
}

.section-lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.section { padding: clamp(56px, 7vw, 100px) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding-top: clamp(34px, 4vw, 56px); }

.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* =========================================================
   4. Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .97rem; font-weight: 700; letter-spacing: -.01em;
  line-height: 1; white-space: nowrap;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -14px rgba(213, 31, 38, .9); }
.btn--accent:hover { background: var(--accent-600); color: #fff; }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-600); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }

.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--light:hover { background: #fff; color: var(--ink); }

.btn--sm { padding: 11px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; color: var(--accent);
}
.arrow-link span { transition: transform .2s var(--ease); }
.arrow-link:hover { color: var(--accent-600); }
.arrow-link:hover span { transform: translateX(4px); }

/* =========================================================
   5. Topbar
   ========================================================= */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 44px;
}
.topbar__list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__list li { display: flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar__social { display: flex; align-items: center; gap: 12px; }
.topbar__social a {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.topbar__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.topbar__hide-sm { display: flex; }

/* =========================================================
   6. Header & navigation
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(10, 26, 50, .8); }

.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.brand img,
.brand .custom-logo { max-height: 52px; width: auto; }
.brand__logo { display: block; }

/* Yazi tabanli yedek kilit (logo yoksa) */
.brand__mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .98rem; letter-spacing: -.04em; line-height: 1; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.brand__mark span { color: var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.02rem; letter-spacing: -.03em; color: var(--ink); }
.brand__sub { font-size: .7rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px; white-space: nowrap;
  font-size: .95rem; font-weight: 600; color: var(--ink-800);
}
.nav > ul > li > a:hover,
.nav > ul > li.current-menu-item > a { color: var(--accent); background: var(--accent-soft); }

.nav .menu-item-home > a { padding-left: 11px; padding-right: 11px; }
.nav-home-icon { display: block; flex: none; width: 20px; height: 20px; }

.nav .menu-item-has-children > a::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: .55;
}

.nav .sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 20;
  display: block; min-width: 232px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .sub-menu li { display: block; }
.nav .sub-menu a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-size: .92rem; font-weight: 600; color: var(--ink-800);
}
.nav .sub-menu a:hover { background: var(--mist); color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 6px 18px 6px 6px;
  background: var(--mist); border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.header__phone:hover { background: #fff; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.header__phone-ico {
  flex: none; width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: #fff;
}
.header__phone-ico svg { display: block; }
.header__phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__phone small { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.header__phone strong { white-space: nowrap; font-size: 1rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.header__phone:hover strong { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 13px; background: #fff;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   7. Hero - tam genislikte video, yazilar ustunde
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(560px, 80vh, 820px);
  padding: clamp(80px, 10vw, 130px) 0 clamp(72px, 9vw, 112px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

/* video / kapak gorseli */
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--ink);
  background-size: cover; background-position: center;
}
.hero__media video,
.hero__media iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; border: 0;
  pointer-events: none;
}

/* okunabilirlik katmani */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 17, 34, .93) 0%, rgba(6, 17, 34, .78) 42%, rgba(6, 17, 34, .42) 72%, rgba(6, 17, 34, .5) 100%),
    linear-gradient(180deg, rgba(6, 17, 34, .55) 0%, transparent 32%, rgba(6, 17, 34, .6) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: var(--dots-light); background-size: 26px 26px;
  opacity: .4; pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__content { max-width: 620px; }

/* Bilgi talep formu */
.hero-form {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-lg);
  color: var(--ink-800);
}
.hero-form__title { font-size: 1.2rem; margin: 0 0 6px; }
.hero-form__note { font-size: .88rem; color: var(--muted); margin: 0 0 18px; }

.hero-form .side-form__field > span { color: var(--muted); }
.hero-form .side-form input,
.hero-form .side-form select,
.hero-form .side-form textarea {
  color: var(--ink);
  background: var(--mist);
  border-color: var(--line);
}
.hero-form .side-form input::placeholder,
.hero-form .side-form textarea::placeholder { color: #9aa7ba; }
.hero-form .side-form input:focus,
.hero-form .side-form select:focus,
.hero-form .side-form textarea:focus { background: #fff; border-color: var(--accent); }
.hero-form .side-form__error { color: var(--accent-600); }

.hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 1rem + 4.3vw, 4rem);
  letter-spacing: -.035em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--accent-light);
  /* Alt çizgi arka plan olarak çizilir: vurgulu metin birden çok satıra bölünse de doğru görünür. */
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% .09em;
  background-position: 0 calc(100% - .1em);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__text {
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  color: rgba(255, 255, 255, .82);
  max-width: 54ch; margin: 0 0 32px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* video kontrol dugmesi */
.hero__videobtn {
  position: absolute; left: clamp(18px, 4vw, 46px); bottom: clamp(28px, 4vw, 48px); z-index: 2;
  width: 62px; height: 62px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 14px 34px -12px rgba(213, 31, 38, .95);
  transition: transform .22s var(--ease), background-color .22s var(--ease);
}
.hero__videobtn::before {
  content: ""; position: absolute; inset: -9px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4);
  animation: heroPulse 2.6s var(--ease) infinite;
}
.hero__videobtn:hover { transform: scale(1.07); background: var(--accent-600); }
.hero__videobtn--sound { background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); box-shadow: none; }
.hero__videobtn--sound::before { display: none; }
.hero__videobtn--sound:hover { background: rgba(255, 255, 255, .28); }

@keyframes heroPulse {
  0%   { transform: scale(1); opacity: .8; }
  70%  { transform: scale(1.32); opacity: 0; }
  100% { transform: scale(1.32); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__videobtn::before { animation: none; }
}

/* =========================================================
   9. Course cards
   ========================================================= */
.courses__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.course {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

.course__media {
  position: relative; aspect-ratio: 16 / 10;
  background-color: var(--ink-600);
  background-image: linear-gradient(135deg, var(--ink) 0%, var(--ink-600) 100%);
  background-size: cover; background-position: center;
}
.course__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 50, .05) 40%, rgba(10, 26, 50, .55) 100%);
}
.course__tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: var(--ink);
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.course__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.course__title { font-size: 1.22rem; margin: 0 0 8px; }
.course:hover .course__title { color: var(--accent); }
.course__text { font-size: .95rem; color: var(--muted); margin: 0 0 18px; }
.course__body .arrow-link { margin-top: auto; }

/* =========================================================
   10. Weekly cycle
   ========================================================= */
.cycle { position: relative; }
.cycle__grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px;
  position: relative;
}
.cycle__grid::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.cycle__item { position: relative; text-align: center; }
.cycle__dot {
  width: 54px; height: 54px; margin: 0 auto 16px;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); border-radius: 50%;
  font-size: 1.15rem; color: var(--accent);
  position: relative; z-index: 2;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.cycle__item:hover .cycle__dot { border-color: var(--accent); transform: translateY(-3px); }
.cycle__item h3 { font-size: 1.02rem; margin: 0 0 6px; }
.cycle__item p { font-size: .89rem; color: var(--muted); margin: 0; }

.cycle__loop {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 34px; padding: 9px 18px;
  background: var(--accent-soft); border-radius: 999px;
  font-size: .86rem; font-weight: 700; color: var(--accent-600);
}

/* =========================================================
   11. Stats band
   ========================================================= */
.stats { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-light); background-size: 26px 26px; opacity: .6;
}
.stats .container { position: relative; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .14); border-radius: var(--radius); overflow: hidden; }
.stats__item { background: var(--ink); padding: 30px 26px; }
.stats__value { font-size: 2.3rem; font-weight: 800; letter-spacing: -.045em; color: #fff; line-height: 1; margin: 0 0 8px; }
.stats__value span { font-size: 1.1rem; color: var(--accent); margin-left: 2px; }
.stats__label { font-size: .93rem; color: rgba(255, 255, 255, .68); margin: 0; }

/* =========================================================
   12. About / content
   ========================================================= */
.about__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 62px); align-items: center; }
.about__text p { color: var(--muted); }
.about__quote {
  margin: 26px 0 0; padding: 20px 24px;
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.04rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em;
}
.about__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about__card {
  display: block; position: relative; min-height: 190px; padding: 22px;
  border-radius: var(--radius); overflow: hidden;
  background-color: var(--ink-600); background-size: cover; background-position: center;
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .25s var(--ease);
}
.about__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 50, .15), rgba(10, 26, 50, .82));
}
.about__card:hover { transform: translateY(-4px); color: #fff; }
.about__card > * { position: relative; z-index: 2; }
.about__card strong { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.about__card small { font-size: .84rem; opacity: .8; }

/* =========================================================
   13. FAQ
   ========================================================= */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 22px 0; border: 0; background: none; text-align: left;
  font-size: 1.06rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em;
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: .95rem; color: var(--accent);
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--accent-soft); }
.faq__a { display: none; padding: 0 46px 24px 0; color: var(--muted); font-size: .99rem; }
.faq__item.is-open .faq__a { display: block; }

/* =========================================================
   14. Reviews & CTA band
   ========================================================= */
.reviews__box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.reviews__empty { text-align: center; color: var(--muted); font-size: .95rem; margin: 0; }

.cta-band {
  position: relative; overflow: hidden;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 54px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-light); background-size: 22px 22px; opacity: .8;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1rem + 2vw, 2.3rem); margin: 0 0 8px; }
.cta-band p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 54ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--ink:hover { background: #000; }

/* =========================================================
   15. Inner pages
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: clamp(44px, 6vw, 76px) 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-light); background-size: 26px 26px; opacity: .55;
}
.page-hero .container { position: relative; }
.page-hero__title { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; margin: 0 0 14px; padding: 0; font-size: .87rem; color: rgba(255, 255, 255, .65); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumb a:hover { color: #fff; }

.entry-content { font-size: 1.04rem; }
.entry-content > * { margin-bottom: 1.15em; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry-content a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
  margin: 1.6em 0; padding: 20px 26px; border-left: 3px solid var(--accent);
  background: var(--mist); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry-content ul, .entry-content ol { padding-left: 1.35em; }
.entry-content li { margin-bottom: .45em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content iframe { max-width: 100%; border-radius: var(--radius); }

.post-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__meta { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.post-card h2 { font-size: 1.25rem; margin: 0; }
.post-card p { font-size: .95rem; color: var(--muted); margin: 0; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: .93rem; background: #fff;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.search-form { display: flex; gap: 10px; max-width: 460px; }
.search-form input[type="search"] {
  flex: 1; padding: 14px 18px; font: inherit; font-size: .97rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--ink); }

.notice-box {
  text-align: center; padding: clamp(34px, 6vw, 70px) 26px;
  background: var(--mist); border-radius: var(--radius-lg);
}
.notice-box h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem); }
.notice-box p { color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }


/* =========================================================
   15b. Iki sutunlu ic sayfa duzeni + sidebar
   ========================================================= */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.layout__main { min-width: 0; }
.layout__main .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.entry-thumb { margin: 0 0 32px; }
.entry-thumb img { border-radius: var(--radius); width: 100%; }
.entry-date {
  font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}

.sidebar {
  position: sticky; top: calc(var(--header-h) + 18px);
  display: grid; gap: 18px;
  min-width: 0;
}
.sidebar__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.sidebar__card--form {
  background: var(--ink);
  border-color: transparent;
  color: rgba(255, 255, 255, .78);
  position: relative; overflow: hidden;
}
.sidebar__card--form::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-light); background-size: 24px 24px; opacity: .5;
}
.sidebar__card--form > * { position: relative; }
.sidebar__card--form .sidebar__title { color: #fff; }

.sidebar__title {
  font-size: 1.08rem; margin: 0 0 6px; letter-spacing: -.025em;
}
.sidebar__note { font-size: .87rem; margin: 0 0 18px; color: rgba(255, 255, 255, .62); }

/* form */
.side-form { display: grid; gap: 12px; }
.side-form__field { display: grid; gap: 6px; }
.side-form__field > span {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.side-form input,
.side-form select,
.side-form textarea {
  width: 100%;
  font: inherit; font-size: .93rem;
  padding: 12px 14px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.side-form textarea { resize: vertical; min-height: 76px; }
.side-form input::placeholder,
.side-form textarea::placeholder { color: rgba(255, 255, 255, .38); }
.side-form input:focus,
.side-form select:focus,
.side-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, .12);
}
.side-form select option { color: var(--ink); background: #fff; }
.side-form__send { margin-top: 4px; }
.side-form__error { margin: 0; font-size: .82rem; color: #ffb0b3; font-weight: 600; }

/* iletisim listesi */
.sidebar__contact { display: grid; gap: 16px; margin: 0 0 18px; }
.sidebar__contact li { display: flex; gap: 12px; align-items: flex-start; }
.sidebar__contact small {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.sidebar__contact a { display: block; font-size: .94rem; font-weight: 600; color: var(--ink-800); line-height: 1.45; }
.sidebar__contact a:hover { color: var(--accent); }
.sidebar__ico {
  flex-shrink: 0; width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent);
  font-size: .95rem;
}

.sidebar__links { display: grid; }
.sidebar__links li + li { border-top: 1px dashed var(--line); }
.sidebar__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; font-size: .95rem; font-weight: 600; color: var(--ink-800);
}
.sidebar__links a::after { content: "→"; color: var(--accent); opacity: 0; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.sidebar__links a:hover { color: var(--accent); }
.sidebar__links a:hover::after { opacity: 1; transform: translateX(3px); }

@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 992px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-form { max-width: 460px; }
  .hero__videobtn { bottom: auto; top: 16px; right: 16px; left: auto; }

  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar__card--form { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .layout__main .posts-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
}


/* =========================================================
   15c. Iletisim sayfasi
   ========================================================= */
.contact__cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  margin-bottom: 32px;
}
.contact__card:first-child { grid-column: 1 / -1; }
.contact__card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
a.contact__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.contact__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.contact__ico {
  flex: none; width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px; background: var(--accent-soft); color: var(--accent);
  font-size: 1.05rem;
}
.contact__label {
  font-size: .95rem; font-weight: 800; letter-spacing: -.02em;
  text-transform: none; color: var(--ink);
}
.contact__value {
  font-size: 1rem; font-weight: 700; color: var(--ink);
  letter-spacing: -.02em; line-height: 1.5;
}
.contact__value a:hover { color: var(--accent); }
.contact__card .arrow-link { margin-top: auto; padding-top: 14px; font-size: .88rem; }

.contact__body { margin-bottom: 32px; }

.map-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}
.map-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}

@media (max-width: 560px) {
  .contact__cards { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .map-embed { aspect-ratio: 4 / 3; }
}

/* =========================================================
   16. Footer
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--dots-light); background-size: 30px 30px; opacity: .35;
}
.site-footer .container { position: relative; }
.footer__top { padding: clamp(46px, 6vw, 78px) 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 48px); }
.footer__title {
  color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  margin: 0 0 20px;
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding: 12px 18px;
  background: #fff; border-radius: var(--radius-sm);
}
.footer__brand img { max-height: 46px; width: auto; }
.footer__text { font-size: .94rem; margin: 0 0 20px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .95rem; }
.footer__list a:hover { color: #fff; }
.footer__contact { display: grid; gap: 18px; font-size: .95rem; }
.footer__contact strong { display: block; color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.footer__contact a:hover { color: #fff; }
.footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .87rem;
}
.footer__social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Alt bar: yapımcı imzası */
.footer__credit {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.footer__credit:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .06); }
.footer__credit-text {
  font-size: .7rem; font-weight: 600; line-height: 1.25;
  letter-spacing: .04em; text-transform: lowercase;
  color: rgba(255, 255, 255, .55); text-align: right;
}
.footer__credit img { max-height: 26px; width: auto; opacity: .9; }
.footer__credit:hover img { opacity: 1; }
.footer__social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.to-top {
  position: fixed; right: 18px; bottom: 90px; z-index: 60;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); }

/* Mobile sticky call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.callbar .btn { flex: 1; }

/* =========================================================
   17. Motion
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   18. Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .header__phone { display: none; }
}

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .courses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cycle__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .cycle__grid::before { display: none; }
}

@media (max-width: 992px) {
  :root { --header-h: 68px; }

  .header__phone { display: none; }
  .nav-toggle { display: block; }

  /* backdrop-filter, sabit konumlu menünün referansını bozuyor */
  .site-header { backdrop-filter: none; background: #fff; }

  .nav {
    display: block;
    position: fixed; inset: var(--header-h) 0 0 auto; z-index: 95;
    width: min(360px, 88vw);
    background: #fff; border-left: 1px solid var(--line);
    padding: 18px 18px 40px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s;
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: translateY(0); }
  body.nav-open { overflow: hidden; }

  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav > ul > li > a { padding: 13px 14px; font-size: 1rem; justify-content: space-between; }
  .nav .menu-item-home > a { justify-content: flex-start; gap: 10px; }
  .nav .menu-item-home .screen-reader-text {
    position: static !important; width: auto; height: auto;
    clip: auto; overflow: visible; white-space: normal;
  }
  .nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 0 0 6px 14px; padding: 0 0 0 6px; min-width: 0;
    display: none;
  }
  .nav li.is-open > .sub-menu { display: block; }
  .nav .menu-item-home > a { padding-left: 11px; padding-right: 11px; }
.nav-home-icon { display: block; flex: none; width: 20px; height: 20px; }

.nav .menu-item-has-children > a::after { transition: transform .2s var(--ease); }
  .nav li.is-open > a::after { transform: rotate(-135deg); }

  .about__grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  :root { --gutter: 16px; }
  .hero { min-height: 0; padding: 64px 0 92px; }
  .hero__videobtn { width: 48px; height: 48px; font-size: .9rem; top: 16px; right: 16px; bottom: auto; }
  .hero__cta .btn { flex: 1; }
  .topbar__hide-sm { display: none; }
  .topbar { font-size: .8rem; }
  .topbar .container { gap: 10px; }
  .topbar__list { min-width: 0; }
  .topbar__list li { min-width: 0; }
  .topbar__list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar__social a:nth-child(n+3) { display: none; }
  .header__actions { gap: 8px; flex-shrink: 0; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand img, .brand .custom-logo { max-height: 38px; }
  .brand__text { min-width: 0; }
  .brand__name { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand__sub { font-size: .62rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .header__actions .btn--sm { padding: 10px 14px; font-size: .85rem; }
  .courses__grid, .posts-grid { grid-template-columns: 1fr; }
  /* Haftalık döngü: mobilde dikey akış */
  .cycle__grid { grid-template-columns: 1fr; gap: 0; }
  .cycle__grid::before { display: none; }

  .cycle__item {
    display: grid; grid-template-columns: 52px 1fr; gap: 16px;
    text-align: left; align-items: start;
    padding-bottom: 26px; position: relative;
  }
  /* adımları birbirine bağlayan dikey çizgi */
  .cycle__item::before {
    content: ""; position: absolute; left: 25px; top: 56px; bottom: 6px;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px);
  }
  .cycle__item:last-child { padding-bottom: 0; }
  .cycle__item:last-child::before { display: none; }

  .cycle__dot {
    margin: 0; width: 52px; height: 52px;
    grid-row: 1 / span 2;      /* başlık ve açıklama ikonun sağında kalsın */
    background: #fff; border-color: var(--accent-soft);
    position: relative; z-index: 2;
  }
  .cycle__item h3 { font-size: 1.08rem; margin: 10px 0 4px; }
  .cycle__item p { font-size: .94rem; }

  .cycle__loop { margin-top: 8px; width: 100%; justify-content: center; }
  .about__cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .callbar { display: flex; }
  body { padding-bottom: 72px; }
  .to-top { bottom: 96px; }
  .hero__cta .btn { flex: 1; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   19. WordPress core classes
   ========================================================= */
.alignleft { float: left; margin: 6px 24px 18px 0; }
.alignright { float: right; margin: 6px 0 18px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { width: min(1100px, 100%); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-block-image figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
