/* yesevihareketiankara.org — ortak stil dosyası
   Bölümler: fontlar → tokenlar → reset → genel → başlık → hero → ana sayfa modülleri
             → yasal sayfalar → hata sayfaları → çerez bildirimi → WhatsApp → hareket → breakpoint'ler */

/* ---------- Fontlar (yerel, OFL lisanslı: assets/fonts/OFL-*.txt) ---------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokenlar ---------- */
:root {
  --navy: #0b2545;
  --teal: #0eadcf;
  --teal-ink: #0a7d97;
  --teal-soft: #e6f6fa;
  --ink: #0f1c2e;
  --text: #3b4a5c;
  --muted: #5f6f82;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --line: #e3e8ee;
  --on-navy: #cfdbe8;
  --on-navy-muted: #9fb2c8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 37, 69, .04), 0 8px 24px -12px rgba(11, 37, 69, .12);
  --shadow-lg: 0 24px 48px -24px rgba(11, 37, 69, .28);
  --container: 1180px;
  --header-h: 72px;
  --gutter: 16px;
  --f-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--f-body); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); line-height: 1.2; letter-spacing: -.015em; overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Genel ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; margin: 14px 0; }
.section-lead { font-size: 1.04rem; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; text-align: center;
  font-family: var(--f-head); font-weight: 700; font-size: .92rem; letter-spacing: .01em; line-height: 1.2;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal-ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 173, 207, .7); }
.btn--primary:hover { background: #086a80; }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.btn--line { color: var(--navy); border: 1.5px solid var(--line); background: #fff; }
.btn--line:hover { border-color: var(--teal); color: var(--teal-ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .86rem; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1001;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- Başlık ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled, .site-header--solid { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,37,69,.35); }
.nav { position: relative; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 0; }
.brand__mark { width: 28px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; padding-left: 10px; border-left: 1.5px solid var(--teal); white-space: nowrap; }
.brand__name { font-family: var(--f-head); font-weight: 800; font-size: .95rem; color: var(--navy); letter-spacing: .01em; }
.brand__city { font-family: var(--f-head); font-weight: 700; font-size: .66rem; letter-spacing: .32em; color: var(--teal-ink); margin-top: 4px; }

.nav__menu { display: none; }
.nav__link { font-weight: 500; font-size: .95rem; color: var(--text); padding: 8px 2px; position: relative; transition: color .2s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta { display: none; min-height: 42px; padding: 0 20px; }

.nav__toggle {
  width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; flex: none;
  color: var(--navy); background: var(--bg-alt);
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none; position: absolute; left: 0; right: 0; top: calc(var(--header-h) - 4px);
  max-height: calc(100vh - var(--header-h) - 16px); max-height: calc(100dvh - var(--header-h) - 16px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; flex-direction: column;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 13px 14px; border-radius: 10px; font-weight: 500; color: var(--ink); }
.mobile-menu a:hover { background: var(--teal-soft); color: var(--teal-ink); }
.mobile-menu .btn { margin-top: 6px; color: #fff; }
.mobile-menu .btn:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-navy);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(14,173,207,.28), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(14,173,207,.14), transparent 60%),
    var(--navy);
}
.hero__mark { position: absolute; right: -60px; bottom: -80px; width: 420px; opacity: .06; pointer-events: none; }
.hero__grid {
  position: relative; display: grid; gap: 40px; align-items: center;
  padding: clamp(44px, 10vw, 120px) 0 clamp(48px, 10vw, 128px);
}
.hero .eyebrow { color: var(--teal); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.025em; margin: 16px 0 18px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 560px; }
.hero__actions { display: grid; gap: 12px; margin-top: 30px; }

.hero__regions { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__regions-label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: .85rem; font-weight: 500; color: #e6eef6; padding: 6px 13px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}

.event-card {
  background: #fff; color: var(--text); border-radius: 20px; padding: 22px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55);
}
.event-card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 18px; }
.event-card__label {
  font-family: var(--f-head); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-ink); background: var(--teal-soft); padding: 6px 12px; border-radius: 999px;
}
.event-card__type { font-size: .85rem; color: var(--muted); font-weight: 500; }
.event-card h2 { font-size: clamp(1.2rem, 2.2vw, 1.42rem); font-weight: 800; margin-bottom: 8px; }
.event-card__speaker { color: var(--muted); margin-bottom: 20px; }
.event-card__speaker strong { color: var(--ink); font-weight: 600; }
.event-meta { list-style: none; display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.event-meta li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.event-meta svg { width: 20px; height: 20px; color: var(--teal-ink); flex: none; margin-top: 2px; }
.event-card .btn { width: 100%; }
.event-card--fallback p { margin-bottom: 20px; }

/* ---------- Öne çıkanlar ---------- */
.highlights { border-bottom: 1px solid var(--line); }
.highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.highlight { padding: 24px 6px; text-align: center; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight__value { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--navy); line-height: 1.1; }
.highlight__label { font-size: clamp(.84rem, 2.2vw, .92rem); color: var(--muted); margin-top: 6px; line-height: 1.35; }

/* ---------- Faaliyetler ---------- */
.activities { display: grid; gap: 16px; }
.activity {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.activity__tag {
  align-self: flex-start; font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--teal-ink);
  background: var(--teal-soft); padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}
.activity h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.activity p { font-size: .96rem; color: var(--muted); }
.activity__place { margin-top: auto; padding-top: 16px; font-size: .85rem; font-weight: 500; color: var(--text); display: flex; align-items: center; gap: 6px; }
.activity__place svg { width: 16px; height: 16px; color: var(--teal-ink); flex: none; }
.activities-foot { margin-top: 32px; text-align: center; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; gap: 36px; align-items: start; }
.about__body p + p { margin-top: 16px; }
.about__quote {
  margin-top: 26px; padding: 20px 22px; border-left: 3px solid var(--teal); background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--f-head); font-weight: 600; color: var(--navy); font-size: 1.05rem;
}
.about__quote span { display: block; font-family: var(--f-body); font-weight: 400; font-size: .88rem; color: var(--muted); margin-top: 6px; }
.values { display: grid; gap: 14px; }
.value { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; display: flex; align-items: baseline; gap: 10px; }
.value h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; transform: translateY(-1px); }
.value p { font-size: .95rem; color: var(--muted); }
.value--building { background: var(--navy); border-color: var(--navy); }
.value--building h3 { color: #fff; }
.value--building p { color: #b6c6d8; }

.value__link { display: inline-block; margin-top: 8px; color: var(--teal); font-weight: 600; }
.value__link:hover { color: #fff; }

/* ---------- Tarihi binamız ---------- */
.heritage__intro { display: grid; gap: 32px; align-items: center; }
.heritage__cover { position: relative; border-radius: 22px; overflow: hidden; background: var(--bg-alt); aspect-ratio: 3 / 4; max-height: 640px; }
.heritage__cover img { width: 100%; height: 100%; object-fit: cover; }
.heritage__lead { font-size: 1.12rem; color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.heritage__quote {
  margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--teal);
  font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; color: var(--navy); line-height: 1.5;
}
.heritage__facts { list-style: none; display: grid; gap: 10px; }
.heritage__facts li { display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.heritage__facts strong { font-family: var(--f-head); color: var(--ink); font-size: .95rem; }
.heritage__facts span { font-size: .86rem; color: var(--muted); }

.gallery { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: clamp(32px, 5vw, 56px); }
.gallery__item { position: relative; border-radius: 14px; overflow: hidden; background: var(--bg-alt); aspect-ratio: 1; }
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery__item a { position: absolute; inset: 0; display: block; }
/* Görsel mutlak konumlu: kutunun yüksekliğini fotoğraf değil ızgara satırı belirler */
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .gallery__item a:hover img { transform: scale(1.04); } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; margin: 0; }
.lightbox::backdrop { background: rgba(6, 18, 34, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); width: auto; height: auto; border-radius: 10px; }
.lightbox__close {
  position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 999px;
  display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12);
}
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__caption { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); text-align: center; color: var(--on-navy); font-size: .9rem; }

/* ---------- Birimler ---------- */
.units { display: grid; gap: 14px; }
.unit {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.unit__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; }
.unit__icon svg { width: 24px; height: 24px; }
.unit h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.unit p { font-size: .92rem; color: var(--muted); }

@media (hover: hover) {
  .activity:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
  .unit:hover { border-color: rgba(14,173,207,.45); box-shadow: var(--shadow); }
}

/* ---------- Instagram ---------- */
.insta-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.insta-head .section-head { margin-bottom: 0; }
.insta-widget { border-radius: var(--radius); overflow: hidden; min-height: 200px; }

/* ---------- Gönüllü ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 24px; color: var(--on-navy);
  padding: clamp(28px, 6vw, 64px);
  background: radial-gradient(600px 300px at 100% 0%, rgba(14,173,207,.35), transparent 60%), var(--navy);
  display: grid; gap: 24px; align-items: center;
}
.cta h2 { color: #fff; font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 12px; }
.cta__actions { position: relative; display: grid; gap: 12px; }
.cta__mark { position: absolute; right: 24px; top: 50%; width: 150px; transform: translateY(-50%); opacity: .07; pointer-events: none; }

/* ---------- İletişim ---------- */
.contact { display: grid; gap: 20px; }
.contact-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; min-width: 0; }
.contact-item + .contact-item { border-top: 1px solid var(--line); }
.contact-item > div:last-child { min-width: 0; }
.contact-item__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; flex: none; }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; font-family: var(--f-head); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.contact-item a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.contact-item a:hover { color: var(--teal-ink); }

.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 300px; background: #e9eef3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map__consent {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center;
  background:
    linear-gradient(0deg, rgba(233,238,243,.92), rgba(233,238,243,.92)),
    repeating-linear-gradient(45deg, #d7dfe7 0 2px, transparent 2px 22px);
}
.map__consent svg { width: 34px; height: 34px; color: var(--teal-ink); }
.map__consent p { max-width: 340px; font-size: .9rem; color: var(--muted); }
.map__consent p a { color: var(--teal-ink); text-decoration: underline; }
.map__consent strong { color: var(--ink); font-family: var(--f-head); }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 44px 0 calc(32px + 72px); }
.footer__top { display: grid; gap: 22px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 28px; flex: none; }
.footer__brand strong { display: block; color: #fff; font-family: var(--f-head); font-weight: 800; }
.footer__brand span { font-size: .9rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: .92rem; }
.footer__links a, .footer__legal a, .footer__legal button { display: inline-block; padding: 11px 0; }
.footer__links a:hover, .footer__legal a:hover, .footer__legal button:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: .85rem; padding-top: 14px; }
.footer__legal button { color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { padding-top: 10px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; }

/* ---------- Yasal sayfalar ---------- */
.page-hero { background: var(--navy); color: var(--on-navy); padding: clamp(40px, 7vw, 72px) 0 clamp(36px, 6vw, 56px); }
.page-hero .eyebrow { color: var(--teal); }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; margin: 12px 0 10px; }
.page-hero p { color: var(--on-navy-muted); font-size: .92rem; }

.legal { display: grid; gap: 28px; padding: clamp(36px, 6vw, 64px) 0 clamp(56px, 8vw, 96px); }
.legal-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.legal-nav a {
  flex: none; font-size: .88rem; font-weight: 500; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text); white-space: nowrap;
}
.legal-nav a:hover { border-color: var(--teal); color: var(--teal-ink); }
.legal-nav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.prose { max-width: 760px; min-width: 0; }
.prose h2 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); font-weight: 700; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.02rem; font-weight: 700; margin: 22px 0 8px; }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--teal-ink); }
.prose a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .86em; background: var(--bg-alt); padding: 1px 6px; border-radius: 6px; color: var(--ink); white-space: nowrap; }
.link-button { display: inline; padding: 0; font: inherit; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .note { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--teal-soft); color: var(--ink); font-size: .94rem; }
.table-wrap { overflow-x: auto; margin: 6px 0 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-alt); font-family: var(--f-head); font-size: .8rem; letter-spacing: .02em; color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- Hata sayfaları ---------- */
.error-page { min-height: calc(100vh - var(--header-h)); min-height: calc(100dvh - var(--header-h)); display: grid; place-items: center; padding: 48px 0 120px; text-align: center; }
.error-page__code { font-family: var(--f-head); font-weight: 800; font-size: clamp(4.5rem, 18vw, 8rem); line-height: 1; color: var(--teal); letter-spacing: -.04em; }
.error-page h1 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; margin: 14px 0 10px; }
.error-page p { color: var(--muted); max-width: 460px; margin: 0 auto 28px; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Çerez bildirimi ---------- */
.consent {
  position: fixed; z-index: 1000; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 520px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(11,37,69,.45);
  padding: 20px;
}
.consent h2 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.consent p { font-size: .9rem; color: var(--muted); }
.consent p a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.consent__actions .btn { min-height: 46px; padding: 0 14px; }
.has-consent .whatsapp-float { display: none; }

/* ---------- WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 950;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 56px; height: 56px;
  border-radius: 999px; background: #1fa855; color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 12px 28px -10px rgba(31,168,85,.7); transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-2px); }
.whatsapp-float svg { width: 26px; height: 26px; flex: none; }
.whatsapp-float span { display: none; }

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

/* ---------- Breakpoint'ler (mobil öncelikli) ---------- */
@media (max-width: 22.5em) { /* ≤360px */
  :root { --gutter: 14px; }
  .brand__name { font-size: .88rem; }
  .brand__mark { width: 24px; }
  .chip { font-size: .8rem; padding: 5px 11px; }
}
@media (min-width: 30em) { /* ≥480px */
  .hero__actions { display: flex; flex-wrap: wrap; }
  .cta__actions { display: flex; flex-wrap: wrap; }
  .event-card { padding: 28px; }
}
@media (min-width: 40em) { /* ≥640px */
  :root { --gutter: 24px; }
  .activities { grid-template-columns: repeat(2, 1fr); }
  .units { grid-template-columns: repeat(2, 1fr); }
  .highlight { padding: 32px 16px; }
  .whatsapp-float { width: auto; padding: 0 20px 0 16px; }
  .whatsapp-float span { display: inline; }
  .brand__name { font-size: 1.02rem; }
  .brand__mark { width: 30px; }
  .map, .map iframe { min-height: 360px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: auto; }
  .heritage__facts { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer { padding-bottom: 32px; }
}
@media (min-width: 56em) { /* ≥896px */
  .cta { grid-template-columns: 1fr auto; padding-right: 200px; }
  .contact { grid-template-columns: 5fr 7fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .value--building { grid-column: 1 / -1; }
  .legal { grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
  .legal-nav { flex-direction: column; position: sticky; top: calc(var(--header-h) + 24px); overflow: visible; }
  .legal-nav a { border-radius: 10px; white-space: normal; }
  .consent { left: 24px; right: auto; bottom: 24px; }
}
@media (min-width: 64em) { /* ≥1024px */
  .nav__menu { display: flex; gap: 28px; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .mobile-menu, .mobile-menu.is-open { display: none; }
  .hero__grid { grid-template-columns: 1.25fr .9fr; gap: 64px; }
  .activities { grid-template-columns: repeat(3, 1fr); }
  .units { grid-template-columns: repeat(4, 1fr); }
  .unit { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr 1fr; gap: 64px; }
  .heritage__intro { grid-template-columns: 5fr 7fr; gap: 64px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .brand__mark { width: 34px; }
  .nav__menu { gap: 24px; }
}

@media print {
  .site-header, .whatsapp-float, .consent, .legal-nav, .site-footer { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 16px; }
  .page-hero h1 { color: #000; }
}
