/* =========================================================
   KALGÇ'26
   ========================================================= */
:root {
  --lilac: #B299D2;
  --indigo: #5C6FA8;
  --violet: #7473AA;

  --bg: #0d0a14;
  --text: #e9e4f0;
  --muted: #a9a2b8;
  --line: rgba(178, 153, 210, .22);

  --font-serif: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --container: 1080px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* logodaki ışık: sol üst koyu, sağ alt mor-mavi */
  background:
    radial-gradient(120vmax 90vmax at 100% 100%, rgba(92, 111, 168, .30), transparent 60%),
    radial-gradient(90vmax 70vmax at 100% 0%, rgba(178, 153, 210, .14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.2; }

:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }

.skip {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  padding: 10px 16px; background: var(--lilac); color: #150c1e; font-weight: 600;
}
.skip:focus { top: 16px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--lilac);
  border-radius: 2px;
  background: var(--lilac);
  color: #17111f;
  font-weight: 600; font-size: .95rem; letter-spacing: .04em;
  text-align: center; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .25s;
  cursor: pointer;
}
.btn:hover { background: #c6b1e2; box-shadow: 0 0 24px rgba(178, 153, 210, .5); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: rgba(178, 153, 210, .1); border-color: var(--lilac); box-shadow: none; }

.btn--sm { padding: 8px 20px; font-size: .9rem; }

.btn.is-disabled {
  background: transparent; border-color: var(--line); color: var(--muted);
  font-weight: 400; cursor: default; pointer-events: none;
}

/* ---------- Menü ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.nav.is-scrolled, .nav.is-open { background: rgba(13, 10, 20, .94); border-bottom-color: var(--line); }
.nav__inner {
  width: min(100% - 48px, var(--container)); margin-inline: auto;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .03em; }

.nav__links { display: flex; align-items: center; gap: 34px; font-size: .95rem; }
.nav__links a:not(.btn) { color: var(--muted); padding-block: 4px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); border-bottom-color: var(--lilac); }

.nav__toggle { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    background: rgba(13, 10, 20, .98); border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0;
    transition: none;
  }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transition: opacity .2s; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .nav__links .btn { margin-top: 20px; padding: 13px; }
}

/* ---------- Giriş ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding: 104px 24px 72px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.hero > * { animation: rise .9s var(--ease) both; }
.hero > :nth-child(2) { animation-delay: .1s; }
.hero > :nth-child(3) { animation-delay: .18s; }
.hero > :nth-child(4) { animation-delay: .26s; }
.hero > :nth-child(n+5) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.hero__emblem { width: clamp(180px, 32vmin, 290px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 28px; }
.hero__emblem > * { grid-area: 1 / 1; }
.hero__emblem img { width: 100%; filter: drop-shadow(0 0 16px rgba(178, 153, 210, .55)) drop-shadow(0 0 50px rgba(92, 111, 168, .5)); }
.halo {
  width: 190%; height: 190%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(178, 153, 210, .34), rgba(92, 111, 168, .14) 55%, transparent);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .6; transform: scale(1.06); } }

.hero__title {
  font-size: clamp(3.4rem, 12vw, 6.5rem); font-weight: 500; line-height: 1; letter-spacing: .02em;
  text-shadow: 0 0 40px rgba(178, 153, 210, .55);
}
.hero__subtitle { margin-top: 14px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.7rem); color: var(--lilac); }
.hero__meta { margin-top: 18px; font-size: 1rem; letter-spacing: .04em; color: var(--muted); }

.countdown { display: flex; margin-top: 44px; border-block: 1px solid var(--line); }
.countdown[hidden] { display: none; }
.countdown__cell { padding: 16px clamp(14px, 4.5vw, 38px) 14px; overflow: hidden; }
.countdown__cell + .countdown__cell { border-left: 1px solid var(--line); }
.countdown__cell b {
  display: block; font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2rem, 7vw, 3.1rem); line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
  text-shadow: 0 0 22px rgba(178, 153, 210, .6);
}
.countdown__cell b.tick { animation: tick .4s var(--ease); }
@keyframes tick { from { opacity: .2; transform: translateY(-6px); } }
.countdown__cell small { font-size: .8rem; letter-spacing: .08em; color: var(--muted); }

.countdown__note { margin-top: 40px; font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--lilac); }

.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* ---------- Bölümler ---------- */
.section { padding: clamp(64px, 9vw, 104px) 0; border-top: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.section__title { font-size: clamp(2rem, 4.5vw, 2.6rem); text-shadow: 0 0 30px rgba(178, 153, 210, .4); }
.section__title::after { content: ''; display: block; width: 48px; height: 2px; margin-top: 16px; background: var(--lilac); box-shadow: 0 0 12px var(--lilac); }
.section__note { margin-top: 18px; font-size: .95rem; color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hakkında ---------- */
.lead { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.55rem); line-height: 1.45; }
.lead + p { margin-top: 18px; color: var(--muted); max-width: 62ch; }

.facts { margin-top: 36px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Kartlar ---------- */
.container > .section__title { margin-bottom: 40px; }
.container > .section__title + .section__note { margin: -22px 0 32px; }

.group-title { margin-bottom: 18px; font-family: var(--font-sans); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); }
.cards + .group-title { margin-top: 52px; }

.cards { display: grid; gap: 18px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards--3:not(.cards--days) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--3:not(.cards--days), .cards--days, .cards--2 { grid-template-columns: 1fr; } }

.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--line); border-radius: 6px;
  background: rgba(178, 153, 210, .045);
  transition: opacity .7s var(--ease), transform .3s var(--ease), border-color .3s, box-shadow .3s, background-color .3s;
}
.card:hover {
  border-color: rgba(178, 153, 210, .55);
  background: rgba(178, 153, 210, .075);
  box-shadow: 0 0 28px rgba(178, 153, 210, .16), 0 14px 36px rgba(0, 0, 0, .3);
}
.js .card.reveal.is-in:hover, .card:hover { transform: translateY(-3px); }

.card h4 { font-size: 1.4rem; }
.card p { margin-top: 6px; font-size: .98rem; color: var(--muted); }

.card__icon {
  width: 46px; height: 46px; padding: 10px; margin-bottom: 20px;
  border: 1px solid var(--line); border-radius: 50%;
  fill: none; stroke: var(--lilac); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(178, 153, 210, .55));
  transition: border-color .3s;
}
.card:hover .card__icon { border-color: var(--lilac); }

/* Kriz komiteleri */
.card--crisis {
  min-height: 220px; justify-content: flex-end; padding: 32px 30px;
  border-color: rgba(178, 153, 210, .38);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(178, 153, 210, .16), transparent 60%),
    linear-gradient(180deg, rgba(92, 111, 168, .10), rgba(92, 111, 168, .02));
}
.card--crisis h4 { font-size: 1.75rem; }
.card--crisis p { max-width: 46ch; }
.card__mark {
  position: absolute; top: 20px; right: 20px; width: 110px; height: 110px;
  fill: none; stroke: var(--lilac); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: .22;
  transition: opacity .3s;
}
.card--crisis:hover .card__mark { opacity: .38; }
.card__tag {
  align-self: flex-start; margin-bottom: 12px; padding: 4px 10px;
  border: 1px solid rgba(178, 153, 210, .45); border-radius: 3px;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lilac);
}

/* Program */
.day time { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.day time b { font-family: var(--font-serif); font-weight: 500; font-size: 3.2rem; line-height: 1; color: var(--text); text-shadow: 0 0 22px rgba(178, 153, 210, .6); }
.day time span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; color: var(--lilac); }

/* Başvuru */
.card--apply p { flex: 1; }
.card--apply .btn { margin-top: 22px; }

/* ---------- Alt bilgi ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .95rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand strong { font-family: var(--font-serif); font-weight: 500; font-size: 1.15rem; color: var(--text); }
.footer__links { display: flex; gap: 24px; }
.footer__links:not(:has(a:not([hidden]))) { display: none; }
.footer__links a { color: var(--lilac); border-bottom: 1px solid transparent; }
.footer__links a:hover { border-bottom-color: var(--lilac); }
.footer small { font-size: .85rem; }
.footer__credit { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; text-align: center; }
.footer__credit a { color: var(--lilac); border-bottom: 1px solid transparent; transition: border-color .2s; }
.footer__credit a:hover { border-bottom-color: var(--lilac); }

/* ---------- Azaltılmış hareket ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
