:root {
  --navy: #163f7a;
  --navy-deep: #0e2a55;
  --teal: #2f9cbf;
  --teal-soft: #e3f2f7;
  --sand: #efe1bd;
  --sand-soft: #faf5e8;
  --ink: #1b2533;
  --muted: #5a6677;
  --line: #dde4ec;
  --bg: #ffffff;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: var(--navy); }
h1, h2, h3 {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--navy-deep);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy-deep);
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.05rem;
}
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--ink);
  padding: 8px 12px; border-radius: 8px; font-size: 1rem; font-weight: 600;
}
.nav a:hover { background: var(--teal-soft); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--teal-soft); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--teal-soft) 0%, #fff 100%);
  padding: 64px 0 48px;
}
.hero .wrap {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero-logo { width: 240px; height: 240px; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--sand-soft); }
.section-intro { color: var(--muted); max-width: 40em; margin-bottom: 28px; }

/* Featured meeting card */
.feature {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; background: #fff;
}
.feature img { width: 220px; height: 220px; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 6px;
}
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 10px;
}
.btn:hover { background: var(--navy-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }

/* Meeting list */
.meetings { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.meetings li {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; background: #fff;
}
.meetings .num {
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--teal);
}
.meetings .place { font-weight: 700; color: var(--navy-deep); }
.meetings .meta { color: var(--muted); font-size: .95rem; }
.meetings a { font-weight: 700; text-decoration: none; }

/* Photos */
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: auto; }
.photo figcaption { font-size: .9rem; color: var(--muted); padding-top: 8px; }
.gallery { display: grid; gap: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* Info grid (2027) */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff;
}
.info-card p { color: var(--muted); margin: 0; }

.meeting-hero {
  background: linear-gradient(180deg, #dceef6 0%, #fff 100%);
  padding: 56px 0 40px; text-align: center;
}
.meeting-hero img { width: min(320px, 80vw); height: auto; margin: 0 auto 24px; }
.meeting-hero .lead { font-size: 1.25rem; color: var(--muted); }

.note {
  background: var(--teal-soft); border-radius: var(--radius); padding: 16px 20px;
  color: var(--navy-deep);
}

/* Footer */
.site-footer {
  background: var(--navy-deep); color: #cfdbe9; padding: 36px 0; font-size: .95rem;
}
.site-footer .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-footer a { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { background: #fff; border-radius: 50%; padding: 2px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero { padding: 40px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin: 0 auto 1em; }
  .hero-logo { width: 160px; height: 160px; margin: 0 auto; grid-row: 1; }
  .feature { grid-template-columns: 1fr; text-align: center; padding: 22px; }
  .feature img { width: 180px; height: 180px; margin: 0 auto; }
  .btn-row { flex-direction: column; align-items: center; gap: 14px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .info-grid { grid-template-columns: 1fr; }
  .meetings li { grid-template-columns: 52px 1fr; }
  .meetings li > a { grid-column: 2; }
  .brand span { display: none; }
  .nav { flex-wrap: nowrap; gap: 0; }
  .nav a { padding: 8px 8px; font-size: .92rem; white-space: nowrap; }
  section { padding: 40px 0; }
}

/* Forms */
.narrow { max-width: 720px; }
.form { display: grid; gap: 18px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--navy-deep); }
.field small { color: var(--muted); font-size: .9rem; }
.req { color: #b42318; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,156,191,.18);
}
.field .invalid, .invalid { border-color: #b42318 !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.small-note { color: var(--muted); font-size: .92rem; margin: 0; }
.msg { border-radius: var(--radius); padding: 14px 18px; margin: 0; }
.msg.error { background: #fdecea; color: #7a1d14; }
.msg.success { background: var(--teal-soft); color: var(--navy-deep); padding: 24px; }
.btn[disabled] { opacity: .6; cursor: wait; }
button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; justify-self: start; }
.cta {
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 24px; background: #fff;
}
.cta p { margin: 0; color: var(--muted); }

/* Düzenleme kurulu (2027 sayfası) */
.kurul-genel { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.kurul-genel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.kurul-genel li { display: flex; flex-direction: column; }
.kurul-genel .rol { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); }
@media (max-width: 760px) { .kurul-genel ul { grid-template-columns: 1fr; } .kurul-genel { padding: 20px; } }

/* Geçmiş toplantı başlığı + logo */
.toplanti-bas { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.toplanti-bas img { width: 180px; height: 134px; object-fit: contain; flex-shrink: 0; }
.toplanti-bas h2 { margin: 0; }
@media (max-width: 760px) { .toplanti-bas { flex-direction: column; align-items: flex-start; gap: 12px; } .toplanti-bas img { width: 150px; height: 112px; } }
.toplanti-bas h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.toplanti-bas .yer-alt { margin: 4px 0 0; color: var(--muted); }
.sayfa-bas { background: linear-gradient(180deg, var(--teal-soft) 0%, #fff 100%); padding-bottom: 8px; }
.sayfa-bas .toplanti-bas { margin-bottom: 0; }
.toplanti-bas img.genis { width: auto; max-width: 60%; height: 134px; object-fit: contain; border-radius: 8px; }
@media (max-width: 760px) { .toplanti-bas img.genis { width: 100%; max-width: 100%; height: auto; } }
@media (max-width: 760px) { .toplanti-bas img { align-self: center; } }
.arsiv { margin: -6px 0 20px; }
.arsiv a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--navy); border-radius: 10px; padding: 8px 14px; background: #fff; }
.arsiv a::before { content: ""; width: 14px; height: 18px; border: 2px solid currentColor; border-radius: 2px; }
.arsiv a:hover { background: var(--teal-soft); }
.kucuk-galeri { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.kucuk-galeri a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.kucuk-galeri img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.kucuk-galeri a:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .kucuk-galeri { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.basin { margin-top: 32px; }
.basin h3 { margin-bottom: 12px; }
.basin-liste { display: grid; grid-template-columns: 1.9fr 1fr; gap: 16px; align-items: start; }
.basin-liste figure { margin: 0; }
.basin-liste img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.basin-liste figcaption { font-size: .9rem; color: var(--muted); padding-top: 6px; }
@media (max-width: 760px) { .basin-liste { grid-template-columns: 1fr; } }

/* Fotoğraf slider */
html.sl-acik { overflow: hidden; }
.sl { position: fixed; inset: 0; z-index: 100; background: rgba(8, 14, 26, .94); display: grid; grid-template-rows: 1fr auto auto; }
.sl[hidden] { display: none; }
.sl-sahne { display: flex; align-items: center; justify-content: center; padding: 56px 72px 8px; min-height: 0; }
.sl-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; }
.sl-img.sag { animation: sl-sag .28s ease; }
.sl-img.sol { animation: sl-sol .28s ease; }
@keyframes sl-sag { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes sl-sol { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.sl-btn, .sl-kapat { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.14); display: grid; place-items: center; font: 400 2.2rem/1 system-ui, sans-serif; }
.sl-btn { top: 50%; transform: translateY(-50%); width: 52px; height: 72px; border-radius: 12px; }
.sl-btn:hover, .sl-kapat:hover { background: rgba(255,255,255,.26); }
.sl-btn:focus-visible, .sl-kapat:focus-visible, .sl-seritler button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sl-btn[hidden] { display: none; }
.sl-onceki { left: 12px; }
.sl-sonraki { right: 12px; }
.sl-kapat { top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; }
.sl-alt { text-align: center; color: #cfdbe9; font-size: .95rem; padding: 6px 16px 2px; }
.sl-seritler { display: flex; gap: 6px; justify-content: safe center; overflow-x: auto; padding: 8px 16px 14px; scrollbar-width: thin; }
.sl-seritler[hidden] { display: none; }
.sl-seritler button { flex: 0 0 auto; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #000; cursor: pointer; opacity: .55; }
.sl-seritler button.aktif { border-color: #fff; opacity: 1; }
.sl-seritler img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .sl-sahne { padding: 56px 8px 4px; }
  .sl-btn { width: 40px; height: 56px; font-size: 1.8rem; background: rgba(0,0,0,.35); }
  .sl-onceki { left: 4px; }
  .sl-sonraki { right: 4px; }
  .sl-seritler button { width: 52px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .sl-img.sag, .sl-img.sol { animation: none; } }
