/* ==========================================================================
   Özel 19 Mayıs Elit Anaokulu — tasarım sistemi
   Yön: Kemer · Belirgin rose gold · beyaz zemin
   ========================================================================== */

/* --- 1. Simgeler ---------------------------------------------------------- */
:root {
  color-scheme: light;

  /* renk */
  --ink: #3C292D;
  --body: #655054;
  --muted: #9A727A;
  --acc: #A24D5E;
  --deep: #743441;
  --acc-soft: #BC707F;
  --rule: #EBD6DA;
  --soft: #F5E1E5;
  --tint: #F0D0D7;
  --tint-2: #E8BBC4;
  --bg: #FFFFFF;
  --on-acc: #FDEEF1;
  --on-acc-strong: #FFF4F6;

  /* tipografi */
  --serif: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* ölçü */
  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 80px);
  --sec-y: clamp(52px, 7vw, 88px);
  --radius-arch: 999px 999px 18px 18px;
}

/* --- 2. Temel ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
.dl dd, .site-footer .col a, .site-footer .col span { overflow-wrap: anywhere; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--deep); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--acc); color: #fff; padding: 12px 20px; font-weight: 700;
}
.skip:focus { left: 0; }

/* --- 3. Düzen ------------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec-y); }
.sec--tight { padding-top: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }

/* --- 4. Tipografik yardımcılar -------------------------------------------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--acc);
}
.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.72; color: var(--body); }
.text { font-size: 15.5px; line-height: 1.75; color: var(--body); }
.meta {
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--acc);
}
.tabular { font-variant-numeric: tabular-nums; }

/* --- 5. Doku -------------------------------------------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 60;
  pointer-events: none; mix-blend-mode: multiply; opacity: .075;
}

/* --- 6. Başlık ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo { flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1; color: var(--ink);
}
.brand__sub {
  font-size: 9.5px; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--muted);
}
.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--body);
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--acc); }
.nav-toggle { display: none; border: 1px solid var(--rule); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 700; }

/* --- 7. Butonlar ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; font-weight: 700; text-align: center;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--acc); color: #FFF7F1; padding: 14px 28px; font-size: 15px; }
.btn--primary:hover { background: var(--deep); color: #FFF7F1; }
.btn--ghost { border: 1.5px solid var(--acc); color: var(--ink); padding: 12.5px 26px; font-size: 15px; }
.btn--ghost:hover { background: var(--soft); color: var(--ink); }
.btn--light { background: #fff; color: var(--deep); padding: 17px 34px; font-size: 16px; }
.btn--light:hover { background: var(--soft); color: var(--deep); }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* --- 8. Bölüm başlıkları -------------------------------------------------- */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 2px solid var(--acc); margin-bottom: 40px;
}
.sec-head h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.1; }

/* --- 9. Sayfa başlığı ----------------------------------------------------- */
.page-head { background: var(--soft); padding: clamp(48px, 7vw, 76px) 0 clamp(44px, 6vw, 68px); }
.page-head h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.06; max-width: 15ch; margin-top: 16px; }
.page-head .lead { max-width: 62ch; padding-top: 22px; }

/* --- 10. Kemer & kartlar -------------------------------------------------- */
.arch { border-radius: var(--radius-arch); overflow: hidden; background: var(--soft); }
.arch--center { display: flex; align-items: center; justify-content: center; }

.card {
  background: #fff; border-top: 3px solid var(--acc);
  padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px;
  text-align: left;
}
.card h3 { font-size: 22px; line-height: 1.3; }
a.card { color: var(--ink); transition: transform .15s; }
a.card:hover { color: var(--ink); transform: translateY(-3px); }
a.card:hover h3 { color: var(--acc); }

.tag {
  display: inline-flex; background: var(--soft); color: var(--deep);
  border-radius: 999px; padding: 8px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

.chip {
  border: 1px solid var(--rule); border-radius: 999px; padding: 10px 20px;
  font-size: 13.5px; font-weight: 600; color: var(--body);
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--acc); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: #FFF7F1; }

/* --- 11. Şeritler --------------------------------------------------------- */
.band { background: var(--acc); color: var(--on-acc); padding-block: clamp(34px, 4vw, 46px); }
.band__n { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); line-height: 1; color: var(--on-acc-strong); }
.band__l { font-size: 14px; color: var(--tint-2); }

.hero-band { position: relative; height: clamp(240px, 32vw, 460px); overflow: hidden; }

/* tam genişlik üçlü foto şeridi — kaynak fotoğraflar dikey */
.foto-serit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--acc); }
.foto-serit figure { margin: 0; position: relative; height: clamp(260px, 34vw, 520px); overflow: hidden; background: var(--soft); }
.foto-serit figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 16px 20px;
  font-size: 14px; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgb(60 41 45 / .78));
}
.hero-band__note {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  width: max-content; max-width: calc(100% - var(--pad) * 2);
  background: #fff; padding: 16px 28px; display: flex; align-items: center; gap: 13px;
}

.panel { background: var(--soft); border-radius: 44px; padding: clamp(32px, 4vw, 60px) clamp(24px, 4vw, 64px); }

.cta {
  background: var(--acc); border-radius: 44px;
  padding: clamp(38px, 5vw, 64px) clamp(26px, 4vw, 68px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 44px; flex-wrap: wrap;
}
.cta h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; color: var(--on-acc-strong); max-width: 16ch; }
.cta p { font-size: 17px; line-height: 1.66; color: var(--tint-2); max-width: 44ch; padding-top: 12px; }

.kazanim { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kazanim li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink); font-weight: 600; }
.kazanim svg { flex: none; }

/* --- 12. Tanım listesi & tablo -------------------------------------------- */
.dl { display: flex; flex-direction: column; margin: 0; }
.dl > div {
  display: grid; grid-template-columns: 190px 1fr; gap: 24px;
  padding-block: 16px; border-bottom: 1px solid var(--rule);
}
.dl dt {
  margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.dl dd { margin: 0; font-size: 16.5px; line-height: 1.6; }

.scroll-x { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 15px 12px; border-bottom: 1px solid var(--rule); }
.table th { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.table td:first-child { font-family: var(--serif); font-size: 19px; color: var(--acc); width: 110px; }

/* --- 13. Hero ------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1; letter-spacing: -.022em; }
.hero__media { position: relative; }
.hero__chip {
  position: absolute; left: -24px; bottom: 60px;
  background: #fff; border: 1px solid var(--rule); border-radius: 999px;
  padding: 14px 26px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 26px rgb(116 52 65 / .14);
}

/* --- 14. Galeri ----------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery__item {
  position: relative; overflow: hidden; background: var(--soft);
  border-radius: 14px; padding: 0; min-height: 210px;
}
.gallery__item--tall { grid-row: span 2; min-height: 420px; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--arch { border-radius: var(--radius-arch); }
.gallery__cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 14px 16px;
  font-size: 13px; font-weight: 600; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgb(60 41 45 / .72));
}

.lightbox {
  position: fixed; inset: 0; z-index: 70; display: none;
  align-items: center; justify-content: center; padding: 28px;
  background: rgb(60 41 45 / .88);
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; width: 100%; max-width: 900px; }
.lightbox__shot { background: #fff; border-radius: 18px; overflow: hidden; }
.lightbox figcaption {
  display: flex; justify-content: space-between; gap: 16px;
  color: var(--soft); font-size: 14.5px; padding-top: 14px;
}
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  color: var(--soft); font-size: 15px; font-weight: 700; letter-spacing: .1em;
}

/* --- 15. Makale ----------------------------------------------------------- */
.article-grid { display: grid; grid-template-columns: 1fr 300px; gap: clamp(34px, 5vw, 60px); align-items: start; }
.article-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; border-top: 2px solid var(--acc); padding-top: 22px; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 22px; }
.prose p { font-size: 17.5px; line-height: 1.85; color: var(--body); }
.prose h2 { font-size: 30px; margin-top: 40px; }
.prose h3 { font-size: 26px; margin-top: 38px; margin-bottom: -6px; }
.prose ul, .prose ol { padding-left: 20px; color: var(--body); font-size: 17.5px; line-height: 1.85; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin-inline: 0; padding: 26px 32px; background: var(--soft);
  border-left: 3px solid var(--acc);
  font-family: var(--serif); font-size: 24px; line-height: 1.5; color: var(--ink);
}
.prose blockquote p { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }

.btn--wa {
  background: #25D366; color: #fff; padding: 14px 26px; font-size: 15px;
}
.btn--wa:hover { background: #1DA851; color: #fff; }

.harita {
  height: clamp(280px, 42vw, 380px); border-radius: 18px; overflow: hidden;
  background: var(--soft); border: 1px solid var(--rule);
}
.harita iframe { width: 100%; height: 100%; border: 0; display: block; }
.harita__yer {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center;
  color: var(--body); font-size: 15px; padding: 24px;
}

.wa-fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 65; display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; border-radius: 999px;
  padding: 14px 22px 14px 18px; font-size: 15px; font-weight: 700;
  box-shadow: 0 10px 28px rgb(37 211 102 / .34);
  transition: background .15s, transform .15s;
}
.wa-fab:hover { background: #1DA851; color: #fff; transform: translateY(-2px); }
.wa-fab svg { flex: none; }
@media (max-width: 640px) {
  .wa-fab { padding: 15px; }
  .wa-fab span { display: none; }
}
@media print { .wa-fab { display: none; } }

/* --- 16. Alt bilgi -------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--rule); padding: 56px 0 40px; background: #fff; }
@media (max-width: 640px) { .site-footer { padding-bottom: 96px; } }
.site-footer .cols {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 38px; border-bottom: 2px solid var(--acc);
}
.site-footer .col { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.site-footer .col b {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.site-footer .col a, .site-footer .col span { font-size: 14.5px; color: var(--body); }
.site-footer .col a:hover { color: var(--acc); }
.site-footer .base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 22px; font-size: 13.5px; color: var(--muted);
}
.site-footer .base a { color: var(--muted); }

/* --- 17. Kırılma noktaları ------------------------------------------------ */
@media (max-width: 1080px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 840px) {
  .site-header .bar { height: 70px; gap: 12px; }
  .site-header .logo { width: 58px !important; }
  .brand { gap: 10px; }
  .brand__name { font-size: 16px; letter-spacing: .06em; white-space: nowrap; }
  .brand__sub { font-size: 8.5px; letter-spacing: .2em; }
  .nav-toggle { padding: 9px 15px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 70px; inset-inline: 0;
    flex-direction: column; gap: 0; padding: 8px 0;
    background: #fff; border-bottom: 1px solid var(--rule);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px var(--pad); border-bottom: 0; width: 100%; }
  .site-header .btn--primary { display: none; }

  .hero, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .band .grid-4 { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 16px; }
  .foto-serit { grid-template-columns: 1fr; gap: 2px; }
  .foto-serit figure { height: 62vw; }
  .hero__chip { position: static; margin: 16px 0 0; width: auto; justify-content: center; }
  .gallery__item, .gallery__item--tall { min-height: 200px; grid-row: span 1; }
  .gallery__item--wide { grid-column: span 1; }

  .dl > div { grid-template-columns: 1fr; gap: 6px; }
  .panel, .cta { border-radius: 28px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .chip { padding: 12px 20px; font-size: 14px; }
  .sec-head { margin-bottom: 30px; }
  .prose p, .prose ul, .prose ol { font-size: 16.5px; }
  .prose blockquote { font-size: 20px; padding: 20px 22px; }
  .table td:first-child { width: 78px; font-size: 17px; }
  .page-head h1 { max-width: none; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

/* --- 18. Baskı ------------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .grain, .cta, .nav-toggle { display: none !important; }
  body { color: #000; }
  .wrap { max-width: none; padding: 0; }
}
