/* =========================================================
   Anadolu Nöromüsküler Akademisi
   Editorial / institutional theme — flat surfaces, no gradients
   ========================================================= */

:root {
  --paper:      #eef1f5;   /* page background, cool light */
  --paper-2:    #e2e7ef;   /* alt sections */
  --card:       #ffffff;
  --ink:        #16263b;   /* primary text / dark surfaces */
  --ink-deep:   #101d2e;
  --muted:      #51637a;
  --blue:       #1b4e87;   /* primary accent (poster blue) */
  --blue-700:   #16406e;
  --clay:       #b5512b;   /* warm accent, used sparingly */
  --line:       rgba(22, 38, 59, 0.14);
  --line-soft:  rgba(22, 38, 59, 0.08);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------- Navbar (sticky) ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.is-stuck { box-shadow: 0 6px 24px -16px rgba(16,29,46,.5); }
.nav__inner {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: .7rem clamp(1rem, 4vw, 2rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark { color: var(--blue); width: 34px; height: 34px; flex-shrink: 0; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name strong { font-family: var(--sans); font-weight: 700; font-size: .98rem; letter-spacing: -.01em; }
.brand__name em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .94rem; color: var(--muted); }

.nav__menu { display: flex; align-items: center; gap: .35rem; }
.nav__menu > a {
  color: var(--ink); font-weight: 500; font-size: .94rem;
  padding: .5rem .7rem; border-radius: 8px; position: relative;
}
.nav__menu > a:hover { text-decoration: none; background: var(--paper-2); }
.nav__menu > a.is-active { color: var(--blue); }
.nav__menu > a.is-active::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .15rem;
  height: 2px; background: var(--blue);
}
.nav__cta {
  background: var(--ink); color: #fff !important; padding: .55rem 1.05rem !important;
  border-radius: 999px; font-weight: 600; margin-left: .4rem;
}
.nav__cta:hover { background: var(--blue-700); text-decoration: none; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .96rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--blue-700); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper); }
.btn--block { display: flex; width: 100%; }

/* ---------------- Section scaffolding ---------------- */
.section {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1rem, 4vw, 2rem);
}
.section__head { margin-bottom: 2.5rem; }
.kicker {
  display: inline-block; font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--clay);
  padding-bottom: .5rem; border-bottom: 2px solid var(--clay);
}
.section__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; margin-top: 1rem; letter-spacing: -.01em; }

/* ---------------- Hero ---------------- */
.hero { width: min(var(--wrap), 100%); margin: 0 auto; padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 4vw, 2rem) 0; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.eyebrow { font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-bottom: 1.2rem; font-size: .95rem; }
.eyebrow__free {
  display: inline-block; background: var(--clay); color: #fff; font-weight: 600;
  font-size: .8rem; padding: .25rem .65rem; border-radius: 999px; margin-right: .35rem;
}
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: .98; letter-spacing: -.02em;
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--blue); }
.hero__lead { margin: 1.6rem 0 1.2rem; font-size: 1.12rem; color: var(--muted); max-width: 38ch; }
.hero__where { display: flex; gap: .6rem; align-items: center; font-weight: 600; color: var(--ink); margin-bottom: 1.8rem; }
.hero__where .sep { color: var(--line); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__poster { position: relative; }
.hero__poster img {
  width: 100%; border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(16,29,46,.55);
}

/* subtle neuron sparkle overlay on the poster */
.sparks { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; pointer-events: none; }
.sparks::before, .sparks::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 2px; height: 2px; border-radius: 50%;
}
.sparks::before {
  background: #cfe9ff;
  box-shadow:
    34px 58px 1px .5px #cfe9ff, 118px 32px 1px .5px #cfe9ff, 196px 128px 1px .5px #cfe9ff,
    282px 60px 1px .5px #cfe9ff, 402px 104px 1px .5px #cfe9ff, 92px 206px 1px .5px #cfe9ff,
    248px 250px 1px .5px #cfe9ff, 372px 296px 1px .5px #cfe9ff, 150px 352px 1px .5px #cfe9ff,
    318px 418px 1px .5px #cfe9ff, 58px 462px 1px .5px #cfe9ff, 226px 510px 1px .5px #cfe9ff,
    398px 540px 1px .5px #cfe9ff, 112px 560px 1px .5px #cfe9ff;
  animation: twinkle 4.6s ease-in-out infinite;
}
.sparks::after {
  background: #ffd2a3;
  box-shadow:
    72px 44px 1px .5px #ffd2a3, 182px 92px 1px .5px #ffd2a3, 296px 188px 1px .5px #ffd2a3,
    410px 244px 1px .5px #ffd2a3, 128px 296px 1px .5px #ffd2a3, 344px 360px 1px .5px #ffd2a3,
    48px 408px 1px .5px #ffd2a3, 252px 470px 1px .5px #ffd2a3, 388px 520px 1px .5px #ffd2a3;
  animation: twinkle 6.2s ease-in-out infinite;
  animation-delay: -2.4s;
}
@keyframes twinkle {
  0%, 100% { opacity: .12; }
  50%      { opacity: .6; }
}

/* ---------------- Countbar ---------------- */
.countbar {
  width: min(var(--wrap), 100%); margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: 1.4rem clamp(1.2rem, 4vw, 2rem);
  background: var(--ink); color: #fff; border-radius: var(--r);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.countbar__label { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #e6edf6; }
.countbar__grid { display: flex; gap: clamp(.6rem, 3vw, 2rem); }
.cd { text-align: center; min-width: 56px; }
.cd__num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.cd__unit { display: block; margin-top: .4rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #9fb1c6; }

/* ---------------- Davet mektubu ---------------- */
.letter { width: min(var(--wrap), 100%); }
.letter__grid { display: grid; grid-template-columns: 1.55fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.letter__body { font-size: 1.06rem; }
.letter__body p { margin-bottom: 1.15rem; color: #2b3a4d; }
.letter__salut { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--ink) !important; }
.letter__body strong { color: var(--ink); font-weight: 600; }

.topics { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; margin: 1.4rem 0 1.6rem; }
.topics--wide { grid-template-columns: 1fr 1fr; }
.topics li { position: relative; padding-left: 1.4rem; color: #2b3a4d; font-size: .98rem; line-height: 1.5; }
.topics li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; background: var(--clay); border-radius: 2px; transform: rotate(45deg);
}

.letter__sign { margin-top: 2rem; display: flex; align-items: center; gap: 1.1rem; }
.letter__photo {
  width: 88px; height: 88px; flex-shrink: 0;
  border-radius: 50%; object-fit: cover; object-position: 50% 20%;
  border: 3px solid var(--card);
  box-shadow: 0 10px 24px -8px rgba(16,29,46,.55), 0 0 0 1px var(--line);
}
.letter__signtext { display: flex; flex-direction: column; }
.letter__board { display: block; color: var(--muted); font-size: .92rem; margin-bottom: .3rem; }
.letter__sign strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }

/* aside infocard */
.letter__aside { position: sticky; top: 90px; }
.infocard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; }
.infocard h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-bottom: 1rem; }
.meta { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.4rem; }
.meta > div { display: flex; flex-direction: column; gap: .15rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line-soft); }
.meta > div:last-child { border-bottom: 0; padding-bottom: 0; }
.meta dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meta dd { font-weight: 600; color: var(--ink); }
.tag-free { display: inline-block; background: var(--clay); color: #fff; font-size: .76rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; }
.infocard__mail { display: block; margin-top: .9rem; text-align: center; font-size: .86rem; word-break: break-all; }

/* ---------------- CTA band ---------------- */
.band { background: var(--ink-deep); color: #fff; }
.band__inner { width: min(var(--wrap), 100%); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem); text-align: center; }
.band__kicker { color: #9fb1c6; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; font-weight: 600; margin-bottom: 1rem; }
.band__title { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.1; margin-bottom: 2rem; }

/* ---------------- Page head (inner pages) ---------------- */
.pagehead { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.pagehead__inner { width: min(var(--wrap), 100%); margin: 0 auto; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1rem, 4vw, 2rem) clamp(1.8rem, 4vw, 2.8rem); }
.pagehead .kicker { margin-bottom: 1rem; }
.pagehead h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; }
.pagehead p { margin-top: 1rem; color: var(--muted); max-width: 56ch; font-size: 1.08rem; }

/* ---------------- Fact grid (genel bilgiler) ---------------- */
.factgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3rem; }
.factbox { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.factbox--accent { background: var(--ink); border-color: var(--ink); }
.factbox--accent .factbox__label { color: #9fb1c6; }
.factbox--accent .factbox__value { color: #fff; }
.factbox__label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.factbox__value { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; line-height: 1.2; color: var(--ink); }

/* ---------------- Prose ---------------- */
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 2.2rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.1rem; color: #2b3a4d; }
.prose strong { color: var(--ink); }

/* ---------------- Callout ---------------- */
.callout { margin-top: 2.5rem; padding: 1.3rem 1.5rem; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; }
.callout p { margin: 0; color: var(--ink); }

/* ---------------- "Çok yakında" ---------------- */
.soon { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(2rem, 5vw, 3rem); margin-bottom: 3rem; }
.soon__badge { display: inline-block; background: var(--clay); color: #fff; font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.2rem; }
.soon h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .8rem; }
.soon p { color: var(--muted); max-width: 60ch; }

/* ---------------- Kayıt blocks & tables ---------------- */
.block { margin-bottom: 3.5rem; }
.block__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 4vw, 2rem); display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.2rem; }
.block__no { font-size: .9rem; font-weight: 600; color: var(--clay); font-family: var(--sans); letter-spacing: .05em; }
.block__sub { color: var(--muted); margin: -.6rem 0 1.2rem; font-weight: 500; }

.freecard { background: var(--ink); color: #fff; border-radius: var(--r); padding: 1.5rem; display: grid; grid-template-columns: auto auto; align-items: center; gap: .3rem 1.2rem; margin-bottom: 1.4rem; }
.freecard strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.freecard__price { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: #fff; justify-self: end; }
.freecard p { grid-column: 1 / -1; color: #9fb1c6; font-size: .92rem; margin-top: .3rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 1.2rem; }
.rate { width: 100%; border-collapse: collapse; background: var(--card); min-width: 360px; }
.rate th, .rate td { text-align: left; padding: 1rem 1.3rem; }
.rate thead th { background: var(--paper-2); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.rate tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.rate td { font-weight: 500; }
.rate__price { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }

.includes { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.includes li { font-size: .9rem; padding: .4rem .9rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.note { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.note strong { color: var(--ink); }

/* ---------------- İletişim ---------------- */
.contact { display: flex; flex-direction: column; gap: clamp(1.5rem, 4vw, 2.5rem); }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ccard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.ccard__label { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: .6rem; }
.ccard__link { font-weight: 600; word-break: break-all; }
.ccard__strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); display: block; }
.ccard p { color: var(--muted); font-size: .92rem; margin-top: .4rem; }
.contact__map { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.contact__map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------------- Footer ---------------- */
.foot { background: var(--ink-deep); color: #c7d2e0; margin-top: 2rem; }
.foot__top { width: min(var(--wrap), 100%); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 2rem; }
.foot__col { display: flex; flex-direction: column; gap: .5rem; }
.foot__col h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4rem; }
.foot__col a { color: #c7d2e0; font-size: .94rem; }
.foot__col a:hover { color: #fff; }
.brand__name--light strong { color: #fff; }
.brand__name--light em { color: #9fb1c6; }
.foot__brand p { margin-top: .8rem; font-size: .92rem; color: #9fb1c6; line-height: 1.6; }
.foot__org { font-size: .9rem; color: #9fb1c6; margin-top: .3rem; }

.foot__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  width: min(var(--wrap), 100%); margin: 0 auto;
  padding: 1.3rem clamp(1rem, 4vw, 2rem);
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem;
  justify-content: space-between; align-items: center;
  font-size: .85rem; color: #9fb1c6;
}
.foot__credits a { color: #c7d2e0; font-weight: 600; }
.foot__credits a:hover { color: #fff; }
.foot__credits .dot { margin: 0 .4rem; opacity: .5; }
.heart { color: var(--clay); display: inline-block; animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.25); } 24% { transform: scale(1); } 36% { transform: scale(1.18); } }

/* ---------------- Reveal on scroll ---------------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__poster { max-width: 420px; margin: 0 auto; order: -1; }
  .letter__grid { grid-template-columns: 1fr; }
  .letter__aside { position: static; }
  .contact { grid-template-columns: 1fr; }
  .factgrid { grid-template-columns: 1fr 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .6rem clamp(1rem, 4vw, 2rem) 1.2rem;
    box-shadow: 0 18px 30px -18px rgba(16,29,46,.5);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .nav__menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__menu > a { padding: .85rem .4rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__menu > a.is-active::after { display: none; }
  .nav__cta { margin: .8rem 0 0; text-align: center; }
  .countbar { justify-content: center; text-align: center; }
  .topics, .topics--wide { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .factgrid { grid-template-columns: 1fr; }
  .freecard { grid-template-columns: 1fr; gap: .4rem; }
  .freecard__price { justify-self: start; }
  .countbar__label { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}
