/* =========================================================
   Dernek sitesi — 2026 tasarım sistemi
   Tüm renkler admin panelden gelen iki ana renkten türetilir:
   --primary (ana) ve --accent (vurgu)
   ========================================================= */
:root{
  --primary:#16324F;
  --accent:#D9A441;

  --ink: #111e2d;
  --deep: #12273d;
  --muted: #535e6d;
  --paper: #f9f7f3;
  --surface:#ffffff;
  --mist: #e3e7eb;
  --line: #cfd4db;
  --primary-soft: #eaedf0;
  --accent-ink: #37280b;
  --accent-soft: #f9efdf;
  --primary-ink: var(--primary);
  --night: #111e2d;
  --line-strong: rgba(22,50,79,0.35);
  --accent-hover: #deaf5d;
  --accent-glow: rgba(217,164,65,0.16);
  --primary-shadow: rgba(22,50,79,0.55);
  --ph-1: #4e5555;
  --ph-2: #354e68;
  --header-bg: rgba(249,247,243,0.86);
  --deep-fade: rgba(18,39,61,0.92);
  --accent-ink-18: rgba(55,40,11,0.18);
  --accent-ink-4: rgba(55,40,11,0.04);
  color-scheme: light;

  --r-xl:32px; --r-lg:22px; --r-md:14px;
  --danger:#b42318; --danger-soft:rgba(180,35,24,.14); --ok:#0f7a55; --ok-soft:#e3f5ee;
  --display:'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body:'Instrument Sans', ui-sans-serif, system-ui, sans-serif;

  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='800' viewBox='0 0 900 800'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.3'%3E%3Cpath d='M-20 80c140-50 260 60 400 10s280-70 540 20'/%3E%3Cpath d='M-20 150c150-55 270 70 410 18s280-75 530 22'/%3E%3Cpath d='M-20 220c160-60 280 80 420 26s280-80 520 24'/%3E%3Cpath d='M-20 290c170-60 290 90 430 34s280-85 510 26'/%3E%3Cellipse cx='690' cy='590' rx='55' ry='36'/%3E%3Cellipse cx='690' cy='590' rx='110' ry='72'/%3E%3Cellipse cx='690' cy='590' rx='165' ry='108'/%3E%3Cellipse cx='690' cy='590' rx='220' ry='144'/%3E%3Cellipse cx='690' cy='590' rx='275' ry='180'/%3E%3Cellipse cx='150' cy='690' rx='45' ry='30'/%3E%3Cellipse cx='150' cy='690' rx='90' ry='60'/%3E%3Cellipse cx='150' cy='690' rx='135' ry='90'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Koyu mod: tüm tonlar yine ana renklerden türetilir ---------- */
html[data-theme="dark"]{
  color-scheme: dark;
  --header-bg: rgba(14,21,29,0.86);
  --deep-fade: rgba(13,27,42,0.92);
  --ink:#e8ecf1;
  --muted: #8c97a5;
  --paper: #0e151d;
  --surface: #141f2c;
  --mist: #121c28;
  --line: #253140;
  --line-strong: #404c5e;
  --primary-soft: #1a293a;
  --primary-ink: #a2b0c0;
  --deep: #0d1b2a;
}
html[data-theme="dark"] .site-footer{border-top:1px solid var(--line)}
html[data-theme="dark"]{--danger:#f59a93; --danger-soft:rgba(245,154,147,.18); --ok:#5fd3a5; --ok-soft:rgba(95,211,165,.14)}
html[data-theme="dark"] .alert-err{background:#3b1a1c; color:#fca5a5}
html[data-theme="dark"] .quick-item, html[data-theme="dark"] .cookie-bar{box-shadow:0 0 0 1px var(--line), 0 24px 48px -28px rgba(0,0,0,.7)}
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after{
  transition:background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease !important;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0; font-family:var(--body); font-size:17px; line-height:1.6;
  color:var(--ink); background:var(--paper); -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
h1,h2,h3,h4{font-family:var(--display); line-height:1.1; letter-spacing:-.02em; margin:0; font-weight:700}
p{margin:0}
.container{width:100%; max-width:1240px; margin:0 auto; padding:0 20px}
@media (min-width:700px){.container{padding:0 32px}}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:3px solid var(--accent); outline-offset:3px; border-radius:6px;
}
.skip{position:absolute; left:-999px; top:8px; background:var(--accent); color:var(--accent-ink); padding:10px 16px; border-radius:10px; z-index:100}
.skip:focus{left:12px}

/* ---------- Butonlar ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:52px; padding:0 26px; border-radius:999px; border:0; cursor:pointer;
  font:600 16px/1 var(--body); transition:background-color .2s, color .2s, transform .2s;
}
.btn svg{width:18px; height:18px}
.btn-accent{background:var(--accent); color:var(--accent-ink)}
.btn-accent:hover{background:var(--accent-hover)}
.btn-ghost{background:transparent; color:#fff; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.35)}
.btn-ghost:hover{background:rgba(255,255,255,.08)}
.btn-dark{background:var(--night); color:#fff}
.btn-dark:hover{background:var(--primary)}
.btn-primary{background:var(--primary); color:#fff}
.btn-primary:hover{background:var(--deep)}
.btn-block{width:100%}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:60;
  border-bottom:1px solid var(--line);
}
/* Buzlu cam efekti ayrı katmanda: backdrop-filter başlığın kendisinde olursa
   içindeki sabit (fixed) mobil menüyü başlığın yüksekliğine hapseder */
.site-header::before{
  content:""; position:absolute; top:0; right:0; bottom:0; left:0; z-index:-1;
  background:var(--header-bg);
  backdrop-filter:saturate(1.4) blur(14px); -webkit-backdrop-filter:saturate(1.4) blur(14px);
}
.header-inner{height:76px; display:flex; align-items:center; justify-content:space-between; gap:24px}
.brand{display:flex; align-items:center; gap:12px; font-family:var(--display); font-weight:700; font-size:19px; letter-spacing:-.02em}
.brand-logo{height:44px; width:auto}
.brand-mark{
  width:40px; height:40px; flex:none; display:grid; place-items:center;
  background:var(--primary); color:var(--accent); font-size:16px; font-weight:800;
  border-radius:12px;
}

/* Uzun dernek adları: en fazla 2 satır, ekrana göre küçülür, düğmelerle çakışmaz */
.header-inner{gap:12px}
.brand{min-width:0; flex:0 1 auto}
.brand-name{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.15; font-size:clamp(14px, 4vw, 19px); overflow-wrap:break-word}
.brand-logo{max-width:min(240px, 52vw); object-fit:contain; object-position:left center}
.brand-logo + .brand-name{margin-left:0}
.brand:has(.brand-name) .brand-logo:not(.is-circle){max-width:min(150px, 34vw)}
.brand-logo.is-circle{width:44px; height:44px; max-width:none; flex:none; border-radius:50%; object-fit:cover; object-position:center; background:var(--surface); box-shadow:0 0 0 1px var(--line)}
.footer-brand .brand-logo.is-circle{box-shadow:0 0 0 2px rgba(255,255,255,.18)}
.credit{display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap}
.credit a{color:#fff; font-weight:600}
.credit a:hover{color:var(--accent)}
.credit .heart{width:14px; height:14px; fill:#E5383B; flex:none; display:inline-block; vertical-align:-2px}
.header-actions{flex:none}
.btn, .main-nav a{white-space:nowrap}
@media (min-width:1040px){
  .brand-name{max-width:250px; font-size:17px}
}

.menu-toggle{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--line); background:var(--surface);
  display:grid; place-content:center; gap:6px; cursor:pointer;
}
.menu-toggle span{display:block; width:18px; height:2px; background:var(--ink); border-radius:2px; transition:transform .25s}
.menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(4px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-4px) rotate(-45deg)}

.main-nav{
  position:fixed; top:76px; right:0; bottom:0; left:0; background:var(--primary) var(--topo) no-repeat right bottom;
  display:flex; flex-direction:column; padding:24px 20px 40px; overflow-y:auto;
  visibility:hidden; opacity:0; transform:translateY(-10px);
  transition:opacity .25s, transform .25s, visibility 0s .25s;
}
.main-nav.open{visibility:visible; opacity:1; transform:none; transition:opacity .25s, transform .25s}
.main-nav a{font-family:var(--display); font-size:30px; font-weight:600; color:#fff; padding:10px 0; letter-spacing:-.02em}
.main-nav a.is-active{color:var(--accent)}
.main-nav .nav-cta{margin-top:24px; align-self:flex-start; font-family:var(--body); font-size:16px; padding:0 26px; color:var(--accent-ink)}
body.menu-open .site-header::before{background:var(--paper)}
/* Kısa ekranlı telefonlarda (iPhone SE vb.) tüm menü tek ekrana sığsın */
@media (max-height:720px) and (max-width:1039px){
  .main-nav{padding-top:16px; padding-bottom:24px}
  .main-nav a{font-size:23px; padding:8px 0}
  .main-nav .nav-cta{margin-top:14px; min-height:48px; font-size:16px; padding:0 24px}
}
/* Yan çevrilmiş telefon: bağlantılar iki sütunda */
@media (max-height:480px) and (max-width:1039px){
  .main-nav{display:grid; grid-template-columns:1fr 1fr; align-content:start; column-gap:24px; padding-top:10px; padding-bottom:16px}
  .main-nav a{font-size:19px; padding:7px 0}
  .main-nav .nav-cta{grid-column:1 / -1; justify-self:start; margin-top:10px; min-height:44px}
}
body.menu-open{overflow:hidden}

@media (min-width:1040px){
  .menu-toggle{display:none}
  .main-nav{
    position:static; visibility:visible; opacity:1; transform:none; background:none;
    flex-direction:row; align-items:center; gap:4px; padding:0; overflow:visible;
  }
  .main-nav a{font-family:var(--body); font-size:15px; font-weight:500; color:var(--muted); padding:8px 12px; border-radius:10px}
  .main-nav a:hover{color:var(--ink)}
  .main-nav a.is-active{color:var(--ink); box-shadow:inset 0 -2px 0 var(--accent); border-radius:0}
  .main-nav .nav-cta{margin:0 0 0 12px; color:var(--accent-ink); min-height:44px; padding:0 20px; border-radius:999px; box-shadow:none}
  .main-nav .nav-cta:hover{color:var(--accent-ink)}
}
@media (min-width:1040px) and (max-width:1239px){
  .main-nav a{padding:8px 9px; font-size:14.5px}
  .main-nav .nav-cta{margin-left:6px; padding:0 16px}
}

.header-actions{display:flex; align-items:center; gap:8px}
.theme-toggle{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--line); background:var(--surface);
  color:var(--ink); display:grid; place-items:center; cursor:pointer; flex:none;
}
.theme-toggle:hover{border-color:var(--line-strong)}
.theme-toggle svg{width:20px; height:20px}
.theme-toggle .i-sun{display:none}
html[data-theme="dark"] .theme-toggle .i-sun{display:block}
html[data-theme="dark"] .theme-toggle .i-moon{display:none}
@media (min-width:1040px){.header-actions{margin-left:4px}.theme-toggle{width:42px; height:42px}}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden; color:#fff;
  background:
    radial-gradient(900px 480px at 92% -10%, var(--accent-glow), transparent 65%),
    var(--topo) no-repeat right -120px bottom -80px,
    var(--primary);
  padding:56px 0 132px;
}
@media (min-width:900px){.hero{padding:96px 0 168px}}
.hero-grid{display:grid; gap:48px; align-items:center}
@media (min-width:960px){.hero-grid{grid-template-columns:1.3fr 1fr; gap:72px}}
.hero h1{font-size:clamp(42px, 7.4vw, 92px); line-height:.98; letter-spacing:-.04em; font-weight:700; text-wrap:balance; margin-bottom:26px}
.hero-lead{font-size:clamp(17px, 1.6vw, 20px); color:rgba(255,255,255,.78); max-width:46ch; margin-bottom:34px}
.hero-actions{display:flex; flex-wrap:wrap; gap:12px}

/* Hero görseli: yuvarlak köşeli dikdörtgen */
.hero-media{
  position:relative; aspect-ratio:4/3; margin:0;
  border-radius:var(--r-lg); overflow:hidden;
  background:var(--deep); box-shadow:0 40px 80px -40px rgba(0,0,0,.55);
  outline:1px solid rgba(255,255,255,.12); outline-offset:8px;
}
@media (min-width:960px){.hero-media{aspect-ratio:4/5; border-radius:var(--r-xl); outline-offset:12px}}
.hero-media img, .hero-media .ph{width:100%; height:100%; object-fit:cover}

@media (prefers-reduced-motion:no-preference){
  .hero h1, .hero-lead, .hero-actions, .hero-media{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
  .hero-lead{animation-delay:.08s}
  .hero-actions{animation-delay:.16s}
  .hero-media{animation-delay:.24s}
}

/* Anasayfa duyuru kutusu (haberlerin yanında) */
.notice-box{background:var(--mist); border-radius:var(--r-lg); padding:22px 22px 8px}
.notice-box h3{font-size:18px; margin-bottom:6px}
.notice-box a{display:flex; justify-content:space-between; gap:16px; padding:13px 0; border-top:1px solid var(--line); font-size:15px; font-weight:500}
.notice-box a:first-of-type{border-top:0}
.notice-box a span:last-child{color:var(--muted); white-space:nowrap; font-weight:400; font-size:14px}
.notice-box a:hover span:first-child{color:var(--primary-ink)}
@keyframes rise{from{opacity:0; transform:translateY(18px)}to{opacity:1; transform:none}}

/* ---------- Hızlı erişim ---------- */
.quick{position:relative; z-index:2; margin-top:-80px}
.quick-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:12px}
@media (min-width:900px){.quick-grid{grid-template-columns:repeat(4,1fr); gap:18px}}
.quick-item{
  display:flex; flex-direction:column; gap:14px; padding:20px; min-height:150px;
  background:var(--surface); border-radius:var(--r-lg);
  box-shadow:0 1px 0 var(--line), 0 24px 48px -28px var(--primary-shadow);
  transition:transform .2s;
}
.quick-item:hover{transform:translateY(-3px)}
.quick-icon{width:44px; height:44px; border-radius:13px; display:grid; place-items:center; background:var(--primary-soft); color:var(--primary-ink)}
.quick-icon svg{width:22px; height:22px}
.quick-item strong{font-family:var(--display); font-size:18px; letter-spacing:-.01em; display:block; margin-top:auto}
.quick-item small{font-size:14px; color:var(--muted); line-height:1.4}

/* ---------- Bölümler ---------- */
.section{padding:80px 0}
@media (min-width:900px){.section{padding:112px 0}}
.section.is-mist{background:var(--mist)}
.section.is-flush-top{padding-top:0}
.section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:36px; flex-wrap:wrap}
.section-head h2{font-size:clamp(30px, 4.2vw, 48px); letter-spacing:-.03em}
.section-head p{color:var(--muted); max-width:52ch; margin-top:10px}
.link-more{font-weight:600; color:var(--primary-ink); padding-bottom:3px; border-bottom:2px solid var(--accent); white-space:nowrap}
.link-more:hover{color:var(--ink)}

.meta{display:flex; flex-wrap:wrap; align-items:center; gap:10px; font-size:14px; color:var(--muted)}
.tag{display:inline-block; font-size:13px; font-weight:600; padding:4px 11px; border-radius:999px; background:var(--primary-soft); color:var(--primary-ink)}

/* Görsel yer tutucu (görsel yüklenmemişse) */
.ph{width:100%; height:100%; min-height:100%; background:var(--topo) no-repeat center/180%, linear-gradient(140deg, var(--primary), var(--deep))}
.ph-1{background:var(--topo) no-repeat left bottom/170%, linear-gradient(140deg, var(--ph-1), var(--primary))}
.ph-2{background:var(--topo) no-repeat right top/160%, linear-gradient(160deg, var(--deep), var(--ph-2))}

/* ---------- Haberler (anasayfa) ---------- */
.news-layout{display:grid; gap:20px}
@media (min-width:960px){.news-layout{grid-template-columns:1.3fr 1fr; gap:24px}}
.news-feature{
  position:relative; display:flex; align-items:flex-end; min-height:440px;
  border-radius:var(--r-xl); overflow:hidden; color:#fff; isolation:isolate;
}
.news-feature .media{position:absolute; top:0; right:0; bottom:0; left:0; z-index:-2}
.news-feature .media img{width:100%; height:100%; object-fit:cover; transition:transform .6s}
.news-feature:hover .media img{transform:scale(1.03)}
.news-feature::after{content:""; position:absolute; top:0; right:0; bottom:0; left:0; z-index:-1; background:linear-gradient(180deg, transparent 30%, var(--deep-fade))}
.news-feature .body{padding:30px}
.news-feature .tag{background:var(--accent); color:var(--accent-ink)}
.news-feature .meta{color:rgba(255,255,255,.75); margin-bottom:12px}
.news-feature h3{font-size:clamp(24px, 2.6vw, 34px); letter-spacing:-.025em; margin-bottom:10px; max-width:22ch}
.news-feature p{color:rgba(255,255,255,.8); max-width:52ch}

.news-side{display:grid; gap:14px; align-content:start}
.news-row{
  display:grid; grid-template-columns:104px 1fr; gap:18px; align-items:center; padding:12px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
}
@media (min-width:600px){.news-row{grid-template-columns:150px 1fr}}
.news-row .thumb{aspect-ratio:1; border-radius:var(--r-md); overflow:hidden}
.news-row .thumb img{width:100%; height:100%; object-fit:cover}
.news-row h3{font-size:18px; line-height:1.25; margin:8px 0 0}
.news-row:hover h3{color:var(--primary-ink)}

/* ---------- Etkinlikler ---------- */
.events-wrap{display:grid; gap:36px}
@media (min-width:960px){.events-wrap{grid-template-columns:1fr 1.7fr; gap:64px}}
.events-intro h2{font-size:clamp(30px, 4.2vw, 48px); letter-spacing:-.03em; margin-bottom:14px}
.events-intro p{color:var(--muted); margin-bottom:24px; max-width:40ch}
.event-list{border-top:1px solid var(--line)}
.event-row{display:grid; grid-template-columns:70px 1fr auto; gap:18px; align-items:center; padding:22px 0; border-bottom:1px solid var(--line)}
.event-date .d{font-family:var(--display); font-size:42px; font-weight:700; line-height:1; color:var(--primary-ink); letter-spacing:-.03em}
.event-date .m{font-size:14px; color:var(--muted)}
.event-row h3{font-size:clamp(18px, 1.8vw, 21px); line-height:1.25; margin-bottom:4px}
.event-row p{color:var(--muted); font-size:15px}
.event-go{width:46px; height:46px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--line); color:var(--primary-ink); background:var(--surface); transition:background-color .2s, color .2s}
.event-go svg{width:18px; height:18px}
.event-row:hover .event-go{background:var(--accent); border-color:var(--accent); color:var(--accent-ink)}
.event-row.is-past{opacity:.55}

/* ---------- Başkanın mesajı ---------- */
.message{display:grid; gap:32px; align-items:center}
@media (min-width:860px){.message{grid-template-columns:auto 1fr; gap:64px}}
.arch{border-radius:var(--r-lg); overflow:hidden; background:var(--mist)}
.arch img, .arch .ph{width:100%; height:100%; object-fit:cover}
.message .arch{width:200px; height:240px; border-radius:var(--r-xl)}
.initials{width:100%; height:100%; display:grid; place-items:center; background:var(--primary) var(--topo) no-repeat center/300%; color:var(--accent); font-family:var(--display); font-size:52px; font-weight:700}
.message blockquote{margin:0 0 22px; font-family:var(--display); font-size:clamp(24px, 3.1vw, 38px); line-height:1.2; letter-spacing:-.02em; font-weight:500; max-width:30ch; text-wrap:pretty}
.message blockquote::before{content:"“"; display:block; font-size:96px; line-height:.55; color:var(--accent); margin-bottom:10px}
.message cite{font-style:normal; display:block; font-weight:600}
.message cite span{display:block; font-weight:400; color:var(--muted); font-size:15px}
.message .link-more{display:inline-block; margin-top:20px}

/* ---------- Anasayfa: yönetim kurulu ---------- */
.board-home{display:grid; gap:44px; align-items:center}
@media (min-width:960px){.board-home{grid-template-columns:1fr 1.25fr; gap:72px}}
.board-intro h2{font-size:clamp(30px, 4.2vw, 48px); letter-spacing:-.03em; margin-bottom:22px}
.board-intro p{color:var(--muted); margin-bottom:22px; max-width:40ch}
.board-intro blockquote{margin:0 0 18px; font-family:var(--display); font-size:clamp(20px, 2.2vw, 26px); line-height:1.3; letter-spacing:-.015em; font-weight:500; max-width:34ch}
.board-intro blockquote::before{content:"“"; display:block; font-size:72px; line-height:.55; color:var(--accent); margin-bottom:8px}
.board-intro cite{font-style:normal; display:block; font-weight:600; margin-bottom:24px}
.board-intro cite span{display:block; font-weight:400; color:var(--muted); font-size:15px}

.member-grid{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,1fr); gap:32px 16px}
@media (min-width:640px){.member-grid{grid-template-columns:repeat(3,1fr)}}
.member-grid.is-wide{gap:44px 20px}
@media (min-width:960px){.member-grid.is-wide{grid-template-columns:repeat(4,1fr)}.member-grid.is-wide .avatar{width:160px; height:160px}}
.member{text-align:center}
.member .avatar{width:112px; height:112px; margin:0 auto 14px; border-radius:50%; overflow:hidden; background:var(--mist); box-shadow:0 0 0 4px var(--paper), 0 0 0 5px var(--line)}
@media (min-width:960px){.member .avatar{width:128px; height:128px}}
.member.is-lead .avatar{box-shadow:0 0 0 4px var(--paper), 0 0 0 7px var(--accent)}
.member .avatar img{width:100%; height:100%; object-fit:cover}
.member .initials{font-size:36px}
.member h3{font-size:17px; line-height:1.25; margin-bottom:3px}
.member p{font-size:14px; color:var(--muted)}

/* ---------- Bağış bandı ---------- */
.donate-band{
  display:grid; gap:24px; align-items:center; padding:44px 28px; border-radius:var(--r-xl);
  background:var(--accent); color:var(--accent-ink); position:relative; overflow:hidden;
}
.donate-band::after{
  content:""; position:absolute; right:-60px; bottom:-120px; width:340px; height:420px;
  border-radius:999px 999px 0 0; border:1.5px solid var(--accent-ink-18);
  box-shadow:0 0 0 40px var(--accent-ink-4);
}
@media (min-width:900px){.donate-band{grid-template-columns:1.5fr auto; padding:64px}}
.donate-band h2{font-size:clamp(28px, 4vw, 50px); letter-spacing:-.035em; margin-bottom:12px; max-width:18ch}
.donate-band p{max-width:46ch; color:var(--accent-ink)}
.donate-band .btn{position:relative; z-index:1}

/* ---------- Footer ---------- */
.site-footer{background:var(--deep) var(--topo) no-repeat right -200px top -120px; color:rgba(255,255,255,.7); padding:72px 0 28px}
.footer-grid{display:grid; gap:40px}
@media (min-width:760px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1040px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1.5fr}}
.footer-brand{color:#fff; margin-bottom:18px}
.footer-brand .brand-mark{background:var(--accent); color:var(--accent-ink)}
.site-footer h4{font-family:var(--body); font-size:15px; font-weight:600; color:#fff; margin-bottom:16px}
.site-footer address{font-style:normal; line-height:1.7; font-size:15px}
.footer-links a{display:block; padding:5px 0; font-size:15px}
.footer-links a:hover{color:var(--accent)}
.newsletter p{font-size:15px; margin-bottom:16px}
.newsletter-field{display:flex; gap:8px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius:999px; padding:6px}
.newsletter-field input{flex:1 1 0; width:0; min-width:0; background:none; border:0; color:#fff; padding:0 14px; font:inherit; font-size:15px}
.newsletter-field input::placeholder{color:rgba(255,255,255,.5)}
.newsletter-field input:focus{outline:none}
.newsletter-field .btn{min-height:44px; padding:0 20px; font-size:15px}
.newsletter label{display:flex; gap:10px; align-items:flex-start; font-size:13px; margin-top:12px; color:rgba(255,255,255,.55)}
.newsletter label a{text-decoration:underline}
.newsletter-ok{background:rgba(255,255,255,.1); padding:12px 16px; border-radius:var(--r-md); color:#fff; font-size:15px}
.footer-bottom{display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-top:56px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); font-size:14px; color:rgba(255,255,255,.68)}

/* Mobil düzeltmeler: taşma ve parmakla dokunma alanları */
.footer-grid > *{min-width:0}
.site-footer address a{display:inline-block; padding:6px 0; overflow-wrap:anywhere}
.newsletter label{align-items:center}
.newsletter label input{width:20px; height:20px; flex:none; accent-color:var(--accent)}
.newsletter label a, .footer-bottom a, .page-hero .crumbs a{display:inline-block; padding:12px 0; margin:-12px 0}
.link-more{display:inline-block; padding-top:10px}
.info-list a{display:inline-block; padding:10px 0; margin:-10px 0}

/* ---------- İç sayfalar ---------- */
.page-hero{background:var(--topo) no-repeat right -160px bottom -260px, var(--primary); color:#fff; padding:64px 0 60px}
@media (min-width:900px){.page-hero{padding:96px 0 84px}}
.page-hero h1{font-size:clamp(36px, 5.6vw, 68px); letter-spacing:-.035em; max-width:20ch; text-wrap:balance}
.page-hero .crumbs{font-size:14px; color:rgba(255,255,255,.62); margin-bottom:16px}
.page-hero .crumbs a:hover{color:var(--accent)}
.page-hero .lead{margin-top:16px; color:rgba(255,255,255,.75); max-width:56ch}

@media (min-width:900px){.page-hero + .section{padding-top:72px}}
.grid{display:grid; gap:20px}
@media (min-width:640px){.grid-2, .grid-3{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.grid-3{grid-template-columns:repeat(3,1fr); gap:24px}}

.card{display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden}
.card-img{aspect-ratio:16/10; overflow:hidden; background:var(--mist)}
.card-img img{width:100%; height:100%; object-fit:cover}
.card-body{padding:22px; display:flex; flex-direction:column; gap:10px; flex:1}
.card h3{font-size:20px; line-height:1.25}
.card p{font-size:15px; color:var(--muted)}
a.card:hover h3{color:var(--primary-ink)}

.prose{font-size:18px; line-height:1.75; max-width:68ch}
.prose > * + *{margin-top:1.1em}
.prose h2{font-size:30px; margin-top:1.6em}
.prose h3{font-size:23px; margin-top:1.4em}
.prose a{color:var(--primary-ink); text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:3px}
.prose img{border-radius:var(--r-lg)}
.prose ul, .prose ol{padding-left:1.2em}
.article-cover{border-radius:var(--r-lg); overflow:hidden; aspect-ratio:16/10; margin:0 0 36px; background:var(--mist)}
@media (min-width:700px){.article-cover{max-width:820px; aspect-ratio:16/9; border-radius:var(--r-xl); margin-bottom:48px}}
.article-cover img{width:100%; height:100%; object-fit:cover}

.board-grid{display:grid; gap:28px; grid-template-columns:repeat(2,1fr)}
@media (min-width:900px){.board-grid{grid-template-columns:repeat(4,1fr)}}
.board-card .arch{aspect-ratio:4/5; margin-bottom:16px}
.board-card h3{font-size:19px}
.board-card p{color:var(--muted); font-size:15px}

.gallery-grid{display:grid; gap:12px; grid-template-columns:repeat(2,1fr)}
@media (min-width:900px){.gallery-grid{grid-template-columns:repeat(3,1fr); gap:16px}}
.gallery-grid a{display:block; aspect-ratio:1; border-radius:var(--r-md); overflow:hidden}
.gallery-grid img{width:100%; height:100%; object-fit:cover}

.video-frame{aspect-ratio:16/9; background:var(--deep)}
.video-frame iframe{width:100%; height:100%; border:0}

/* ---------- Formlar ---------- */
.split{display:grid; gap:32px}
@media (min-width:960px){.split{grid-template-columns:1fr 1.15fr; gap:56px}}
.form-card{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl); padding:26px}
@media (min-width:700px){.form-card{padding:36px}}
.form-card h2{font-size:26px; margin-bottom:6px}
.form-card > p{color:var(--muted); margin-bottom:22px; font-size:15px}
.form-row{margin-bottom:16px}
.form-row label{display:block; font-weight:600; font-size:14px; margin-bottom:7px}
.form-row input, .form-row textarea{
  width:100%; padding:14px 16px; border:1.5px solid var(--line); border-radius:var(--r-md);
  background:var(--paper); font:inherit; font-size:16px; color:var(--ink); transition:border-color .2s, background-color .2s;
}
.form-row input:focus, .form-row textarea:focus{outline:none; border-color:var(--primary-ink); background:var(--surface); box-shadow:0 0 0 4px var(--primary-soft)}
.form-2col{display:grid; gap:0 16px}
@media (min-width:600px){.form-2col{grid-template-columns:1fr 1fr}}

.iban-box{
  background:var(--topo) no-repeat right -200px bottom -260px, var(--primary); color:#fff;
  border-radius:var(--r-xl); padding:30px;
}
.iban-box .label{font-size:14px; color:rgba(255,255,255,.65); margin-bottom:8px}
.iban-code{font-family:var(--display); font-size:clamp(19px, 1.9vw, 23px); font-weight:600; letter-spacing:.01em; word-break:break-word; margin-bottom:6px}
.iban-owner{color:rgba(255,255,255,.75); font-size:15px; margin-bottom:22px}
.iban-box .btn{min-height:44px; font-size:15px}
.info-list{margin-top:28px; display:grid; gap:18px}
.info-list div{display:flex; gap:14px; align-items:flex-start}
.info-list .quick-icon{flex:none}
.info-list strong{display:block; font-size:15px}
.info-list span{color:var(--muted); font-size:15px}
.map{margin-top:28px; border-radius:var(--r-xl); overflow:hidden; aspect-ratio:4/3; background:var(--mist)}
.map iframe{width:100%; height:100%; border:0}

.alert{padding:14px 18px; border-radius:var(--r-md); font-size:15px; margin-bottom:18px}
.alert-ok{background:var(--primary-soft); color:var(--primary-ink); font-weight:500}
.alert-err{background:#fdecec; color:#9b1c1c}

.empty-state{text-align:center; padding:72px 20px; color:var(--muted); background:var(--surface); border:1.5px dashed var(--line); border-radius:var(--r-xl)}
.empty-state strong{display:block; font-family:var(--display); font-size:22px; color:var(--ink); margin-bottom:6px}

/* ---------- Üyelik başvurusu ---------- */
.join-title{font-size:clamp(24px, 2.6vw, 30px); margin-bottom:6px}
.join-info .info-list{margin-top:20px}
.join-steps{list-style:none; counter-reset:adim; margin:30px 0 0; padding:22px; display:grid; gap:18px; background:var(--mist); border-radius:var(--r-lg)}
.join-steps li{counter-increment:adim; display:grid; grid-template-columns:36px 1fr; column-gap:14px; align-items:start}
.join-steps li::before{content:counter(adim); grid-row:span 2; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background:var(--primary); color:#fff; font:700 15px/1 var(--display)}
.join-steps strong{font-size:15px}
.join-steps span{color:var(--muted); font-size:14px}
.join-card{position:relative; box-shadow:0 30px 60px -40px rgba(10,20,35,.35)}
@media (min-width:960px){.join-split{grid-template-columns:.9fr 1.1fr}.join-card{position:sticky; top:96px}}
.form-row input[aria-invalid="true"], .form-row textarea[aria-invalid="true"]{border-color:var(--danger); background:var(--surface)}
.form-row input[aria-invalid="true"]:focus, .form-row textarea[aria-invalid="true"]:focus{box-shadow:0 0 0 4px var(--danger-soft)}
.form-row input.is-valid{border-color:var(--ok)}
.field-error{color:var(--danger); font-size:14px; font-weight:500; margin-top:7px; display:flex; gap:6px; align-items:flex-start}
.field-error::before{content:"!"; flex:none; width:18px; height:18px; margin-top:1px; border-radius:50%; background:var(--danger); color:#fff; font:700 12px/18px var(--body); text-align:center}
.field-error[hidden]{display:none}
.field-hint{color:var(--muted); font-size:13px; margin-top:6px}
.hp-field{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
.check{display:flex !important; gap:12px; align-items:flex-start; font-weight:400 !important; font-size:14px !important; line-height:1.5; cursor:pointer; color:var(--muted)}
.check input{flex:none; width:22px !important; height:22px; margin:0; padding:0 !important; accent-color:var(--primary-ink); cursor:pointer}
.check a{color:var(--primary-ink); font-weight:600; text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:3px}
.join-submit{margin-top:6px}
.join-submit svg{transition:transform .2s}
.join-submit:hover svg{transform:translateX(4px)}
.join-submit[aria-busy="true"]{opacity:.75; pointer-events:none}
.join-submit[aria-busy="true"] svg{animation:join-spin .8s linear infinite}
@keyframes join-spin{to{transform:rotate(360deg)}}

.modal{position:fixed; top:0; right:0; bottom:0; left:0; z-index:120; display:grid; place-items:center; padding:20px}
.modal[hidden]{display:none}
.modal-backdrop{position:absolute; top:0; right:0; bottom:0; left:0; background:rgba(8,16,28,.55); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); opacity:0; transition:opacity .3s}
.modal-card{position:relative; width:100%; max-width:420px; background:var(--surface); color:var(--ink); border-radius:var(--r-xl); padding:34px 28px 28px; text-align:center; box-shadow:0 40px 90px -30px rgba(0,0,0,.55);
  opacity:0; transform:translateY(18px) scale(.96); transition:opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1)}
.modal-card:focus{outline:none}
.modal.is-open .modal-backdrop{opacity:1}
.modal.is-open .modal-card{opacity:1; transform:none}
.modal-card h2{font-size:24px; margin:18px 0 8px; line-height:1.2}
.modal-card p{color:var(--muted); font-size:15px; margin-bottom:24px}
.modal-check{width:76px; height:76px; margin:0 auto; border-radius:50%; display:grid; place-items:center; background:var(--ok-soft); color:var(--ok)}
.modal-check svg circle{stroke-dasharray:151; stroke-dashoffset:151}
.modal-check svg path{stroke-dasharray:36; stroke-dashoffset:36}
.modal.is-open .modal-check svg circle{animation:join-draw .6s .15s ease-out forwards}
.modal.is-open .modal-check svg path{animation:join-draw .35s .6s ease-out forwards}
@keyframes join-draw{to{stroke-dashoffset:0}}
body.modal-open{overflow:hidden}

/* ---------- Çerez bildirimi ---------- */
.footer-legal{display:flex; flex-wrap:wrap; gap:4px 20px}
.link-btn{background:none; border:0; padding:12px 0; margin:-12px 0; font:inherit; color:inherit; cursor:pointer}
.link-btn:hover, .footer-bottom a:hover{color:var(--accent)}
.cookie-bar{
  position:fixed; z-index:80; left:12px; right:12px; bottom:12px;
  background:var(--surface); color:var(--ink); border-radius:var(--r-lg);
  padding:20px; box-shadow:0 28px 70px -18px rgba(0,0,0,.45), 0 0 0 1px var(--line);
  display:grid; gap:16px; font-size:15px; line-height:1.55;
  opacity:0; transform:translateY(16px); transition:opacity .35s, transform .35s cubic-bezier(.2,.7,.2,1);
  view-transition-name:cookie-bar;
}
.cookie-bar[hidden]{display:none}
.cookie-bar.show{opacity:1; transform:none}
.cookie-bar a{color:var(--primary-ink); font-weight:600; text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:3px; white-space:nowrap; display:inline-block; padding:11px 0; margin:-11px 0}
.cookie-actions{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.cookie-actions .btn{min-height:46px; padding:0 18px; font-size:15px}
.btn-line{background:transparent; color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--line-strong)}
.btn-line:hover{background:var(--primary-soft)}
@media (min-width:760px){
  .cookie-bar{left:24px; right:auto; bottom:24px; max-width:460px; padding:24px}
}

/* ---------- Sayfa geçiş animasyonu ----------
   Bağlantıya tıklayınca eski sayfa solar, yeni sayfa aşağıdan yukarı kayarak gelir.
   Üst menü sabit kalır. Destekleyen tarayıcılarda (Chrome, Edge, Safari) View Transitions,
   diğerlerinde yalnızca giriş animasyonu çalışır. */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  .site-header{view-transition-name:site-header}
  ::view-transition-group(site-header){animation:none}
  ::view-transition-old(root){animation:page-out .22s ease-in both}
  ::view-transition-new(root){animation:page-in .5s cubic-bezier(.2,.7,.2,1) both}
  .fx-enter main, .fx-enter .site-footer{animation:page-in .5s cubic-bezier(.2,.7,.2,1) both}
}
@keyframes page-out{to{opacity:0; transform:translateY(-10px)}}
@keyframes page-in{from{opacity:0; transform:translateY(22px)}}

@media (prefers-reduced-motion:reduce){
  .modal-check svg circle, .modal-check svg path{stroke-dashoffset:0}
  *, *::before, *::after{animation:none !important; transition:none !important; scroll-behavior:auto !important}
}
