/* ============================================================
   Academia Eğitim — Design tokens
   Concept: energetic academic — turquoise as the primary field,
   a warm coral as the "highlighter" support accent, deep teal-ink
   for text. Dynamic geometric display type for a younger,
   university-age audience.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --paper: #EAF7F6;
  --paper-dim: #DCF0EE;
  --panel: #FFFFFF;
  --ink: #0B2E30;
  --ink-mid: #3E6567;
  --ink-soft: #6D9294;
  --line: #C3E6E4;
  --gold: #12A9AC;
  --gold-deep: #0B7A7C;
  --coral: #FF6B4A;
  --coral-deep: #E14F30;
  --red: #E14F30;

  --display: 'Space Grotesk', 'Public Sans', sans-serif;
  --body: 'Plus Jakarta Sans', -apple-system, Segoe UI, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --max: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
h1,h2,h3{
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
p{ margin: 0 0 1em; color: var(--ink-mid); }
.container{ max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

/* ---------- header ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(238,240,234,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family: var(--display); font-size: 1.3rem; font-weight:500;
  text-decoration:none; color: var(--ink);
}
.brand .brand-mark{ width:34px; height:auto; flex:none; object-fit:contain; }
nav.main-nav{ display:flex; align-items:center; gap: 28px; }
nav.main-nav a{
  text-decoration:none; font-weight:600; font-size:.92rem;
  color: var(--ink-mid); padding: 6px 2px; border-bottom: 2px solid transparent;
}
nav.main-nav a:hover, nav.main-nav a[aria-current="page"]{
  color: var(--ink); border-color: var(--gold);
}
.nav-toggle{ display:none; background:none; border:1px solid var(--line); border-radius:8px; width:42px;height:42px; }
@media (max-width: 780px){
  nav.main-nav{
    position:absolute; top:76px; left:0; right:0;
    background: var(--paper); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:flex-start; gap:0;
    max-height:0; overflow:hidden;
  }
  nav.main-nav.open{ max-height: 400px; }
  nav.main-nav a{ width:100%; padding: 14px 28px; border-bottom:1px solid var(--line); }
  .nav-toggle{ display:block; }
}

/* ---------- hero ---------- */
.hero{
  position:relative; overflow:hidden;
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero .container{
  display:grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items:center;
}
.eyebrow{
  font-family: var(--mono); font-size:.76rem; letter-spacing:.08em; text-transform:uppercase;
  color: var(--gold-deep); font-weight:600; margin-bottom: 18px; display:block;
}
.hero h1{ font-size: clamp(2.1rem, 4vw, 3.4rem); line-height:1.08; margin-bottom:.5em; }
.hero h1 em{ font-style:italic; color: var(--gold-deep); }
.hero .lede{ font-size: 1.08rem; max-width: 46ch; }
.hero-actions{ display:flex; gap:14px; margin-top: 28px; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 13px 24px; border-radius: 3px;
  font-weight:700; font-size:.94rem; text-decoration:none;
  border: 1.5px solid var(--ink);
}
.btn-primary{ background: var(--ink); color: var(--paper); }
.btn-primary:hover{ background: var(--ink-mid); }
.btn-ghost{ background: transparent; color: var(--ink); }
.btn-ghost:hover{ background: var(--panel); }

.quote-card{
  position:relative; background: var(--panel);
  border:1px solid var(--line); border-radius:4px;
  padding: 34px 30px;
}
.quote-card .ig-handle{
  display:flex; align-items:center; gap:10px; margin-bottom:18px;
  font-family: var(--mono); font-size:.78rem; color: var(--ink-soft);
}
.quote-card .ig-handle .dot{ width:8px; height:8px; border-radius:50%; background: var(--gold); }
.quote-card blockquote{
  margin:0; font-family: var(--display); font-style:normal; font-weight:600;
  font-size: 1.5rem; line-height:1.3; color: var(--ink);
}
.quote-card blockquote::before{ content:"“"; color: var(--gold-deep); }
.quote-card blockquote::after{ content:"”"; color: var(--gold-deep); }
.quote-card a.ig-follow{
  display:inline-flex; align-items:center; gap:6px; margin-top:20px;
  font-size:.85rem; font-weight:700; text-decoration:none; color: var(--ink);
  border-bottom: 1.5px solid var(--gold);
}

/* ---------- sections ---------- */
section{ padding: 84px 0; }
.section-head{ max-width: 60ch; margin-bottom: 44px; }
.section-head .eyebrow{ margin-bottom: 10px; }
.section-head h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }

.grid{ display:grid; gap: 22px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){
  .grid-3, .grid-2{ grid-template-columns: 1fr; }
  .hero .container{ grid-template-columns: 1fr; }
  .hero .quote-card{ order:-1; }
}

.card{
  background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
  padding: 26px 24px;
}
.card .letter{
  width:34px; height:34px; border-radius:50%; border:1.5px solid var(--ink);
  display:grid; place-items:center; font-family:var(--mono); font-weight:700; font-size:.85rem;
  margin-bottom: 16px;
}
.card h3{ font-size: 1.15rem; margin-bottom:.4em; }
.card p{ font-size:.94rem; margin-bottom:0; }
.card p strong{ color: inherit; font-weight: 700; opacity: 1; }
.card.accent .letter{ background: var(--gold); border-color: var(--gold-deep); }
.card .res-link{
  display:inline-block; margin-top:12px; font-size:.85rem; font-weight:700;
  text-decoration:none; color: var(--ink); border-bottom: 1.5px solid var(--gold);
}
.card .res-link:hover{ color: var(--gold-deep); }

.stat-row{ display:flex; gap:44px; flex-wrap:wrap; }
.stat{ font-family: var(--mono); }
.stat .num{ font-size: 2rem; font-weight:600; color: var(--ink); }
.stat .lbl{ font-size:.78rem; color: var(--ink-soft); text-transform:uppercase; letter-spacing:.06em; }

.divider{ border:none; border-top:1px solid var(--line); margin: 0; }

.band{ background: var(--ink); color: var(--paper); }
.band p, .band h2{ color: var(--paper); }
.band .eyebrow{ color: var(--gold); }
.band .stat .num{ color: var(--paper); }
.band .stat .lbl{ color: var(--gold); }
.wash-deep .stat .num{ color: var(--paper); }
.wash-deep .stat .lbl{ color: var(--gold); }

/* exercise index */
.exlist{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.exlist li{
  border:1px solid var(--line); background: var(--panel); color: var(--ink);
  padding: 18px 20px; display:flex; align-items:center; justify-content:space-between; gap:16px;
  border-radius:4px;
}
.tag{
  font-family: var(--mono); font-size:.68rem; text-transform:uppercase; letter-spacing:.06em;
  padding: 3px 9px; border-radius: 2px; border:1px solid var(--line); color: var(--ink-mid);
}
.tag.soon{ color: var(--red); border-color: var(--red); }

/* contact */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 780px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-item{ display:flex; gap:16px; padding: 18px 0; border-bottom:1px solid var(--line); align-items:flex-start; }
.contact-item .k{ font-family: var(--mono); font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); width: 110px; flex:none; padding-top:3px; }
.contact-item a{ font-weight:600; text-decoration:none; border-bottom: 1.5px solid var(--gold); }

/* footer */
footer{ padding: 40px 0; border-top:1px solid var(--line); }
footer .container{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
footer p{ margin:0; font-size:.85rem; color: var(--ink-soft); }
footer .foot-links{ display:flex; gap:20px; }
footer .foot-links a{ text-decoration:none; font-size:.85rem; color: var(--ink-mid); font-weight:600; }

.page-hero{ padding: 64px 0 56px; border-bottom:1px solid var(--line); position:relative; overflow:hidden; }
.page-hero .eyebrow{ margin-bottom: 12px; }
.page-hero h1{ font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.page-hero p{ max-width: 60ch; font-size: 1.05rem; }
.page-hero .container{ position:relative; z-index:1; }
.page-watermark{
  position:absolute; z-index:0; pointer-events:none;
  width:320px; height:320px; opacity:.06;
  top:-70px; right:-50px;
}
@media (max-width: 900px){ .page-watermark{ width:220px; height:220px; } }

/* ---------- energy layer: motion, marquee, hover ---------- */

/* scroll-reveal */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
.grid .reveal:nth-child(2){ transition-delay:.08s; }
.grid .reveal:nth-child(3){ transition-delay:.16s; }
.grid .reveal:nth-child(4){ transition-delay:.24s; }
.grid .reveal:nth-child(5){ transition-delay:.32s; }
.grid .reveal:nth-child(6){ transition-delay:.4s; }
.grid .reveal:nth-child(7){ transition-delay:.48s; }

/* card hover lift */
.card{ transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover{
  transform: translateY(-5px);
  box-shadow: 0 14px 28px -18px rgba(23,33,54,.35);
  border-color: var(--gold);
}
.quote-card{ transition: transform .25s ease, box-shadow .25s ease; }
.quote-card:hover{ transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(23,33,54,.3); }

/* button micro-interaction */
.btn{ transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn:hover{ transform: translateY(-2px) scale(1.02); }
.btn-primary:hover{ box-shadow: 0 10px 20px -10px rgba(23,33,54,.5); }

/* nav underline sweep */
nav.main-nav a{ position:relative; transition: color .2s ease; }
nav.main-nav a::after{
  content:""; position:absolute; left:2px; right:2px; bottom:-2px; height:2px;
  background: var(--gold); transform: scaleX(0); transform-origin:left;
  transition: transform .25s ease;
}
nav.main-nav a:hover::after, nav.main-nav a[aria-current="page"]::after{ transform: scaleX(1); }

/* exam marquee strip */
.exam-marquee{ overflow:hidden; background: var(--ink); border-bottom:1px solid var(--line); }
.exam-marquee .track{
  display:flex; align-items:center; gap:40px; width:max-content;
  padding: 13px 0; animation: marquee 32s linear infinite;
}
.exam-marquee:hover .track{ animation-play-state: paused; }
.exam-marquee span.tk{
  font-family: var(--mono); font-size:.78rem; letter-spacing:.08em;
  color: var(--paper); white-space:nowrap; text-transform:uppercase;
}
.exam-marquee span.tk .dot{ color: var(--gold); margin-left:40px; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* hero ambient blobs */
.hero::before, .hero::after{
  content:""; position:absolute; border-radius:50%; filter: blur(60px);
  opacity:.35; z-index:0; pointer-events:none;
  animation: float 12s ease-in-out infinite;
}
.hero::before{
  width:340px; height:340px; background: var(--gold);
  top:-120px; right:-80px; opacity:.18;
}
.hero::after{
  width:260px; height:260px; background: var(--ink-mid);
  bottom:-100px; left:-60px; opacity:.12; animation-delay:-6s;
}
.hero .container{ position:relative; z-index:1; }
.hero-watermark{
  position:absolute; z-index:0; pointer-events:none;
  width:520px; height:520px; opacity:.07;
  top:-80px; right:-60px;
}
@media (max-width: 900px){ .hero-watermark{ width:340px; height:340px; } }
@keyframes float{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-16px, 18px) scale(1.06); }
}

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; }
  .exam-marquee .track{ animation:none; }
  .hero::before, .hero::after{ animation:none; }
}

/* ============================================================
   University badges — original monogram badges (no official
   crests/logos used, to avoid implying institutional endorsement)
   ============================================================ */
/* image banner section */
.img-banner{
  background: linear-gradient(120deg, #0B7A7C 0%, #12A9AC 100%);
  padding: 48px 0;
  text-align:center;
}
.img-banner .banner-illustration{ width:100%; max-width:560px; height:auto; }
.img-banner .banner-caption{
  color:#fff; font-family: var(--mono); font-size:.85rem; letter-spacing:.03em;
  margin-top:14px; opacity:.9;
}

.uni-badge{
  width:46px; height:46px; border-radius:50%;
  display:grid; place-items:center; flex:none;
  font-family: var(--mono); font-weight:700; font-size:.72rem; letter-spacing:.02em;
  color:#fff; margin-bottom:14px;
  box-shadow: 0 6px 14px -6px rgba(11,46,48,.35);
}
.uni-photo{
  width: calc(100% + 48px); margin: -26px -24px 16px; display:block;
  height:150px; object-fit:cover; border-radius: 4px 4px 0 0;
  background: var(--panel);
}
.uni-photo.uni-logo{ object-fit:contain; padding:20px 32px; background:#fff; }
.uni-photo.uni-mark{ padding:0; }
.card-actions{ display:flex; flex-direction:column; gap:14px; margin-top:16px; }
.card .card-actions .res-link{ margin-top:0; }
.uni-badge--ist{ background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
.uni-badge--ank{ background: linear-gradient(135deg, var(--coral), var(--coral-deep)); }
.uni-badge--izm{ background: linear-gradient(135deg, #D9A441, #B57F22); }

/* clickable card wrapper — whole card is a link */
a.card-link{ text-decoration:none; color:inherit; display:block; }
a.card-link .card{ height:100%; }

/* ============================================================
   Section mood bands — bold, saturated gradient blocks for
   real visual rhythm and energy (not pastel washes)
   ============================================================ */
.wash-cool{
  background: linear-gradient(120deg, #0B7A7C 0%, #12A9AC 45%, #4FC9C4 100%);
  color: #fff;
}
.wash-cool h2, .wash-cool h3, .wash-cool p{ color: #fff; }
.wash-cool .eyebrow{ color: #FFF3D9; }
.wash-cool .card{ background: #fff; }
.wash-cool .card h3, .wash-cool .card p{ color: var(--ink); }
.wash-cool .card p{ color: var(--ink-mid); }

.wash-warm{
  background: linear-gradient(120deg, #E14F30 0%, #FF6B4A 50%, #FF9770 100%);
  color: #fff;
}
.wash-warm h2, .wash-warm h3, .wash-warm p{ color: #fff; }
.wash-warm .eyebrow{ color: #FFE8D6; }
.wash-warm .card{ background: #fff; }
.wash-warm .card h3, .wash-warm .card p{ color: var(--ink); }
.wash-warm .card p{ color: var(--ink-mid); }

.wash-deep{ background: linear-gradient(135deg, var(--ink) 0%, #0F4547 55%, var(--gold-deep) 140%); color: var(--paper); }
.wash-deep h2, .wash-deep p, .wash-deep .eyebrow{ color: var(--paper); }
.wash-deep .eyebrow{ color: var(--gold); }
.wash-deep .card{ background: #fff; }
.wash-deep .card h3, .wash-deep .card p{ color: var(--ink); }
.wash-deep .card p{ color: var(--ink-mid); }
.wash-deep .card p strong{ color: var(--ink); }

.wash-gold{
  background: linear-gradient(120deg, #B5791E 0%, #D9A441 50%, #F0C875 100%);
  color: #fff;
}
.wash-gold h2, .wash-gold h3, .wash-gold p{ color: #fff; }
.wash-gold .eyebrow{ color: #FFF3D9; }
.wash-gold .card{ background: #fff; }
.wash-gold .card h3, .wash-gold .card p{ color: var(--ink); }
.wash-gold .card p{ color: var(--ink-mid); }

/* page mood accents — bold per-page hero gradient */
body.mode-programlar .page-hero{ background: linear-gradient(120deg, var(--paper) 0%, #FBEAE3 55%, #FFD2BA 130%); }
body.mode-universiteler .page-hero{ background: linear-gradient(120deg, var(--paper) 0%, #CDEDEB 55%, #8FDAD5 130%); }
body.mode-kaynaklar .page-hero{ background: linear-gradient(120deg, var(--paper) 0%, #FCE9C9 55%, #F0C875 130%); }
body.mode-iletisim .page-hero{ background: linear-gradient(120deg, var(--paper) 0%, #FBEAE3 55%, #FFD2BA 130%); }
body.mode-hakkimizda .page-hero{ background: linear-gradient(120deg, var(--paper) 0%, #CDEDEB 55%, #8FDAD5 130%); }

/* ============================================================
   Quick-contact — unobtrusive corner panel (not a full modal)
   ============================================================ */
.fab-contact{
  position:fixed; right:22px; bottom:22px; z-index:200;
  display:flex; align-items:center; gap:8px;
  background: var(--gold); color:#fff; border:none; border-radius:999px;
  padding:14px 22px; font-family:var(--body); font-weight:700; font-size:.9rem;
  box-shadow: 0 12px 26px -10px rgba(11,46,48,.5); cursor:pointer;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.fab-contact:hover{ transform: translateY(-2px) scale(1.03); background: var(--gold-deep); }
.fab-contact.hide{ opacity:0; pointer-events:none; transform: translateY(8px); }

.contact-panel{
  position:fixed; right:22px; bottom:22px; z-index:300;
  width:340px; max-width: calc(100vw - 40px);
  background:#fff; border-radius:12px;
  box-shadow: 0 20px 44px -14px rgba(11,46,48,.4);
  border:1px solid var(--line);
  padding:24px 22px; display:none;
}
.contact-panel.open{ display:block; animation: panelIn .22s ease; }
@keyframes panelIn{ from{ opacity:0; transform: translateY(14px); } to{ opacity:1; transform:none; } }
.contact-panel h3{ font-size:1.1rem; margin-bottom:.3em; padding-right:24px; }
.contact-panel p.sub{ color:var(--ink-soft); font-size:.85rem; margin-bottom:16px; }
.contact-panel .modal-close{
  position:absolute; top:14px; right:16px; background:none; border:none;
  font-size:1.3rem; color:var(--ink-soft); cursor:pointer; line-height:1;
}
.contact-panel{ position:fixed; }
.contact-panel label{ display:block; font-size:.78rem; font-weight:600; margin:12px 0 4px; color: var(--ink-mid); }
.contact-panel input, .contact-panel textarea{
  width:100%; padding:9px 11px; border:1px solid var(--line); border-radius:4px;
  font-family:var(--body); font-size:.88rem; color:var(--ink);
}
.contact-panel textarea{ min-height:64px; resize:vertical; }
.contact-panel .modal-submit{
  width:100%; margin-top:16px; background: var(--gold); color:#fff; border:none;
  border-radius:4px; padding:12px; font-weight:700; font-size:.9rem; cursor:pointer;
  font-family:var(--body); transition: background .2s ease;
}
.contact-panel .modal-submit:hover{ background: var(--gold-deep); }
.contact-panel .modal-note{ font-size:.72rem; color:var(--ink-soft); margin-top:8px; text-align:center; }
@media (max-width: 480px){
  .contact-panel{ right:14px; bottom:14px; left:14px; width:auto; }
  .fab-contact{ right:14px; bottom:14px; }
}
