/* =========================================================
   Ramazan İzol — Resmî Web Sitesi
   ========================================================= */

:root {
  --bg: #0a1730;
  --bg-2: #0d1e3e;
  --bg-deep: #071024;
  --panel: #0f2347;
  --panel-2: #132b56;
  --ink: #0a1730;
  --turq: #2bb5d4;
  --gold: #c19a5b;
  --gold-light: #e0c48f;
  --gold-dark: #9c7a41;
  --white: #ffffff;
  --text: #cfd6e3;
  --muted: #98a4ba;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .28);

  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius: 10px;
  --shadow-sm: 0 2px 14px rgba(0, 0, 0, .25);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --container: 1240px;
  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; color: var(--white); margin: 0; }
h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--gold-light); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 4px;
  font-family: var(--serif); font-weight: 700; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: .75rem; }
.btn--primary,
.btn--accent {
  background: linear-gradient(180deg, #cba566 0%, #a8834a 100%);
  border-color: rgba(255, 255, 255, .18); color: var(--ink);
}
.btn--primary:hover,
.btn--accent:hover { background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%); box-shadow: 0 12px 30px -12px rgba(193, 154, 91, .8); }
.btn--ghost { border-color: var(--line-strong); color: var(--white); background: rgba(7, 16, 36, .35); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9375rem; color: var(--gold-light);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: gap .25s var(--ease), color .25s;
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { gap: 14px; color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 18, 40, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s;
}
.header.is-scrolled { background: rgba(7, 16, 36, .97); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .8); }
.header__inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.brand__logos { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand__logo {
  flex: none; width: 50px; height: 50px; border-radius: 50%;
  /* Logonun yalnızca amblem kısmı (alt yazı kırpılır) */
  background: url("../img/tdgv-logo.png") -15px -3px / 80px auto no-repeat;
}
.brand__logo--tdt { background: url("../img/tdt-logo.svg") center / contain no-repeat; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--serif); font-size: 1.375rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--white); }
.brand__text small span { display: block; }
.brand__text small { margin-top: 3px; font-size: .7rem; font-weight: 500; line-height: 1.35; color: #c3ccdb; }

.nav { display: flex; align-items: center; justify-content: center; gap: 15px; flex: 1; }
.nav a {
  position: relative; font-family: var(--serif); font-size: .74rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: #e4e9f2; white-space: nowrap;
  padding: 12px 0; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover,
.nav a[aria-current="page"] { color: var(--white); }

.header__social { display: flex; gap: 10px; flex: none; }
.header__social a,
.footer__social a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); transition: background .25s, border-color .25s;
}
.header__social svg,
.footer__social svg { width: 14px; height: 14px; fill: var(--white); transition: fill .25s; }
.header__social a:hover,
.footer__social a:hover { background: var(--gold); border-color: var(--gold); }
.header__social a:hover svg,
.footer__social a:hover svg { fill: var(--ink); }

.burger { display: none; flex: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(580px, 80vh, 740px);
  padding: 64px 0 140px;
  background: var(--bg); color: var(--white);
}
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; margin: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10, 23, 48, .82) 14%, rgba(10, 23, 48, .2) 40%, rgba(10, 23, 48, 0) 60%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 23, 48, 0) 30%),
    linear-gradient(180deg, rgba(8, 18, 40, .55) 0%, rgba(8, 18, 40, 0) 22%);
}
.hero__pattern,
.foundation__pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image:
    radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
          mask-image: linear-gradient(to right, transparent, #000 60%);
}
.hero > .hero__pattern {
  -webkit-mask-image: linear-gradient(to right, #000, transparent 50%);
          mask-image: linear-gradient(to right, #000, transparent 50%);
}
.hero__content { position: relative; max-width: 660px; }
.hero__tag {
  display: inline-block; margin: 0 0 22px; padding: 5px 12px; border-radius: 2px;
  background: linear-gradient(180deg, #b8935a 0%, #94733f 100%);
  font-family: var(--serif); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white);
}
.hero__title {
  font-size: clamp(3.25rem, 7vw, 5.5rem); font-weight: 700; line-height: .98; text-transform: uppercase;
  margin-bottom: 22px; text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero__title span {
  display: block; text-shadow: none;
  background: linear-gradient(180deg, #d9b678 0%, #a17c41 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}
.hero__role { font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; line-height: 1.45; color: var(--white); margin-bottom: 18px; }
.hero__role span { display: block; margin-top: 4px; font-size: 1.0625rem; font-weight: 500; color: #d3dbe8; }
.hero__lead { max-width: 500px; color: rgba(255, 255, 255, .86); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Rakamlar ---------- */
.stats { position: relative; z-index: 2; margin-top: -84px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, #11284f 0%, #0c1d3e 100%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 0;
}
.stat { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 8px 14px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat svg { flex: none; width: 48px; height: 48px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.stat__text { display: flex; flex-direction: column; }
.stat span { font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #dfe5ef; line-height: 1.4; }
.stat strong { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold-light); line-height: 1.25; }

/* ---------- Öne çıkan kartlar ---------- */
.features { padding: 30px 0 0; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--panel) 0%, #0a1934 100%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-6px); border-color: rgba(224, 196, 143, .5); box-shadow: var(--shadow); }
.feature__media { position: relative; height: 170px; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--panel-2), #0a1934 75%); }
.feature__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 30, 62, 0) 35%, #0d1f40 100%);
}
.feature__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature:hover .feature__media > img { transform: scale(1.05); }
.feature__media--logo { display: grid; place-items: center; }
.feature__media--logo > img { width: auto; height: 78%; object-fit: contain; }
.feature__media--books { display: flex; align-items: flex-end; justify-content: center; gap: 12px; padding-top: 22px; }
.feature__media--books > img { width: 27%; height: auto; aspect-ratio: 2 / 3; border-radius: 2px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8); }
.feature__media--books > img:nth-child(2) { width: 31%; }
.feature__media--icons { display: flex; align-items: center; justify-content: center; gap: 14px; }
.feature__media--icons svg {
  width: 46px; height: 46px; padding: 13px; border-radius: 50%;
  border: 1px solid rgba(224, 196, 143, .45); fill: var(--gold-light);
}
.feature__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 6px 28px 28px; }
.feature h3 { font-size: 1.125rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 8px; }
.feature p { font-size: 1rem; line-height: 1.5; color: #dbe1ec; margin-bottom: 20px; }
.feature .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Bölümler ---------- */
.section { padding: 110px 0; }
.section--tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { margin-bottom: 56px; max-width: 680px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__sub { margin: 14px 0 0; color: var(--muted); }

/* ---------- Hakkında ---------- */
.about__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.about__main p { color: var(--text); }
.about__main .lead { color: var(--white); font-weight: 500; }
.about__main strong { color: var(--white); }
.about__side { display: grid; gap: 22px; }

.card {
  background: linear-gradient(180deg, var(--panel) 0%, #0c1c3b 100%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.card--info dl { margin: 0; display: grid; gap: 14px; }
.card--info dl div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; }
.card--info dl div.stack { grid-template-columns: 1fr; gap: 2px; }
.card--info dt { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-light); padding-top: 3px; }
.card--info dd { margin: 0; font-weight: 500; color: var(--white); }

.edu { display: grid; gap: 16px; }
.edu li { position: relative; padding-left: 22px; font-weight: 500; color: var(--white); line-height: 1.5; }
.edu li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.edu span { display: block; font-size: .8125rem; font-weight: 500; color: var(--muted); }

/* ---------- Kronoloji ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 120px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--gold), rgba(193, 154, 91, .15));
}
.timeline__item { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 44px; padding: 0 0 40px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: 114px; top: 10px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--gold);
  transition: background .3s, transform .3s var(--ease);
}
.timeline__item:hover::before { background: var(--gold); transform: scale(1.25); }
.timeline__item time { font-family: var(--serif); font-size: 1.375rem; font-weight: 700; color: var(--gold-light); line-height: 1; text-align: right; padding-right: 8px; }
.timeline__item h3 { font-size: 1.125rem; margin-bottom: 4px; }
.timeline__item p { margin: 0; color: var(--muted); }

/* ---------- Vakıf ---------- */
.foundation {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--bg-deep) 0%, #0e2146 55%, #123a5c 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, .78);
  padding: 120px 0;
}
.foundation__pattern { -webkit-mask-image: linear-gradient(to left, transparent, #000 70%); mask-image: linear-gradient(to left, transparent, #000 70%); }
.foundation__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.foundation__logo {
  display: grid; place-items: center; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%);
  border: 1px solid rgba(255, 255, 255, .08); padding: 13%;
}
.foundation__logo img { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.foundation h2 { color: var(--white); margin-bottom: 22px; }
.foundation__content > p { max-width: 580px; color: rgba(255, 255, 255, .85); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.pillars { display: grid; gap: 4px; margin: 30px 0 38px; }
.pillars li {
  display: grid; grid-template-columns: 200px 1fr; gap: 20px;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.pillars li:last-child { border-bottom: 1px solid var(--line); }
.pillars strong { color: var(--gold-light); font-size: 1rem; font-weight: 600; }
.pillars span { color: rgba(255, 255, 255, .82); }

/* ---------- Eserler ---------- */
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.book {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel) 0%, #0c1c3b 100%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.book:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(224, 196, 143, .5); }
.book__cover {
  display: grid; place-items: center; padding: 40px 0;
  background: radial-gradient(circle at 50% 35%, #1b3a70 0%, #0b1a37 75%);
  border-bottom: 1px solid var(--line);
}
.book__cover img {
  width: 58%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 6px 6px 2px;
  box-shadow: -6px 0 0 -2px rgba(0, 0, 0, .3), 0 24px 40px -14px rgba(0, 0, 0, .8);
  transition: transform .5s var(--ease);
}
.book:hover .book__cover img { transform: perspective(800px) rotateY(-8deg) scale(1.03); }
.book__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.book__meta { font-size: .8125rem; font-weight: 500; letter-spacing: .03em; color: var(--gold-light); margin-bottom: 10px; }
.book h3 { font-size: 1.375rem; margin-bottom: 8px; }
.book p { color: var(--muted); }
.book .link-arrow { margin-top: auto; align-self: flex-start; }

.other-works {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: 40px; padding: 22px 28px; border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
}
.other-works span { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.other-works p { margin: 0; font-weight: 500; color: var(--white); }

/* ---------- İletişim ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.social {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(180deg, var(--panel) 0%, #0c1c3b 100%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  padding: 22px; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.social svg {
  flex: none; width: 46px; height: 46px; padding: 12px; border-radius: 50%;
  border: 1px solid rgba(224, 196, 143, .45); fill: var(--gold-light);
  transition: background .25s, fill .25s;
}
.social span { display: flex; flex-direction: column; font-size: .9375rem; color: var(--muted); line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.social strong { color: var(--white); font-size: 1rem; }
.social:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.social:hover svg { background: var(--gold); fill: var(--ink); }

.card--office { padding: 36px; border-top: 3px solid var(--gold); }
.office__logo { width: 70px; margin-bottom: 16px; }
.card--office h3 small { display: block; font-family: var(--body); font-size: .875rem; font-weight: 500; color: var(--muted); margin-top: 6px; }
.office { display: grid; gap: 16px; }
.office li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; color: var(--white); font-weight: 500; }
.office span { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-light); padding-top: 4px; }
.office a { overflow-wrap: anywhere; transition: color .2s; }
.office a:hover { color: var(--gold-light); }

/* ---------- İç sayfa başlığı ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(900px 400px at 90% 0%, #1a3566 0%, transparent 60%),
              linear-gradient(160deg, var(--bg-deep) 0%, #0e2146 100%);
  border-bottom: 1px solid var(--line);
  padding: 80px 0 88px;
}
.page-hero__inner { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 12px; }
.page-hero p { max-width: 620px; margin: 0; color: rgba(255, 255, 255, .82); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .875rem; font-weight: 500; color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: #dfe5ef; transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--gold-light); }

/* ---------- Anasayfa blokları ---------- */
.intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.intro__body p { color: var(--text); }
.intro__body .lead { color: var(--white); font-weight: 500; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.cta { padding: 0 0 110px; }
.cta__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  background: linear-gradient(120deg, #11284f 0%, #0c1d3e 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 56px 60px; color: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
}
.cta h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin-bottom: 8px; }
.cta p { margin: 0; }

/* ---------- Biyografi sayfası ---------- */
.about__photo { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 28%; }
.about__h { font-size: 1.5rem; margin: 44px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.about__photo + .about__h { margin-top: 0; padding-top: 0; border-top: 0; }
.about__main a:not(.link-arrow) { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.about__side { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- Sosyal medya sayfası ---------- */
.socials--lg { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.social--lg { padding: 36px; gap: 24px; }
.social--lg svg { width: 64px; height: 64px; padding: 18px; }
.social--lg span { font-size: 1rem; color: var(--gold-light); font-weight: 500; }
.social--lg strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.social em { display: block; margin-top: 8px; font-style: normal; font-weight: 400; color: var(--muted); font-size: .9375rem; }

/* ---------- Harita ---------- */
.map { line-height: 0; border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.35); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); color: rgba(255, 255, 255, .75); padding: 80px 0 0; font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; padding-bottom: 56px; }
.footer__about p { margin: 20px 0 24px; max-width: 360px; }
.footer h4 { margin: 0 0 20px; font-family: var(--serif); font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.footer__links { display: grid; gap: 12px; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: 10px; }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 24px; font-size: .875rem; }
.footer__bottom p { margin: 0; }

/* ---------- Başa dön ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--ink); font-size: 1.2rem; font-weight: 700;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-light); }

/* ---------- Görünme animasyonu ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .burger { display: block; }
  .header__inner { justify-content: space-between; gap: 16px; }
  .header__social { margin-left: auto; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: var(--bg-deep); padding: 12px 24px 28px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold-light); }
}

@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); padding: 8px 0; }
  .stat { justify-content: flex-start; padding: 20px 28px; }
  .stat:nth-child(3n) { border-right: 0; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__side { position: static; grid-template-columns: 1fr 1fr; }
  .foundation__grid { gap: 48px; }
  .pillars li { grid-template-columns: 1fr; gap: 4px; }
  .books { gap: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand__logos { gap: 6px; }
  .brand__logo { width: 40px; height: 40px; background-position: -12px -3px; background-size: 64px auto; }
  .brand__logo--tdt { background-position: center; background-size: contain; }
  .brand__text strong { font-size: 1.125rem; }
  .brand__text small { font-size: .7rem; }
  .hero { display: block; min-height: 0; padding: 0 0 120px; }
  .hero__media { position: relative; width: 100%; height: 56vw; min-height: 280px; max-height: 460px; }
  .hero__media::after {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(10, 23, 48, 0) 45%),
      linear-gradient(180deg, rgba(8, 18, 40, .5) 0%, rgba(8, 18, 40, 0) 25%);
  }
  .hero > .hero__pattern { display: none; }
  .hero__content { margin-top: -28px; }
  .foundation__grid { grid-template-columns: 1fr; }
  .foundation__logo { max-width: 280px; margin: 0 auto; }
  .books { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .socials--lg { grid-template-columns: 1fr; }
  .cta__inner { padding: 40px 32px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header__social { display: none; }
  .section { padding: 80px 0; }
  .foundation { padding: 90px 0; }
  .page-hero { padding: 56px 0 64px; }
  .hero__role { font-size: 1.0625rem; }
  .hero__actions .btn { width: 100%; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(-n+3) { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 24px; }
  .stat:last-child { border-bottom: 0; }
  .stat svg { width: 40px; height: 40px; }
  .features__grid { grid-template-columns: 1fr; }
  .about__side { grid-template-columns: 1fr; }
  .card, .card--office { padding: 24px; }
  .card--info dl div, .office li { grid-template-columns: 1fr; gap: 2px; }
  .timeline::before { left: 6px; }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .timeline__item::before { left: 0; top: 6px; }
  .timeline__item time { text-align: left; font-size: 1.25rem; }
  .socials { grid-template-columns: 1fr; }
  .social--lg { padding: 24px; gap: 18px; }
  .social--lg svg { width: 52px; height: 52px; padding: 14px; }
  .cta { padding-bottom: 80px; }
  .cta__inner { padding: 32px 24px; }
  .cta__inner .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .map iframe { height: 320px; }
  .to-top { right: 16px; bottom: 16px; }
}

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

/* =========================================================
   Ek bileşenler: harita, yeni sayfalar
   ========================================================= */

/* ---------- Hero haritası ---------- */
.hero__map {
  position: absolute; top: 4%; left: -4%; width: 62%; height: 78%; pointer-events: none; opacity: .2;
  background: url("../img/turk-dunyasi.svg") center / contain no-repeat;
  -webkit-mask-image: radial-gradient(ellipse at 45% 50%, #000 35%, transparent 72%);
          mask-image: radial-gradient(ellipse at 45% 50%, #000 35%, transparent 72%);
}
.feature__media--map { display: grid; place-items: center; }
.feature__media--map > img { width: 118%; max-width: none; height: auto; object-fit: contain; }

/* ---------- Harita paneli ---------- */
.map-panel {
  margin: 0 0 80px; padding: 28px; overflow: hidden;
  background: radial-gradient(circle at 55% 45%, #14305f 0%, #0a1934 78%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); box-shadow: var(--shadow);
}
.map-panel img { width: 100%; border-radius: 6px; }

/* ---------- Ülkeler ---------- */
.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.country {
  display: flex; flex-direction: column; gap: 2px; padding: 24px 28px;
  background: linear-gradient(180deg, var(--panel) 0%, #0c1c3b 100%);
  border: 1px solid rgba(255, 255, 255, .12); border-left: 3px solid var(--gold); border-radius: var(--radius);
}
.country strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--white); }
.country span { font-size: .875rem; color: var(--muted); }

/* ---------- Kutu ızgarası ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tiles .card { border-top: 3px solid var(--gold); }
.tiles .card p { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.6; }

/* ---------- Yazı / haber listesi ---------- */
.posts { display: grid; gap: 16px; }
.posts:not(:empty) { margin-bottom: 32px; }
.posts:not(:empty) + .empty { display: none; }
.post {
  padding: 26px 30px;
  background: linear-gradient(180deg, var(--panel) 0%, #0c1c3b 100%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  transition: border-color .25s, transform .25s var(--ease);
}
.post:hover { border-color: rgba(224, 196, 143, .5); transform: translateY(-3px); }
.post time { display: block; font-size: .8125rem; letter-spacing: .04em; color: var(--gold-light); margin-bottom: 6px; }
.post h3 { margin-bottom: 6px; }
.post h3 a:hover { color: var(--gold-light); }
.post p { margin: 0; color: var(--muted); }
.empty {
  padding: 48px 32px; text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}
.empty h3 { margin-bottom: 8px; }
.empty p { max-width: 560px; margin: 0 auto 22px; color: var(--muted); }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 40%, var(--panel-2), #0a1934 80%);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s var(--ease);
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: auto; }
.gallery__item--wide img { position: absolute; inset: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .6s var(--ease); }
.gallery__item img[src$=".svg"] { object-fit: contain; padding: 16px; }
.gallery__item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 14px;
  background: linear-gradient(0deg, rgba(7, 16, 36, .92), rgba(7, 16, 36, 0));
  font-family: var(--serif); font-size: .9375rem; font-weight: 600; color: var(--white);
}
.gallery__item:hover { border-color: rgba(224, 196, 143, .6); box-shadow: var(--shadow); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery--covers { grid-template-columns: repeat(6, 1fr); }
.gallery__item--cover { aspect-ratio: 2 / 3; }
.gallery__item--cover img { object-position: center; }

.footer__links--cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.section > .cta__inner { max-width: calc(var(--container) - 48px); }

@media (max-width: 1024px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .gallery--covers { grid-template-columns: repeat(3, 1fr); }
  .map-panel { margin-bottom: 56px; padding: 16px; }
}
@media (max-width: 860px) {
  .hero__map { display: none; }
  .countries { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { aspect-ratio: 4 / 3; }
  .section > .cta__inner { margin: 0 24px; }
}
@media (max-width: 600px) {
  .tiles, .countries { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: auto; }
  .gallery--covers { grid-template-columns: 1fr 1fr; }
  .section > .cta__inner { margin: 0 16px; }
}

/* ---------- Türk Devletleri Teşkilatı ---------- */
.header .container { max-width: 1480px; }
.tdt { display: grid; grid-template-columns: 200px 1fr; gap: 64px; align-items: center; }
.tdt__logo { width: 200px; height: 200px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
.tdt .section__sub { max-width: 640px; margin-bottom: 22px; }
@media (max-width: 860px) {
  .tdt { grid-template-columns: 1fr; gap: 28px; }
  .tdt__logo { width: 130px; height: 130px; }
}
@media (max-width: 600px) {
  .brand { flex: 1 1 auto; min-width: 0; gap: 10px; }
  .brand__text { min-width: 0; }
  .brand__text small { font-size: .62rem; }
}
@media (max-width: 480px) {
  .brand__text small span { display: none; }
}
