/* =========================================================
   Alternatif B — Modern ve görsel
   Görsel üstünde saydam başlık + büyük açılır menü (mega menu),
   tam genişlik bantlar, üye alanında uygulama görünümü
   ========================================================= */
.alt-b {
  --navy: #0E1A32;
  --night: #09111F;
  --bg: #FFFFFF;
  --surface: #EEF0F3;
  --surface-2: #E1E5EA;
  --ink: #121A2A;
  --muted: #586274;
  --line: #D9DDE3;
  --brand: #13254A;
  --accent: #D3242C;
  --accent-hover: #B31D24;
  --font-body: "Archivo Variable", "Archivo", system-ui, sans-serif;
  --font-head: var(--font-body);
  --head-weight: 760;
  --head-tracking: -.012em;
  --head-lh: 1.06;
  --head-color: var(--brand);
  --r-sm: 6px;
  --r: 8px;
  --r-lg: 14px;
  --r-btn: 8px;
  --wrap: 1240px;
  --scroll-pad: 96px;
}
.alt-b h1, .alt-b h2, .alt-b h3 { font-stretch: 112%; }
.alt-b .blk-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; font-stretch: 116%; }
.alt-b .datebox { background: var(--accent); }
.alt-b .btn { font-weight: 650; }

/* ---------- header ---------- */
.b-head { position: fixed; inset: 0 0 auto 0; z-index: 80; color: #fff; transition: background-color .2s, color .2s, box-shadow .2s; }
.b-head.is-solid { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.b-bar { display: flex; align-items: center; gap: 24px; height: 76px; padding-inline: var(--gutter); max-width: 1480px; margin-inline: auto; }
.b-brand { display: flex; flex: none; }
.b-brand img { height: 46px; width: auto; }
.b-brand .logo-dark, .b-head.is-solid .b-brand .logo-light { display: none; }
.b-head.is-solid .b-brand .logo-dark { display: block; }
.b-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.b-trigger { font: inherit; font-weight: 600; font-size: .98rem; background: none; border: 0; color: inherit; padding: 10px 14px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-decoration: none; border-radius: 8px; }
.b-trigger .ic { width: 15px; height: 15px; transition: transform .15s; }
.b-trigger:hover, .b-trigger[aria-expanded=true] { background: rgba(255,255,255,.14); }
.b-head.is-solid .b-trigger:hover, .b-head.is-solid .b-trigger[aria-expanded=true] { background: var(--surface); }
.b-trigger[aria-expanded=true] .ic { transform: rotate(180deg); }
.b-trigger.is-active, .b-trigger.has-active { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 8px 8px 0 0; }
.b-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.b-login { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.b-login:hover { text-decoration: underline; }
.b-burger { display: none; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid currentColor; border-radius: 8px; cursor: pointer; color: inherit; }

.b-mega { position: absolute; top: 76px; left: 0; right: 0; background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 28px 48px rgba(9,17,31,.2); padding: 34px 0 38px; }
.b-mega-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.b-mega-title { font-size: 2rem; font-weight: 800; font-stretch: 120%; line-height: 1; color: var(--brand); margin: 0 0 .4em; }
.b-mega-intro p:last-child { color: var(--muted); }
.b-mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.b-mega-links a { display: flex; gap: 14px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.b-mega-links a:hover, .b-mega-links a.is-active { background: var(--surface); }
.b-mega-links .ic { width: 24px; height: 24px; color: var(--accent); margin-top: 1px; }
.b-mega-links strong { display: block; font-size: 1.04rem; font-stretch: 108%; }
.b-mega-links span span { color: var(--muted); font-size: .9rem; }
.b-mega-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 230px; padding: 20px; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); }
.b-mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.b-mega-feature > span { position: relative; }
.b-mf-label { font-size: .8rem; opacity: .8; }
.b-mf-title { font-size: 1.15rem; font-weight: 700; font-stretch: 108%; line-height: 1.25; }
.b-mf-date { font-size: .85rem; }
.b-mega-feature:hover img { opacity: .4; }

.b-drawer { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: #fff; color: var(--ink); overflow-y: auto; padding: 16px var(--gutter) 40px; border-top: 1px solid var(--line); }
.b-drawer-grp { padding: 14px 0; border-bottom: 1px solid var(--line); }
.b-drawer-grp p { margin: 0 0 6px; font-size: .82rem; color: var(--muted); }
.b-drawer-grp ul { list-style: none; margin: 0; padding: 0; }
.b-drawer-grp a { display: block; padding: 8px 0; font-size: 1.2rem; font-weight: 700; font-stretch: 110%; color: var(--brand); text-decoration: none; }
.b-drawer-grp a.is-active { color: var(--accent); }

/* ---------- hero ---------- */
.b-hero { position: relative; min-height: min(94vh, 880px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--navy); overflow: hidden; }
.b-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,17,31,.62) 0%, rgba(14,26,50,.38) 38%, rgba(9,17,31,.9) 100%); }
.b-quake { position: absolute; left: 0; width: 100%; top: 22%; height: clamp(120px, 20vw, 220px); overflow: visible; }
.b-quake polyline { fill: none; stroke: url(#b-quake-grad); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: b-draw 2.8s cubic-bezier(.35,.1,.25,1) .25s forwards; }
@keyframes b-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .b-quake polyline { animation: none; stroke-dashoffset: 0; } }
.b-hero-inner { position: relative; padding-top: 140px; padding-bottom: clamp(36px, 6vw, 64px); }
.b-hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 820; font-stretch: 124%; line-height: .98; letter-spacing: -.025em; max-width: 13ch; margin-bottom: .35em; }
.b-hero .lead { color: rgba(255,255,255,.86); max-width: 54ch; }
.b-hero-next { position: relative; display: block; background: rgba(9,17,31,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-top: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; }
.b-hero-next:hover { background: rgba(9,17,31,.8); }
.b-hn-inner { display: flex; align-items: center; gap: 22px; padding-block: 18px; flex-wrap: wrap; }
.b-hn-label { font-size: .82rem; opacity: .72; }
.b-hn-date { font-weight: 700; color: #FF7378; font-variant-numeric: tabular-nums; }
.b-hn-title { flex: 1; font-weight: 600; min-width: 220px; }
.b-hn-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* ---------- home bands ---------- */
.b-band { padding: clamp(56px, 8vw, 104px) 0; }
.b-band.alt { background: var(--surface); }
.b-band.dark { background: var(--navy); color: #fff; }
.b-band.dark h2, .b-band.dark .textlink { color: #fff; }
.b-band.accent { background: var(--accent); color: #fff; }
.b-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 30px; }
.b-sechead h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; font-stretch: 118%; margin: 0; }

.b-pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.b-pillar h3 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 820; font-stretch: 125%; letter-spacing: -.02em; border-top: 4px solid var(--brand); padding-top: 18px; margin-bottom: .35em; }
.b-pillar p { color: var(--muted); }

.b-ev-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.b-ev-feature { background: #fff; border-radius: 14px; overflow: hidden; }
.b-ev-feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--surface-2); }
.b-evf-body { padding: 26px 28px 30px; }
.b-evf-body .datebox { margin-bottom: 14px; }
.b-evf-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 780; margin: .25em 0 .4em; }
.b-evf-body p:not(.ev-type) { color: var(--muted); }
.b-ev-list { border-top: 0; }
.b-ev-list .ev { border-color: #D3D8DF; }

.b-rail { list-style: none; margin: 0; padding: 0 0 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 23%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; }
.b-rail li { scroll-snap-align: start; }
.b-rail a { display: flex; flex-direction: column; gap: 16px; height: 100%; min-height: 210px; padding: 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; color: #fff; text-decoration: none; }
.b-rail a:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.45); }
.b-rail .ic { width: 32px; height: 32px; color: #FF6268; }
.b-rail-name { flex: 1; font-weight: 700; font-size: 1.15rem; font-stretch: 108%; line-height: 1.25; }
.b-rail-meta { font-size: .85rem; opacity: .72; }

.b-split-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.b-split .doclist { border-top: 0; }
.b-dirbox { background: var(--surface); border-radius: 14px; padding: clamp(22px, 3vw, 34px); }
.b-dirbox h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; font-stretch: 116%; }
.b-dirbox > p { color: var(--muted); }
.b-dirsearch { display: flex; gap: 8px; margin: 18px 0 16px; }
.b-dirsearch input { flex: 1; min-width: 0; }

.b-mb-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.b-mb-head h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; font-stretch: 118%; max-width: 22ch; margin: 0; }
.b-mb-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.b-mb-cats li { border-top: 1px solid rgba(255,255,255,.45); padding-top: 16px; }
.b-mb-name { display: block; font-weight: 700; }
.b-mb-fee { display: block; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; font-stretch: 114%; font-variant-numeric: tabular-nums; margin: 2px 0 6px; }
.b-mb-who { display: block; font-size: .88rem; opacity: .88; }

/* ---------- inner pages ---------- */
.b-pagehero { position: relative; color: #fff; background: var(--navy); padding: 152px 0 clamp(40px, 6vw, 64px); overflow: hidden; }
.b-ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-ph-inner { position: relative; }
.b-pagehero .crumbs { color: rgba(255,255,255,.86); }
.b-pagehero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 820; font-stretch: 122%; letter-spacing: -.02em; line-height: 1; margin-bottom: .3em; }
.b-pagehero .lead { color: rgba(255,255,255,.86); margin: 0; }
.b-page > .blk { margin: 0; padding: clamp(48px, 7vw, 88px) max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); }
.b-page > .blk:nth-child(even) { background: var(--surface); }
.b-page > .blk:nth-child(even) .tbl th { background: var(--surface-2); }
.b-page > .blk:nth-child(even) .filters { background: #fff; }
.b-page > .blk:nth-child(even) .summary-box { background: #fff; }

/* ---------- footer ---------- */
.b-foot { background: var(--night); color: rgba(255,255,255,.74); font-size: .92rem; }
.b-foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: clamp(48px, 7vw, 80px); padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); flex-wrap: wrap; }
[data-page=home] .b-foot-top { display: none; }
.b-foot-claim { font-size: clamp(1.7rem, 3.4vw, 2.8rem); font-weight: 800; font-stretch: 120%; line-height: 1.04; letter-spacing: -.02em; color: #fff; margin: 0; max-width: 18ch; }
.b-foot-grid { display: grid; grid-template-columns: 1fr repeat(3, 1fr) 1.5fr; gap: 32px; padding-top: 44px; padding-bottom: 40px; }
.b-foot-grid img { width: 150px; }
.b-foot h2 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 12px; }
.b-foot ul { list-style: none; margin: 0; padding: 0; }
.b-foot li { margin: 7px 0; }
.b-foot a { color: rgba(255,255,255,.8); text-decoration: none; }
.b-foot a:hover { color: #fff; text-decoration: underline; }
.b-foot .inline-form { margin-top: 14px; }
.b-foot .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.b-foot .btn-secondary:hover { background: #fff; color: var(--navy); }
.b-foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 10px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; }
.b-foot-bottom p { margin: 0; }
.b-foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.b-foot .template-note { padding-bottom: 26px; }

/* ---------- member app shell ---------- */
body.is-app { background: var(--surface); }
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, var(--navy) 264px, transparent 264px); }
.app-side { background: var(--navy); color: rgba(255,255,255,.8); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 14px; overflow-y: auto; z-index: 90; }
.app-brand { display: block; margin: 0 8px 28px; }
.app-brand img { height: 46px; width: auto; }
.app-side-label { font-size: .78rem; opacity: .6; margin: 0 12px 8px; }
.app-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-side a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: inherit; text-decoration: none; font-weight: 500; }
.app-side a .ic { width: 20px; height: 20px; opacity: .85; }
.app-side a:hover { background: rgba(255,255,255,.08); color: #fff; }
.app-side a.is-active { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.app-side-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; display: grid; gap: 2px; font-size: .92rem; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 12px clamp(16px, 3vw, 32px); }
.app-menu { display: none; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.app-search { flex: 1; max-width: 460px; position: relative; display: flex; align-items: center; }
.app-search .ic { position: absolute; left: 12px; color: var(--muted); }
.app-search input { padding-left: 38px; background: var(--surface); border-color: transparent; }
.app-user { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.app-user .lang-toggle { color: var(--muted); }
.app-name { font-weight: 600; white-space: nowrap; }
.app-bell { position: relative; color: var(--ink); display: grid; padding: 6px; }
.app-bell .dot { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.app-content { padding: clamp(20px, 3vw, 36px); flex: 1; width: 100%; max-width: 1240px; --scroll-pad: 84px; }
.app-pagehead { margin-bottom: 26px; }
.app-pagehead h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; font-stretch: 116%; margin-bottom: .25em; }
.app-pagehead .lead { margin: 0; font-size: 1.05rem; }
.app-body .blk { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 2.5vw, 28px); margin-bottom: 20px; }
.app-body .blk-head h2 { font-size: 1.35rem; font-weight: 760; font-stretch: 110%; }
.app-body #sayilar { background: none; border: 0; padding: 0; }
.app-body .split { margin-bottom: 20px; gap: 20px; }
.app-body .split > .blk { margin: 0; }
.app-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 16px clamp(20px, 3vw, 36px) 72px; font-size: .8rem; color: var(--muted); }
.app-foot p { margin: 0; }
.app-scrim { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .b-nav { display: none; }
  .b-burger { display: grid; }
  .b-mega { display: none !important; }
  .nav-open .b-head { background: #fff; color: var(--ink); }
  .nav-open .b-brand .logo-light { display: none; }
  .nav-open .b-brand .logo-dark { display: block; }
  .b-pillar-grid { grid-template-columns: 1fr; }
  .b-ev-grid, .b-split-grid { grid-template-columns: minmax(0, 1fr); }
  .b-mb-cats { grid-template-columns: repeat(2, 1fr); }
  .b-foot-grid { grid-template-columns: repeat(3, 1fr); }
  .b-foot-grid > div { grid-column: span 3; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; background: none; }
  .app-side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-100%); transition: transform .2s; }
  .nav-open .app-side { transform: none; box-shadow: 0 0 0 100vmax rgba(9,17,31,.5); }
  .app-menu { display: grid; }
  .app-name { display: none; }
}
@media (max-width: 640px) {
  .b-login span, .b-head .lang-toggle { display: none; }
  .b-actions { gap: 10px; }
  .b-mb-cats { grid-template-columns: 1fr; }
  .b-foot-grid { grid-template-columns: 1fr 1fr; }
  .b-foot-grid > div { grid-column: span 2; }
  .app-search { display: none; }
  .app-user .btn span { display: none; }
  .b-hn-title { min-width: 0; flex-basis: 100%; }
  .b-quake { top: 84px; height: 90px; opacity: .8; }
}
@media (max-width: 420px) {
  .b-joinbtn { display: none; }
}
