:root {
  --flag-red: #C8102E;
  --flag-red-dark: #9E0C24;
  --navy: #0B1F3A;
  --navy-soft: #16325A;
  --laurel: #2E7D32;
  --cream: #F7F4F0;
  --surface: #FFFFFF;
  --muted: #5A6575;
  --line: rgba(11, 31, 58, 0.12);
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(11, 31, 58, 0.13);
  --base-font: 100%;
}

html {
  font-size: var(--base-font);
  scroll-behavior: smooth;
}

html.font-sm { --base-font: 90%; }
html.font-md { --base-font: 100%; }
html.font-lg { --base-font: 112%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(200, 16, 46, 0.10), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(46, 125, 50, 0.08), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  min-height: 100vh;
  line-height: 1.65;
}

body.high-contrast {
  --flag-red: #FF0033;
  --navy: #000;
  --muted: #111;
  --cream: #fff;
  background: #fff;
}

body.high-contrast a { text-decoration: underline; }

*, *::before, *::after { box-sizing: border-box; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--flag-red); }

:focus-visible {
  outline: 3px solid var(--flag-red);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--flag-red);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* A11y bar */
.a11y-bar {
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
}
.a11y-bar .inner {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  padding: .45rem 0;
}
.a11y-tools {
  display: flex;
  gap: .35rem;
  align-items: center;
}
.a11y-tools button {
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: .25rem .55rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}
.a11y-tools button:hover,
.a11y-tools button.is-active {
  background: var(--flag-red);
  border-color: var(--flag-red);
}

.top-contact {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  opacity: .92;
}
.top-contact a { color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 96px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 96px;
  padding: .6rem 0;
}
.header-emblem {
  position: absolute;
  left: 50%;
  top: 85%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 182px;
  height: 182px;
  margin-block: -30px;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--flag-red);
  box-shadow: 0 14px 34px rgba(11,31,58,.2), 0 0 0 7px rgba(255,255,255,.86);
  transition: transform .2s ease, box-shadow .2s ease;
}
.header-emblem:hover {
  transform: translate(-50%, calc(-50% - 2px));
  box-shadow: 0 18px 40px rgba(11,31,58,.24), 0 0 0 7px rgba(255,255,255,.92);
}
.header-emblem img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: .55rem .7rem;
  cursor: pointer;
}
.nav-toggle-label { line-height: 1; }
.hamburger { display: grid; gap: 4px; width: 22px; }
.hamburger i { display: block; width: 100%; height: 2px; border-radius: 99px; background: currentColor; }
.nav-close,
.nav-backdrop { display: none; }

.nav {
  display: flex;
  justify-content: space-between;
  gap: 190px;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
}
.nav-group {
  display: flex;
  align-items: center;
  gap: .18rem;
}
.nav-group-left { justify-content: flex-end; }
.nav-group-right { justify-content: flex-start; }
.nav a {
  padding: .55rem .62rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .84rem;
  white-space: nowrap;
  color: var(--navy);
}
.nav a:hover,
.nav a.active {
  background: rgba(200,16,46,.08);
  color: var(--flag-red);
}

/* Top waving flags strip */
.bayrak-ust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 28px;
  overflow: hidden;
  background: #E30A17;
}
.bayrak-ust img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .95;
}

/* Flag ribbon */
.flag-ribbon {
  height: 8px;
  background:
    linear-gradient(90deg, #fff 0 10%, #E30A17 10% 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(227,10,23,.25);
}
.flag-ribbon::after {
  content: "";
  position: absolute;
  left: 3.2%;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 9px 0 0 -3px #fff;
  opacity: .95;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(620px, 78vh, 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,22,42,.98) 0%, rgba(7,22,42,.88) 34%, rgba(7,22,42,.36) 63%, rgba(7,22,42,.08) 100%),
    var(--hero-image, url("../img/hero-inclusive-community.png")) center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.28));
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 6rem;
  max-width: 650px;
  animation: rise .9s ease both;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #fff;
  margin-bottom: 1.1rem;
}
.hero-kicker span {
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: var(--flag-red);
}
.hero h1 {
  text-transform: capitalize;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.035em;
  margin: 0 0 1.25rem;
  font-weight: 700;
}
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 36rem;
  color: rgba(255,255,255,.92);
  margin: 0 0 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.hero-values {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
}
.hero-values span {
  padding: .42rem .78rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  font-size: .78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.07);
}
.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: .45rem;
  align-items: center;
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-scroll:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: 999px;
  padding: .85rem 1.35rem;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: #fff;
  color: var(--flag-red);
}
.btn-primary:hover { background: #fff; color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-solid {
  background: var(--flag-red);
  color: #fff;
}
.btn-solid:hover { background: var(--flag-red-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.section {
  padding: 5.5rem 0;
}
.section-soft {
  background: rgba(236,239,243,.62);
  border-block: 1px solid var(--line);
}
.section-about { scroll-margin-top: 100px; }
.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.section-head .eyebrow {
  color: var(--flag-red);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: .4rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 .65rem;
}
.section-head p { color: var(--muted); margin: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.prose {
  color: var(--navy);
}
.prose h2, .prose h3 {
  font-family: var(--font-display);
  margin-top: 2rem;
}
.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--flag-red);
  background: rgba(200,16,46,.06);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.president-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 55%, #1a2740 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(220px, 38%) 1fr;
  min-height: 360px;
}
.president-band .photo {
  position: relative;
  min-height: 320px;
  background: #10233f;
}
.president-band .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
  position: absolute;
  inset: 0;
}
.president-band .copy {
  padding: 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.president-band .role {
  color: #ffb4bf;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: .5rem;
}
.president-band h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 .75rem;
}
.president-band p {
  color: rgba(255,255,255,.88);
  margin: 0 0 1.25rem;
}

.members-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.member-card.founder-center {
  border-color: rgba(200,16,46,.35);
  box-shadow: 0 14px 36px rgba(200,16,46,.12);
  transform: scale(1.03);
}
.member-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.member-card span {
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.35;
}
.member-card.has-website { cursor: pointer; }
.member-website {
  color: var(--flag-red);
  font-size: .72rem;
  font-weight: 800;
}

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.news-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy), var(--flag-red));
  overflow: hidden;
}
.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card .body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.news-card .meta {
  color: var(--flag-red);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.3;
}
.news-card p {
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(11,31,58,.95), rgba(200,16,46,.88)),
    #0B1F3A;
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 {
  font-family: var(--font-display);
  margin: 0 0 .4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }

.page-hero {
  padding: 3rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(200,16,46,.08), transparent),
    linear-gradient(90deg, rgba(11,31,58,.04), transparent);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0 0 .5rem;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 40rem; }
.page-hero .eyebrow {
  color: var(--flag-red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .45rem;
}

.bylaws-layout {
  max-width: 1120px;
}
.bylaws-note {
  position: sticky;
  top: 135px;
  padding: 1.35rem;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  box-shadow: var(--shadow);
}
.bylaws-note-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--flag-red);
  font-family: var(--font-display);
  font-size: 1.65rem;
}
.bylaws-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.bylaws-note p {
  margin: .55rem 0 0;
  color: rgba(255,255,255,.76);
  font-size: .86rem;
}
.bylaws-content {
  min-width: 0;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: 0 14px 38px rgba(11,31,58,.07);
}
.bylaws-content > :first-child { margin-top: 0; }
.bylaws-empty h2 { margin: 0 0 .5rem; }
.bylaws-empty p { margin: 0; }
.bylaws-main { min-width: 0; }
.bylaw-pages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.bylaws-content + .bylaw-pages { margin-top: 1.5rem; }
.bylaw-page {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 38px rgba(11,31,58,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.bylaw-page:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bylaw-page img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}
.bylaw-page span {
  display: grid;
  gap: .15rem;
  padding: .85rem 1rem 1rem;
  color: var(--muted);
  font-size: .82rem;
}
.bylaw-page b { color: var(--navy); font-size: .92rem; }

.president-hero {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 2rem;
  align-items: stretch;
}
.president-hero .frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
  background: #fff;
}
.president-hero .frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.president-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  padding: 2rem;
}
.president-hero-copy p { max-width: 42rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: #eef2f6;
  border: 1px solid var(--line);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity .25s ease;
}
.gallery-item:hover img { opacity: .92; }

.home-gallery-section {
  background: var(--navy);
  color: #fff;
}
.gallery-section-head {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.gallery-section-head > div { max-width: 42rem; }
.gallery-section-head p { color: rgba(255,255,255,.72); }
.gallery-section-head .btn-outline {
  flex: 0 0 auto;
  color: #fff;
  border-color: rgba(255,255,255,.65);
}
.gallery-section-head .btn-outline:hover { background: #fff; color: var(--navy); }
.home-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 210px);
  gap: .85rem;
}
.home-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #172b47;
}
.home-gallery-item.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}
.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity .25s ease;
}
.home-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5,17,33,.82));
}
.home-gallery-item span {
  position: absolute;
  z-index: 2;
  left: 1rem;
  right: 1rem;
  bottom: .8rem;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.home-gallery-item:hover img { opacity: .92; }
.home-gallery-item:hover span,
.home-gallery-item:focus-visible span { opacity: 1; transform: none; }

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 1.5rem;
}
.info-list {
  display: grid;
  gap: 1rem;
}
.info-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.info-item strong {
  display: block;
  margin-bottom: .25rem;
  font-family: var(--font-display);
}
.info-item a { color: var(--flag-red); font-weight: 700; }
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .7rem;
}
.info-item .contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .62rem .85rem;
  border-radius: 12px;
  color: #fff;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-social-link svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: currentColor;
}
.contact-social-link.facebook { background: #1877f2; }
.contact-social-link.instagram {
  background: radial-gradient(circle at 28% 110%, #feda75 0 12%, #fa7e1e 28%, #d62976 52%, #962fbf 74%, #4f5bd5 100%);
}
.contact-social-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11,31,58,.18);
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: grid;
  gap: .85rem;
}
.form label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
  font-size: .92rem;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .75rem .9rem;
  font: inherit;
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.alert {
  padding: .9rem 1rem;
  border-radius: 10px;
  font-weight: 700;
}
.alert-ok { background: rgba(46,125,50,.12); color: #1b5e20; }
.alert-err { background: rgba(200,16,46,.1); color: var(--flag-red-dark); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
}
.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* Milli şerit */
.milli-serit {
  background:
    linear-gradient(90deg, rgba(7,23,40,.16) 0%, rgba(7,23,40,.05) 48%, rgba(7,23,40,.08) 100%),
    #071728 url('../img/ataturk-milli-serit.png') center top / cover no-repeat;
  color: #fff;
  padding: 1.45rem 0;
  border-bottom: 3px solid #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.milli-serit-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 230px;
}
.milli-serit-text {
  width: min(56%, 620px);
  text-align: left;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
}
.milli-serit-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  margin-bottom: .2rem;
}
.milli-serit-text span {
  opacity: .92;
  font-size: .95rem;
}

/* Quote panel */
.quote-panel {
  position: relative;
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #b30d27, #0b1f3a);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.quote-panel-logo {
  position: absolute;
  right: -2.5rem;
  bottom: -3rem;
  width: min(72%, 270px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  opacity: .18;
  filter: saturate(.85);
}
.quote-panel-inner { position: relative; z-index: 1; }
.quote-panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: .75rem;
}
.quote-panel-sub { opacity: .92; font-size: 1.05rem; }

/* Atatürk band */
.ataturk-band {
  margin-top: 2.5rem;
  background:
    linear-gradient(105deg, #0a1628 0%, #13233d 45%, #3a0a12 100%);
  color: #fff;
  padding: 2.5rem 0;
  border-top: 4px solid #E30A17;
  position: relative;
  overflow: hidden;
}
.ataturk-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(227,10,23,.25), transparent 40%);
  pointer-events: none;
}
.ataturk-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  align-items: center;
}
.ataturk-portrait-wrap {
  position: relative;
  width: 200px;
  justify-self: center;
}
.ataturk-portrait {
  width: 200px;
  height: 250px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  filter: grayscale(.15) contrast(1.05);
}
.ataturk-flag-badge,
.ataturk-flags {
  display: none !important;
}
.ataturk-kicker {
  color: #ffb4bf;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: .55rem;
}
.ataturk-copy blockquote {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.45;
  color: #fff;
}
.ataturk-copy p {
  margin: 0;
  color: rgba(255,255,255,.86);
  max-width: 42rem;
}
.ataturk-flags {
  display: grid;
  gap: .75rem;
}
.ataturk-flags img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.footer-flags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.footer-flags img {
  width: 84px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.7);
  animation: flag-wave 3.8s ease-in-out infinite;
}
.footer-flags img:last-child { animation-delay: .5s; }
.footer-tribute {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.footer-tribute img {
  width: 28px;
  height: 18px;
  border-radius: 2px;
  object-fit: cover;
}

.page-hero {
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../img/bayrak.svg") right 8% center / 160px auto no-repeat;
  opacity: .08;
  pointer-events: none;
}
.page-hero-flags {
  display: flex;
  gap: .55rem;
  margin-bottom: .85rem;
}
.page-hero-flags img {
  width: 52px;
  height: 34px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(200,16,46,.2);
  border: 1px solid rgba(11,31,58,.1);
}

.site-footer {
  margin-top: 0;
  background: var(--navy);
  color: rgba(255,255,255,.88);
  padding: 2.5rem 0 1.5rem;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h3 {
  font-family: var(--font-display);
  color: #fff;
  margin: 0 0 1rem;
}
.site-footer a { color: rgba(255,255,255,.88); }
.site-footer a:hover { color: #fff; }
.footer-brand {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  font-size: .9rem;
}
.socials {
  display: flex;
  gap: .6rem;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  font-weight: 800;
}
.socials svg,
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}
.socials .social-facebook {
  background: #1877F2;
  color: #fff;
}
.socials .social-instagram {
  color: #fff;
  background: radial-gradient(circle at 32% 100%, #feda75 0 12%, #fa7e1e 28%, #d62976 52%, #962fbf 74%, #4f5bd5 100%);
}
.socials .social-facebook:hover,
.socials .social-instagram:hover {
  color: #fff;
  transform: translateY(-2px);
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .02em;
}
.whatsapp-float:hover { transform: scale(1.05); color: #fff !important; }
.whatsapp-float svg { width: 29px; height: 29px; }

.empty {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.7);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes flag-wave {
  0%, 100% { transform: rotate(0deg) skewY(0deg); }
  50% { transform: rotate(-2deg) skewY(-1deg); }
}

@media (max-width: 980px) {
  .grid-2,
  .president-band,
  .president-hero,
  .contact-grid,
  .footer-grid,
  .ataturk-band-inner {
    grid-template-columns: 1fr;
  }
  .grid-3 { grid-template-columns: 1fr; }
  .home-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 190px 190px; }
  .home-gallery-item.is-featured { grid-column: 1 / -1; grid-row: auto; }
  .gallery-section-head { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .bylaw-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .members-row { grid-template-columns: repeat(2, 1fr); }
  .member-card.founder-center { grid-column: 1 / -1; max-width: 280px; margin-inline: auto; }
  body.nav-open { overflow: hidden; }
  .bayrak-ust { display: none; }
  .site-header { z-index: 102; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    position: absolute;
    right: 0;
    z-index: 5;
    padding: .65rem .8rem;
    color: var(--navy);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    background: #fff;
    border-color: rgba(11,31,58,.16);
    box-shadow: 0 7px 18px rgba(11,31,58,.08);
  }
  .nav-toggle-label { font-weight: 400; }
  .nav {
    display: flex;
    position: fixed;
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 101;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5rem 1.25rem 1.5rem;
    margin: 0;
    max-width: none;
    gap: 0;
    overflow-y: auto;
    background: #fff;
    border: 0;
    border-radius: 22px 0 0 22px;
    box-shadow: -24px 0 60px rgba(11,31,58,.24);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .32s ease, visibility .32s ease;
  }
  .nav-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: .1rem;
  }
  .nav.open { transform: translateX(0); visibility: visible; }
  .nav-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--flag-red);
    font: 400 1.8rem/1 var(--font-body);
    cursor: pointer;
  }
  .nav::before {
    content: "ANA MENÜ";
    position: absolute;
    top: 1.45rem;
    left: 1.4rem;
    color: var(--navy);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
  }
  .nav-group a { width: 100%; padding: .85rem 1rem; border-radius: 12px; font-size: .95rem; }
  .nav-group a.active { background: var(--flag-red); color: #fff; }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    border: 0;
    padding: 0;
    background: rgba(5,17,33,.52);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .site-header { min-height: 82px; }
  .header-inner {
    justify-content: center;
    min-height: 82px;
    gap: .75rem;
  }
  .header-emblem {
    width: 86px;
    height: 86px;
    padding: 5px;
    margin-block: 0;
    top: 50%;
    border-width: 2px;
    box-shadow: 0 10px 26px rgba(11,31,58,.2), 0 0 0 5px rgba(255,255,255,.9);
  }
  .president-band .photo { min-height: 280px; }
  .hero { background-position: 58% center; }
  .ataturk-flags { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .members-row { grid-template-columns: 1fr 1fr; }
  .a11y-bar .inner { justify-content: center; padding: .6rem 0; }
  .top-contact { width: 100%; justify-content: center; }
  .a11y-tools { width: 100%; justify-content: center; }
  .header-inner { gap: .4rem; min-height: 78px; }
  .site-header { min-height: 78px; }
  .header-emblem {
    width: 76px;
    height: 76px;
    margin-block: 0;
    top: 50%;
    padding: 4px;
    box-shadow: 0 8px 20px rgba(11,31,58,.18), 0 0 0 4px rgba(255,255,255,.9);
  }
  .nav-toggle { right: .1rem; padding: .58rem .65rem; font-size: .7rem; }
  .hero {
    min-height: 650px;
    background-position: 66% center;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7,22,42,.48);
    pointer-events: none;
  }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4rem); }
  .hero-content { padding-block: 4.5rem 6rem; }
  .milli-serit {
    padding: 1rem 0;
    background-size: contain;
    background-position: center center;
  }
  .milli-serit-inner { min-height: 168px; }
  .milli-serit-text {
    width: 58%;
    padding: .8rem .15rem;
  }
  .milli-serit-text strong { font-size: clamp(1.15rem, 5.4vw, 1.55rem); }
  .milli-serit-text span { font-size: .82rem; line-height: 1.55; }
  .home-gallery { grid-template-columns: 1fr; grid-template-rows: 300px repeat(4, 220px); }
  .home-gallery-item.is-featured { grid-column: auto; }
  .home-gallery-item span { opacity: 1; transform: none; }
  .bylaw-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .bylaw-page span { padding: .65rem .7rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
