/* ════════════════════════════════════════════════════════════
   KAYSO AKADEMİ SAYFASI (akademi.php)
   Tasarım dili: anasayfa akademi bölümüyle aynı —
   · Başlıklar : beyaz, ince (400) + kalın <b> vurgu (anasayfa .akademi-baslik)
   · Vurgu     : cyan #009fe3 (anasayfa etkinlik kartı rengi)
   · CTA       : kırmızı→turuncu gradyan (#fc686f → #fe934d)
   Zemin: body.ic-sayfa.anasayfa-bg markalı gradyan (style-pages.css)
   ════════════════════════════════════════════════════════════ */

.akd-page { position: relative; }
.akd-page *,
.akd-page *::before,
.akd-page *::after { box-sizing: border-box; }

/* ── Hero ── */
.akd-page .page-hero__grid { display: block; width: 100%; }
.akd-hero-thin { font-weight: 300; }
.akd-hero-desc { margin-top: 18px; max-width: 720px; }

/* ── Bölüm iskeleti — ferah dikey ritim ── */
.akd-section { padding: 46px 0 96px; }
.akd-section--past { padding-bottom: 120px; }

/* Bölüm başlığı — anasayfa .akademi-baslik ile aynı karakter */
.akd-sec-head { margin-bottom: 44px; }
.akd-sec-title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}
.akd-sec-title b { font-weight: 700; }

/* Bant kolonu başlıkları (Yaklaşan Etkinlikler / Akademi Takvimi) — daha küçük */
.akd-sec-title--sm { font-size: clamp(21px, 1.8vw, 25px); }

/* İkonlu başlık (Akademi Takvimi) — ikon metinle dikeyde ortalı */
.akd-title-iconlu {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Etkinlikler (sol) + Takvim (sağ) bandı ── */
.akd-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: start;
}

.akd-cal-col { position: sticky; top: 120px; }

/* ═══ TAKVİM KARTI ═══ */
.akd-cal-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1px 15px 15px 15px;
  margin-top: 20px;
  box-shadow: 0 14px 30px rgba(0, 47, 75, 0.22);
}

/* Ay başlığı + ileri/geri gezinme — beyaz karttan ayrı, şeffaf/cam görünümlü kendi kutusunda */
.akd-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 55px;
  margin-bottom: 16px;
}
.akd-cal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}
.akd-cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.akd-cal-nav:hover { background: #009fe3; border-color: #009fe3; }

/* Ay içi etkinlik listesi */
.akd-cal-ayliste {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.akd-cal-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: background-color .18s ease, transform .18s ease;
}
.akd-cal-mini:hover { background: #dcebf7; transform: translateX(2px); }

/* Tarih rozeti — gün/ay/yıl alt alta, başlıktan ayrı beyaz kutu */
.akd-cal-mini__tarih {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  padding: 7px 4px 6px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 47, 75, 0.14);
  line-height: 1.05;
}
.akd-cal-mini__tarih b {
  font-size: 1.15rem;
  font-weight: 800;
  color: #02023f;
}
.akd-cal-mini__tarih span {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #02023f;
  margin-top: 2px;
}
.akd-cal-mini__tarih i {
  font-style: normal;
  font-size: 0.5625rem;
  color: #02023f;
  opacity: .6;
  margin-top: 1px;
}

.akd-cal-mini__baslik {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3a4258;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Geçmiş etkinlikler: listeden çıkarılmaz, ama pasif/soluk görünür */
.akd-cal-mini.is-gecmis { opacity: .55; cursor: default; }
.akd-cal-mini.is-gecmis:hover { background: #fff; transform: none; }
.akd-cal-mini.is-gecmis .akd-cal-mini__tarih { box-shadow: none; background: #eef1f6; }
.akd-cal-mini.is-gecmis .akd-cal-mini__tarih b,
.akd-cal-mini.is-gecmis .akd-cal-mini__tarih span,
.akd-cal-mini.is-gecmis .akd-cal-mini__tarih i { color: #8a93a6; }

.akd-cal-mini-yok {
  margin: 4px 2px 0;
  font-size: 0.8125rem;
  color: #a5adbd;
}

/* ═══ YAKLAŞAN ETKİNLİK KARTLARI ═══ */
.akd-ev-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.akd-ev {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 47, 75, 0.22);
  scroll-margin-top: 120px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.akd-ev:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 47, 75, 0.30);
}

/* Takvimden gelince vurgulama animasyonu — gradyan çerçeve (box-shadow gradyan almadığı için ::after ile çizilir) */
.akd-flash { position: relative; }
.akd-flash::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(90deg, #fc686f 0%, #fe934c 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  animation: akdFlashRing 1.6s ease forwards;
}
@keyframes akdFlashRing {
  0%   { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; }
}

.akd-ev__media {
  position: relative;
  aspect-ratio: 1600 / 1066;
  align-self: start;
}
.akd-ev__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.akd-ev__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #009fe3;
  color: #ffffff;
}
.akd-ev__placeholder .uk-icon { opacity: .92; }

/* Tarih rozeti */
.akd-ev__date {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 62px;
  padding: 9px 11px 8px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 47, 75, 0.28);
  line-height: 1.05;
}
.akd-ev__date b {
  font-size: 1.5rem;
  font-weight: 800;
  color: #02023f;
}
.akd-ev__date span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #02023f;
}
.akd-ev__date i {
  font-style: normal;
  font-size: 0.625rem;
  color: #a5adbd;
}

.akd-ev__body {
  padding: 30px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
}

/* Kalan gün etiketi — tek, sade vurgu */
.akd-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(0, 159, 227, 0.10);
  color: #0089c4;
  margin-bottom: 14px;
}

.akd-ev__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #02023f;
  line-height: 1.35;
  margin: 0 0 16px;
}

.akd-ev__meta {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.akd-ev__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #4b5468;
}
.akd-ev__meta li .uk-icon { color: #009fe3; }

.akd-ev__desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0 0 22px;
}

.akd-ev__actions { margin-top: auto; }

/* ═══ CTA BUTONU (anasayfa .akademi-buton ile aynı gradyan) ═══ */
.akd-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 30px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(90deg, #fc686f 0%, #fe934c 100%);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .25s ease, transform .25s ease;
}
.akd-btn-cta:hover {
  color: #ffffff;
  filter: brightness(1.06);
  transform: translateY(-2px);
}
.akd-btn-cta--big { padding: 14px 36px; }

/* Boş durum */
.akd-empty {
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 56px 32px;
  text-align: center;
  color: #dbe6ff;
}
.akd-empty p { margin: 14px auto 0; max-width: 420px; }

/* ═══ KATILIM FORMU ═══ */
.akd-section--form { scroll-margin-top: 90px; }

.akd-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.akd-form-info {
  color: #ffffff;
  padding-top: 6px;
  position: sticky;
  top: 110px;
}
.akd-form-info .akd-sec-title { margin-bottom: 0; }
.akd-form-info__text {
  margin: 24px 0 28px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
.akd-form-info__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.akd-form-info__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.92);
}
.akd-form-info__list .uk-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #fff;
}

.akd-form-card {
  background: #ffffff;
  border-radius: 10px;
  padding: clamp(28px, 3.2vw, 46px);
  box-shadow: 0 14px 30px rgba(0, 47, 75, 0.22);
}

.akd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
}
.akd-field { min-width: 0; }
.akd-field--full { grid-column: 1 / -1; }

.akd-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #02023f;
  margin-bottom: 8px;
}
.akd-field label b { color: #e02424; }

.akd-field input[type="text"],
.akd-field input[type="tel"],
.akd-field input[type="email"],
.akd-field input[type="number"],
.akd-field select,
.akd-field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e5eaf2;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #252526;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.akd-field input:focus,
.akd-field select:focus,
.akd-field textarea:focus {
  outline: none;
  border-color: #009fe3;
  box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.12);
}
.akd-field textarea { resize: vertical; min-height: 92px; }

/* KVKK onayı */
.akd-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 400 !important;
}
.akd-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #009fe3;
}
.akd-check span {
  font-size: 0.8125rem;
  color: #4b5468;
  line-height: 1.5;
}

/* Hata vurgusu */
.akd-field.hata input,
.akd-field.hata select,
.akd-field.hata textarea {
  border-color: #e02424;
  box-shadow: 0 0 0 3px rgba(224, 36, 36, 0.10);
}
.akd-field.hata label { color: #e02424; }
.akd-field.hata .akd-check span { color: #e02424; }

.akd-form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #eef1f6;
}
.akd-form-zorunlu { color: #a5adbd; font-size: 0.8125rem; }
.akd-form-zorunlu b { color: #e02424; }

/* Form kapalı / başarı durumları */
.akd-form-kapali {
  text-align: center;
  padding: 44px 20px;
  color: #6b7280;
}
.akd-form-kapali p { margin: 12px 0 0; }

.akd-form-basari { text-align: center; padding: 36px 16px; }
.akd-form-basari__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 159, 227, 0.12);
  color: #009fe3;
  margin-bottom: 20px;
}
.akd-form-basari h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #02023f;
  margin: 0 0 10px;
}
.akd-form-basari p {
  color: #6b7280;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ═══ GEÇMİŞ ETKİNLİKLER — UIkit slider ═══ */
.akd-past-slider { margin-top: 0; }
.akd-past-slider .uk-slider-items { padding: 6px 2px 10px; }

.akd-past {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 47, 75, 0.18);
  scroll-margin-top: 140px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.akd-past:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 47, 75, 0.26);
}

.akd-past__media {
  position: relative;
  aspect-ratio: 1600 / 1066;
  flex-shrink: 0;
}
.akd-past__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(55%);
  opacity: .9;
  transition: filter .3s ease, opacity .3s ease;
}
.akd-past:hover .akd-past__media img {
  filter: grayscale(0%);
  opacity: 1;
}
.akd-past__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dfe5ee;
}
.akd-past__placeholder img {
  position: static;
  width: 58px;
  height: 58px;
  object-fit: contain;
  opacity: .55;
  filter: none;
}

.akd-past__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(2, 2, 63, 0.75);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.akd-past__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.akd-past__date,
.akd-past__loc {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  color: #8a93a6;
}
.akd-past__date { margin-bottom: 10px; }
.akd-past__date .uk-icon,
.akd-past__loc .uk-icon { color: #009fe3; }
.akd-past__title {
  font-size: 1rem;
  font-weight: 700;
  color: #02023f;
  line-height: 1.45;
  margin: 0 0 10px;
}
.akd-past__loc { margin-top: auto; }

/* Slider navigasyonu: ok + nokta, kartların altında ortalı */
.akd-past-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
}
.akd-slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transition: background-color .2s ease, transform .2s ease;
}
.akd-slider-btn:hover {
  background: #009fe3;
  border-color: #009fe3;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ════════════════ RESPONSIVE ════════════════ */

/* Laptop */
@media (max-width: 1199px) {
  .akd-band { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
  .akd-ev__body { padding: 26px 28px; }
  .akd-form-wrap { gap: 40px; }
}

/* Tablet */
@media (max-width: 959px) {
  .akd-section { padding: 36px 0 76px; }
  .akd-sec-head { margin-bottom: 32px; }

  .akd-band { grid-template-columns: 1fr; gap: 56px; }
  .akd-cal-col { position: static; }
  .akd-cal-card { max-width: 480px; }

  .akd-form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .akd-form-info { position: static; }
}

/* Büyük telefon */
@media (max-width: 767px) {
  .akd-section { padding: 28px 0 64px; }

  .akd-ev-list { grid-template-columns: 1fr; }
  .akd-ev__body { padding: 22px; }
  .akd-ev__title { font-size: 1.1rem; }
  .akd-ev__meta { flex-direction: column; gap: 9px; }

  .akd-form-grid { grid-template-columns: 1fr; }
  .akd-form-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .akd-btn-cta--big { width: 100%; }
}

/* Telefon */
@media (max-width: 480px) {
  .akd-cal-card { padding: 18px; max-width: 100%; margin-top: 16px; }
  .akd-ev__date { min-width: 54px; padding: 7px 9px 6px; }
  .akd-ev__date b { font-size: 1.25rem; }
  .akd-btn-cta { width: 100%; }
  .akd-past-nav { gap: 14px; }
}
