/* ==========================================================
   Bedir Eğitim Kurumları — Site Stili
   Renkler logodaki ve tanıtım sunumundaki tonlardan alınmıştır.
   ========================================================== */
:root {
  --green-950: #142a0c;
  --green-900: #1c3a10;
  --green-800: #254d12;
  --green-700: #2f6112;
  --green-600: #47730a;
  --green-500: #5e9a1e;
  --green-300: #a9cf7c;
  --green-100: #e6f1d6;
  --teal: #7fb0a0;
  --teal-dark: #4f8676;
  --cream: #f8faef;
  --cream-2: #eef3df;
  --gold: #f0a30a;
  --gold-dark: #c98500;
  --ink: #1b2216;
  --ink-2: #44503b;
  --muted: #6b7762;
  --line: #dde5cf;
  --white: #fff;
  --danger: #b42318;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(28, 58, 16, .25);
  --shadow-lg: 0 24px 60px -20px rgba(20, 42, 12, .35);
  --font-head: "Nunito", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Amiri", system-ui, sans-serif;
  --font-ar: "Amiri", "Traditional Arabic", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 130px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--green-950); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.narrow-sm { max-width: 620px; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.text-accent { color: var(--danger); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-gold { background: var(--gold); color: #1d1500; box-shadow: 0 8px 20px -8px rgba(240, 163, 10, .7); }
.btn-gold:hover { background: #ffb31f; color: #1d1500; }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-600); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-light { background: #fff; color: var(--green-800); }
.btn-light:hover { color: var(--green-700); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.link-arrow { font-family: var(--font-head); font-weight: 800; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--green-600); margin-bottom: .7rem;
}
.eyebrow-light { color: var(--green-300); }
.tag {
  display: inline-block; padding: .2em .75em; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: var(--green-100); color: var(--green-800); text-decoration: none; font-family: var(--font-head);
}
.tag-gold { background: #fff1d1; color: #8a5a00; }
.tag-light { background: rgba(255,255,255,.15); color: #fff; }
.chip {
  display: inline-flex; align-items: center; padding: .4em .95em; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: 600 .88rem var(--font-body);
  text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--green-500); color: var(--green-700); }
.chip.copied { border-color: var(--green-500); color: var(--green-700); background: var(--green-100); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--gold); color: #1d1500; font-size: .92rem; }
.topbar-in { display: flex; gap: .8rem; align-items: center; padding: .45rem 0; }
.topbar a { color: #1d1500; font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }
.topbar-tag { background: #1d1500; color: var(--gold); border-radius: 999px; padding: .05em .7em; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; flex-shrink: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green-900); }
.brand img { width: 52px; height: 52px; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-weight: 900; font-size: 1.08rem; color: var(--green-800); }
.brand-text small { font-size: .78rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 1rem; }
.main-nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.main-nav ul a {
  display: block; padding: .5em .75em; border-radius: 999px; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink-2);
}
.main-nav ul a:hover { background: var(--cream-2); color: var(--green-800); }
.main-nav ul a.is-active { background: var(--green-100); color: var(--green-800); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--green-800); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 16px 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: .8em 1em; font-size: 1.05rem; border-radius: 12px; }
  .nav-cta { align-self: stretch; }
}
@media (max-width: 420px) { .brand-text small { display: none; } }

/* ---------- Dome motif ---------- */
.hero-dome, .section-dome, .cta-dome, .page-hero-dome {
  position: absolute; pointer-events: none; color: #fff; opacity: .07;
}
.hero-dome { width: 760px; right: -140px; top: -60px; }
.section-dome { width: 520px; left: -160px; bottom: -120px; }
.cta-dome { width: 420px; right: -80px; top: -40px; opacity: .1; }
.page-hero-dome { width: 380px; right: 4%; top: -30px; opacity: .09; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #eef6e4;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(127,176,160,.35), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(94,154,30,.35), transparent 60%),
    linear-gradient(160deg, var(--green-900), var(--green-700));
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; position: relative; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.15rem; color: #d8e7c9; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2.2rem; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; padding: 1.4rem 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.15); }
.hero-facts strong { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 900; color: #fff; }
.hero-facts span { color: var(--green-300); font-size: .92rem; }
.hero-visual { position: relative; justify-self: center; width: min(430px, 100%); }
.arch-frame {
  border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 8px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -28px; bottom: 36px; background: #fff; color: var(--ink-2);
  border-radius: 16px; padding: .9rem 1.1rem; display: flex; gap: .8rem; align-items: center;
  box-shadow: var(--shadow-lg); font-size: .85rem; line-height: 1.3;
}
.hero-badge-num { font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; color: var(--green-700); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #e8f2dc; text-align: left;
  background: linear-gradient(150deg, var(--green-900), var(--green-700));
  padding: clamp(2.8rem, 6vw, 4.5rem) 0;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: #d3e4c2; font-size: 1.12rem; max-width: 680px; margin: 0; }

.subnav { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 40; }
.subnav .container { display: flex; gap: .3rem; overflow-x: auto; padding: .55rem 0; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: .35em .9em; border-radius: 999px; text-decoration: none; font: 700 .9rem var(--font-head); color: var(--ink-2); }
.subnav a:hover { background: var(--green-100); color: var(--green-800); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; position: relative; }
.section-cream { background: var(--cream); }
.section-green {
  background: linear-gradient(160deg, var(--green-900), var(--green-800)); color: #dfeccf; overflow: hidden;
}
.section-green h2, .section-green h3 { color: #fff; }
.section-head { margin-bottom: 2.4rem; }
.section-head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head.center p { color: var(--muted); }
.section-green .section-head p { color: #c7dbb3; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .3em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-reverse .split-media { order: 2; }
.rounded-img { border-radius: 28px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; max-height: 560px; }
.split-text p { color: var(--ink-2); }
.lead-sm { font-size: 1.15rem; color: var(--green-700) !important; font-weight: 600; }
.signature { font-family: var(--font-head); font-weight: 900; color: var(--green-900) !important; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

/* ---------- Daily ---------- */
.daily-section { background: linear-gradient(180deg, var(--cream), #fff); }
.daily-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.daily-card {
  position: relative; background: #fff; border-radius: 24px; padding: 2rem 2rem 1.6rem;
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.daily-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--green-600), var(--teal));
}
.daily-hadis::before { background: linear-gradient(90deg, var(--gold), #f7c45a); }
.daily-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; }
.daily-head .eyebrow { margin: 0; display: block; }
.daily-head time { font-size: .88rem; color: var(--muted); }
.daily-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); font-size: 1.6rem; font-family: var(--font-ar);
}
.daily-hadis .daily-icon { background: #fff1d1; color: var(--gold-dark); }
.arabic {
  font-family: var(--font-ar); font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 2; color: var(--green-950);
  text-align: center; margin: .2rem 0 1rem; font-weight: 700;
}
.arabic-sm { font-size: 1.45rem; text-align: right; margin-bottom: .5rem; }
.meal { font-size: 1.18rem; font-style: italic; color: var(--ink); text-align: center; margin-bottom: .5rem; }
.archive-card .meal { font-size: 1.02rem; text-align: left; }
.source { text-align: center; color: var(--green-700); font-weight: 700; font-size: .95rem; }
.archive-card .source { text-align: left; margin: 0; }
.daily-note { background: var(--cream); border-radius: 14px; padding: .9rem 1.1rem; font-size: .97rem; color: var(--ink-2); margin-top: .4rem; }
.daily-note p:last-child { margin: 0; }
.daily-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: auto; padding-top: 1rem; }
.daily-sm { padding: 1.4rem; box-shadow: none; }
.daily-sm .arabic { font-size: 1.45rem; }
.daily-sm .meal { font-size: 1rem; }

.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.archive-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.archive-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; font-size: .88rem; color: var(--muted); }
.filter-pills { display: flex; gap: .4rem; flex-wrap: wrap; }
.filter-pills a { padding: .4em 1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font: 700 .9rem var(--font-head); color: var(--ink-2); }
.filter-pills a.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.pillar {
  background: linear-gradient(150deg, var(--green-600), var(--green-700)); color: #fff; border-radius: 20px;
  padding: 1.6rem 1.4rem; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.pillar::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 18px solid rgba(255,255,255,.06); right: -40px; top: -40px; }
.pillar-k { display: block; font: 800 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--green-300); margin-bottom: .3rem; }
.pillar strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; }
.pillars-note { text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--green-900); max-width: 780px; margin: 2.4rem auto 0; }

/* ---------- Stages ---------- */
.stages { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(7, 1fr); gap: .8rem; position: relative; }
.stages li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 1.2rem .8rem; text-align: center; }
.stages li span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: #1d1500; font: 900 1.1rem var(--font-head); margin: 0 auto .7rem; }
.stages li strong { display: block; font-family: var(--font-head); color: #fff; line-height: 1.25; font-size: .98rem; }
.stages li small { display: block; color: var(--green-300); font-size: .82rem; margin-top: .3rem; }
.stages-note { color: #dfeccf; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--green-100); display: grid; place-items: center; margin-bottom: 1rem; }
.feature-ic svg { width: 28px; height: 28px; fill: var(--green-700); }
.feature p { color: var(--ink-2); margin: 0; }

/* ---------- Duyurular ---------- */
.duyuru-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.4rem; }
.duyuru-item { display: flex; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; align-items: flex-start; }
.duyuru-item.is-pinned { border-color: #f6d27a; background: #fffcf2; }
.duyuru-date { flex-shrink: 0; width: 62px; text-align: center; background: var(--green-700); color: #fff; border-radius: 14px; padding: .45rem 0; line-height: 1.1; }
.duyuru-date strong { display: block; font: 900 1.5rem var(--font-head); }
.duyuru-date span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.duyuru-text h3 { margin: .25rem 0 .3rem; font-size: 1.12rem; }
.duyuru-text h3 a { color: var(--green-950); text-decoration: none; }
.duyuru-text h3 a:hover { color: var(--green-600); }
.duyuru-text p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.duyuru-list-lg .duyuru-item { padding: 1.4rem 1.6rem; }

.cta-card { background: #fff; border-radius: 24px; padding: 2rem; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow); position: sticky; top: 100px; }
.cta-card img { margin: 0 auto 1rem; border-radius: 16px; }
.cta-card p { color: var(--ink-2); }
.cta-card .btn { width: 100%; margin-top: .6rem; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-grid-2 { grid-template-columns: repeat(2, 1fr); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-100); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb.no-img { display: grid; place-items: center; background: linear-gradient(150deg, var(--green-700), var(--teal-dark)); color: rgba(255,255,255,.6); font-size: 3rem; text-decoration: none; }
.post-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: .6rem; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: .5rem; flex-wrap: wrap; }
.post-body h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.post-body h3 a { color: var(--green-950); text-decoration: none; }
.post-body h3 a:hover { color: var(--green-600); }
.post-body p { color: var(--ink-2); font-size: .98rem; }
.post-foot { margin-top: auto; font-size: .85rem; color: var(--muted); }

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 100px; }
.side-box { background: var(--cream); border-radius: var(--radius); padding: 1.3rem; }
.side-box h3 { font-size: 1.05rem; }
.side-daily { padding: 0; background: none; }
.search-box label { font: 800 1rem var(--font-head); display: block; margin-bottom: .5rem; color: var(--green-950); }
.search-row { display: flex; gap: .4rem; }
.search-row input { flex: 1; min-width: 0; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: .45rem .6rem; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 600; }
.cat-list a:hover, .cat-list a.is-active { background: #fff; color: var(--green-700); }
.cat-list span { color: var(--muted); font-weight: 400; }
.filter-info { background: var(--cream); padding: .7rem 1rem; border-radius: 12px; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--cream); border-radius: var(--radius); color: var(--muted); }

/* ---------- Article ---------- */
.article-hero { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--green-900), var(--green-700)); color: #e3efd6; padding: 3rem 0 3.4rem; }
.article-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin: .8rem 0 .5rem; }
.back-link { display: inline-block; color: var(--green-300); text-decoration: none; font-weight: 700; margin-bottom: 1rem; margin-right: .8rem; }
.back-link:hover { color: #fff; }
.article-meta { color: #c3d8ae; margin: 0; }
.article-cover { width: 100%; border-radius: 22px; margin: -2rem 0 2rem; position: relative; box-shadow: var(--shadow-lg); max-height: 460px; object-fit: cover; }
.article-body { padding: 2.4rem 0 1rem; }
.article-cover + .article-body { padding-top: 0; }
.prose { font-size: 1.12rem; line-height: 1.85; color: var(--ink); }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose blockquote { margin: 1.6em 0; padding: 1.1em 1.4em; border-left: 5px solid var(--gold); background: var(--cream); border-radius: 0 14px 14px 0; font-style: italic; color: var(--ink-2); }
.prose blockquote[dir="rtl"] { border-left: 0; border-right: 5px solid var(--gold); border-radius: 14px 0 0 14px; }
.prose .ar { font-family: var(--font-ar); font-size: 1.6em; line-height: 2; color: var(--green-950); text-align: right; }
.prose blockquote.ar { font-style: normal; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.share-row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; padding: 1.4rem 0 2.4rem; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.share-row span { font-weight: 700; margin-right: .3rem; }

/* ---------- About ---------- */
.moon-intro { display: flex; gap: 1.6rem; align-items: center; background: #fff; border-radius: 24px; padding: 1.6rem 2rem; box-shadow: var(--shadow); margin-bottom: 1.6rem; }
.moon-intro p { margin: 0; font-size: 1.12rem; }
.moon { width: 84px; height: 84px; flex-shrink: 0; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffbe8, #f4e3a1 55%, #d9c06d); box-shadow: 0 0 0 10px rgba(240,163,10,.12), 0 0 40px rgba(240,163,10,.45); }
.reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.6rem; }
.reason { background: var(--green-700); color: #fff; border-radius: 20px; padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.reason p { margin: 0; font-size: 1.05rem; }
.reason-n { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #1d1500; display: grid; place-items: center; font: 900 1.1rem var(--font-head); }
.compass-art { position: relative; background: linear-gradient(160deg, var(--cream), var(--green-100)); border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; color: var(--green-700); }
.compass-art svg { width: 70%; }
.compass-label { position: absolute; background: #fff; padding: .45em .9em; border-radius: 999px; font: 700 .85rem var(--font-head); box-shadow: var(--shadow); color: var(--green-800); }
.compass-fixed { left: 8%; bottom: 14%; }
.compass-move { right: 6%; top: 16%; }
.glass-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 24px; padding: 2rem; position: relative; }
.glass-card p { color: #dbe9cc; }
.glass-card.wide { margin-top: 1.6rem; }
.big-num { display: block; font: 900 4rem/1 var(--font-head); color: var(--gold); margin-bottom: .6rem; }
.icon-row { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.icon-row-ic { flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px; background: var(--green-100); display: grid; place-items: center; font-size: 1.6rem; }
.icon-row h3 { margin-bottom: .3rem; }
.icon-row p { margin: 0; }

/* ---------- Eğitim ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tl-item { display: flex; gap: .9rem; align-items: center; background: var(--cream); border-radius: 18px; padding: 1rem 1.1rem; border: 1px solid var(--line); }
.tl-item strong { display: block; font-family: var(--font-head); color: var(--green-950); line-height: 1.2; }
.tl-item small { color: var(--muted); }
.tl-n { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font: 900 1.05rem var(--font-head); }
.tl-extra { background: #fff7e3; border-color: #f6d27a; }
.tl-extra .tl-n { background: var(--gold); color: #1d1500; }

.tabs { background: #fff; border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.tab-list { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--green-900); }
.tab-list button {
  background: none; border: 0; color: #cfe1bb; padding: 1.1rem .8rem; cursor: pointer; text-align: center;
  border-bottom: 4px solid transparent; font-family: var(--font-head); transition: background .2s, color .2s;
}
.tab-list button strong { display: block; font-size: 1.08rem; font-weight: 800; }
.tab-list button small { font-size: .8rem; opacity: .8; }
.tab-list button:hover { background: rgba(255,255,255,.06); color: #fff; }
.tab-list button[aria-selected="true"] { background: #fff; color: var(--green-800); border-bottom-color: var(--gold); }
.tab-panel { padding: clamp(1.4rem, 3vw, 2.4rem); }
.panel-head { margin-bottom: 1.6rem; }
.panel-badge { display: inline-block; background: var(--green-100); color: var(--green-800); font: 800 .82rem var(--font-head); padding: .3em .9em; border-radius: 999px; margin-bottom: .6rem; }
.panel-head h3 { font-size: 1.5rem; margin: 0; }
.curriculum { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.cur-group { background: var(--cream); border-radius: 18px; padding: 1.2rem 1.3rem; }
.cur-group h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green-600); margin-bottom: .8rem; }
.cur-group ul { list-style: none; padding: 0; margin: 0; }
.cur-group li { padding: .35rem 0 .35rem 1.3rem; position: relative; border-bottom: 1px dashed var(--line); font-weight: 600; color: var(--ink); line-height: 1.4; }
.cur-group li:last-child { border-bottom: 0; }
.cur-group li::before { content: ""; position: absolute; left: 0; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }

.num-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-direction: column; gap: 1.1rem; }
.num-list li { display: flex; gap: 1rem; align-items: flex-start; }
.num-list li > span { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font: 900 1.15rem var(--font-head); }
.num-list h3 { margin: 0 0 .2rem; color: var(--green-700); }
.num-list p { margin: 0; }

.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sched-card { background: #fff; color: var(--ink-2); border-radius: 22px; padding: 1.6rem; }
.sched-card h3 { color: var(--green-950) !important; }
.sched-card p { margin: 0; }
.sched-time { display: inline-block; font: 900 1.6rem var(--font-head); color: var(--green-700); background: var(--green-100); padding: .1em .55em; border-radius: 12px; margin-bottom: .7rem; }

.check-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; color: var(--ink-2); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; font-weight: 900; font-size: .8rem; }

.online-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.online-card { background: #fff; border-radius: 22px; padding: 1.4rem; border: 1px solid var(--line); }
.online-card img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 1rem; }
.online-card p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.online-free { background: linear-gradient(160deg, var(--green-600), var(--green-800)); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; }
.online-free h3 { color: #fff; font-size: 1.6rem; }
.online-free p { color: #e3efd6; }
.online-ic { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; background: linear-gradient(150deg, #2d8cff, #1b5fd1); display: grid; place-items: center; margin-bottom: 1rem; }
.online-ic svg { width: 64px; fill: #fff; }
.note-box { background: var(--green-700); color: #fff; padding: 1.3rem 1.5rem; border-radius: 18px; font-weight: 600; margin: 1.2rem 0; }
.note-box.note-plain { background: var(--cream); color: var(--ink); font-weight: 400; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--green-800), var(--green-600)); color: #fff; text-align: center; padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3efd6; font-size: 1.12rem; max-width: 640px; margin: 0 auto 1.6rem; }
.cta-band .btn { margin: .3rem; }
.cta-band-in { position: relative; }

/* ---------- Forms ---------- */
.apply-layout { display: grid; grid-template-columns: 360px 1fr; gap: 2.5rem; align-items: start; }
.apply-info { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 100px; }
.info-box { background: var(--cream); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.info-box h2 { font-size: 1.25rem; }
.info-box .check-list li { font-size: .97rem; }
.info-mail { background: var(--green-700); color: #e3efd6; }
.info-mail a { color: #fff; font-weight: 800; word-break: break-all; }
.info-mail p { margin-bottom: .3rem; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1rem; }
.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin-bottom: .9rem; color: var(--ink-2); font-size: .97rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--gold); color: #1d1500; display: grid; place-items: center; font: 900 .9rem var(--font-head); }
.steps strong { color: var(--ink); }

.apply-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.apply-form fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
.apply-form legend { font: 800 1.25rem var(--font-head); color: var(--green-950); display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; padding: 0; }
.apply-form legend span { width: 34px; height: 34px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.apply-form legend small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.form-title { font-size: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; margin-bottom: 1.05rem; }
.field label { font-weight: 700; font-size: .96rem; margin-bottom: .35rem; color: var(--ink); }
.field label b, .check b, .form-submit b { color: var(--danger); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=search], input[type=password], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fbfcf7;
  border: 1.5px solid #cfd9bf; border-radius: 12px; padding: .72em .9em; transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { resize: vertical; min-height: 3em; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px rgba(94,154,30,.15); }
[aria-invalid="true"] { border-color: var(--danger) !important; background: #fff6f5 !important; }
.field-error { color: var(--danger); font-size: .88rem; margin-top: .3rem; font-weight: 600; display: block; }
.check { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; background: var(--cream); border-radius: 12px; margin-bottom: .6rem; cursor: pointer; border: 1.5px solid transparent; }
.check.is-invalid { border-color: var(--danger); background: #fff6f5; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--green-700); flex-shrink: 0; }
.check span { font-size: .97rem; }
.form-submit { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form-submit p { margin: 0; }
.veli-fieldset.is-required { background: #fffcf2; border: 1.5px solid #f6d27a; border-radius: 18px; padding: 1.2rem 1.2rem .2rem; }
.veli-fieldset.is-optional { opacity: .7; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1.2rem; font-weight: 600; }
.alert-err { background: #fdecea; color: var(--danger); border: 1px solid #f5c2bd; }
.alert-ok { background: var(--green-100); color: var(--green-800); border: 1px solid #c6e0a5; }

.success-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.6rem, 4vw, 3rem); text-align: center; box-shadow: var(--shadow); }
.success-card .btn { margin: .3rem; }
.success-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin: 0 auto 1rem; font-size: 2.2rem; font-weight: 900; }
.code-box { display: inline-flex; flex-direction: column; align-items: center; gap: .4rem; background: var(--cream); border: 2px dashed var(--green-500); border-radius: 18px; padding: 1.2rem 2rem; margin: .6rem 0 1rem; }
.code-box span { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.code-box strong { font: 900 2rem var(--font-head); letter-spacing: .08em; color: var(--green-800); }

.query-form .btn { width: 100%; margin-bottom: 1rem; }
.status-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow); }
.status-badge { display: inline-block; padding: .5em 1.2em; border-radius: 999px; font: 900 1.05rem var(--font-head); background: var(--green-100); color: var(--green-800); margin-bottom: 1.4rem; }
.status-red .status-badge { background: #fdecea; color: var(--danger); }
.status-mulakat .status-badge { background: #fff1d1; color: #8a5a00; }
.progress-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0 0 1.4rem; gap: .4rem; }
.progress-steps li { text-align: center; font-size: .85rem; font-weight: 700; color: var(--muted); padding-top: 1.6rem; position: relative; }
.progress-steps li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--line); }
.progress-steps li.done { color: var(--green-700); }
.progress-steps li.done::before { background: var(--green-600); box-shadow: 0 0 0 5px var(--green-100); }
.progress-steps li.fail::before { background: var(--danger); }

.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 1.3rem; }
.faq summary { cursor: pointer; padding: 1.1rem 0; font: 800 1.05rem var(--font-head); color: var(--green-950); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1rem; margin: 0; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.3rem; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--green-500); transform: translateY(-2px); color: var(--ink); }
.contact-card small { display: block; color: var(--muted); font-size: .85rem; }
.contact-card strong { font-family: var(--font-head); color: var(--green-800); word-break: break-all; }
.contact-ic { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; background: var(--green-700); display: grid; place-items: center; }
.contact-ic svg { width: 24px; fill: #fff; }

.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2.4rem; flex-wrap: wrap; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink-2); background: #fff; }
.pagination a.is-active { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--green-950); color: #b8c9a6; padding: 4rem 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; position: relative; }
.footer-brand img { border-radius: 18px; margin-bottom: 1rem; }
.footer-brand p { max-width: 320px; }
.social-row { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.social-row a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .2s, transform .2s; }
.social-row a:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.social-row svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #d6e5c5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.contact-list a { word-break: break-all; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.3rem 0; font-size: .88rem; position: relative; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .stages { grid-template-columns: repeat(4, 1fr); }
  .online-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .apply-layout { grid-template-columns: 1fr; }
  .apply-info { position: static; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .two-col, .blog-layout, .contact-layout { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .hero-visual { width: min(360px, 90%); }
  .hero-badge { left: -8px; }
  .daily-grid { grid-template-columns: 1fr; }
  .pillars, .features, .post-grid, .schedule { grid-template-columns: 1fr 1fr; }
  .sidebar, .cta-card { position: static; }
  .tab-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .pillars, .features, .post-grid, .post-grid-2, .schedule, .online-grid, .reason-grid, .timeline, .footer-grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .daily-card { padding: 1.6rem 1.2rem 1.3rem; }
  .moon-intro { flex-direction: column; text-align: center; padding: 1.4rem; }
  .hero-facts { gap: 1rem 1.6rem; }
  .hero-facts strong { font-size: 1.3rem; }
  .duyuru-item { padding: 1rem; gap: .8rem; }
  .duyuru-date { width: 52px; }
  .tab-list button { padding: .9rem .4rem; }
  .compass-label { font-size: .75rem; }
  .progress-steps li { font-size: .75rem; }
}
