/* İç sayfalarda kullanılan ortak bileşenler. Renk ve yazı tipleri
   _Layout.cshtml içindeki Tailwind temasıyla aynıdır. */
:root {
  --gb-primary: #0F2942;
  --gb-primary-container: #E2EAF1;
  --gb-accent: #EAA315;
  --gb-accent-dark: #B45309;
  --gb-text: #475569;
  --gb-outline: #CBD5E1;
}

.gb-prose > * + * { margin-top: 36px; }

.gb-eyebrow {
  display: block;
  font: 700 11px/16px "Raleway", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gb-accent-dark);
  margin-bottom: 8px;
}

.gb-h2 {
  font: 700 26px/34px "Playfair Display", serif;
  letter-spacing: -0.25px;
  color: var(--gb-primary);
  text-wrap: balance;
  margin-bottom: 14px;
}

.gb-h3 {
  font: 700 16px/24px "Raleway", sans-serif;
  color: var(--gb-primary);
}

.gb-p {
  font-size: 16px;
  line-height: 27px;
  color: var(--gb-text);
  max-width: 68ch;
  text-wrap: pretty;
}
.gb-p + .gb-p { margin-top: 14px; }

.gb-small { font-size: 13px; line-height: 20px; color: #64748B; }

.gb-card {
  background: #fff;
  border: 1px solid rgb(203 213 225 / 0.8);
  border-radius: 16px;
  padding: 20px;
}
a.gb-card { display: block; transition: box-shadow 150ms ease-out, border-color 150ms ease-out; }
a.gb-card:hover { border-color: var(--gb-accent); box-shadow: 0 8px 24px rgb(15 41 66 / 0.08); }
.gb-card p { font-size: 14px; line-height: 22px; color: var(--gb-text); margin-top: 6px; }

.gb-icon {
  width: 40px; height: 40px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--gb-primary-container);
  color: var(--gb-primary);
  font-size: 22px;
}

.gb-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .gb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gb-list li {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid rgb(203 213 225 / 0.8);
  border-radius: 12px;
  padding: 12px 14px;
  font: 600 14px/20px "Raleway", sans-serif;
  color: var(--gb-primary);
}

.gb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gb-chips li, .gb-chip {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--gb-primary-container);
  color: #091B2C;
  font: 600 13px/18px "Raleway", sans-serif;
}

.gb-quote {
  border-left: 4px solid var(--gb-accent);
  padding: 6px 0 6px 22px;
  font: italic 600 22px/32px "Playfair Display", serif;
  color: var(--gb-primary);
  max-width: 34em;
  text-wrap: balance;
}

.gb-note {
  background: var(--gb-primary-container);
  color: #091B2C;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 22px;
  max-width: 68ch;
}

/* Kurum onayı bekleyen içerik notu: yalnızca Development ortamında basılır. */
.gb-onay {
  border: 1px dashed var(--gb-accent-dark);
  background: #FFFBEB;
  color: #78350F;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 20px;
  max-width: 68ch;
}
.gb-onay strong { font-weight: 700; }
.gb-taslak {
  font: 700 10px/14px "Raleway", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #78350F;
  background: #FEF3C7;
  border-radius: 4px;
  padding: 1px 6px;
}

.gb-steps { counter-reset: adim; display: grid; gap: 12px; }
.gb-steps li {
  counter-increment: adim;
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid rgb(203 213 225 / 0.8);
  border-radius: 12px;
  padding: 14px 16px;
  font: 600 15px/22px "Raleway", sans-serif;
  color: var(--gb-primary);
}
.gb-steps li::before {
  content: counter(adim);
  width: 32px; height: 32px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: var(--gb-primary);
  color: #fff;
  font: 700 14px/1 "Raleway", sans-serif;
  font-variant-numeric: tabular-nums;
}

.gb-table-wrap { overflow-x: auto; border: 1px solid var(--gb-outline); border-radius: 12px; }
.gb-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 22px; }
.gb-table th, .gb-table td { text-align: left; padding: 12px 16px; vertical-align: top; }
.gb-table thead th {
  background: #F1F5F9;
  font: 700 12px/16px "Raleway", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gb-primary);
}
.gb-table tbody tr + tr { border-top: 1px solid #E2E8F0; }
.gb-table tbody th { font-weight: 700; color: var(--gb-primary); white-space: nowrap; }
.gb-table td { color: var(--gb-text); }

.gb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 9999px;
  font: 700 14px/20px "Raleway", sans-serif;
  letter-spacing: 0.25px;
  transition: filter 150ms ease-out, background-color 150ms ease-out;
}
.gb-btn--accent { background: var(--gb-accent); color: #0F172A; }
.gb-btn--accent:hover { filter: brightness(1.06); }
.gb-btn--dark { background: var(--gb-primary); color: #fff; }
.gb-btn--dark:hover { background: #1E293B; }
.gb-btn--ghost { background: #fff; color: var(--gb-primary); border: 1px solid var(--gb-outline); }
.gb-btn--ghost:hover { background: #F8FAFC; }
.gb-btn--onDark { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / 0.4); }
.gb-btn--onDark:hover { background: rgb(255 255 255 / 0.1); }

.gb-form { display: grid; gap: 16px; }
.gb-form .gb-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .gb-form .gb-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gb-form label, .gb-form legend {
  display: block;
  font: 700 12px/16px "Raleway", sans-serif;
  letter-spacing: 0.04em;
  color: var(--gb-primary);
  margin-bottom: 6px;
}
.gb-form input[type="text"], .gb-form input[type="tel"], .gb-form input[type="email"],
.gb-form input[type="date"], .gb-form select, .gb-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--gb-outline);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  color: #1E293B;
}
.gb-form input:focus, .gb-form select:focus, .gb-form textarea:focus {
  border-color: var(--gb-primary);
  box-shadow: 0 0 0 1px var(--gb-primary);
  outline: none;
}
.gb-form .gb-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 20px; color: var(--gb-text); }
.gb-form .gb-check input { margin-top: 3px; border-radius: 4px; border-color: var(--gb-outline); color: var(--gb-primary); }
.gb-form .gb-check label { font: inherit; letter-spacing: 0; color: inherit; margin: 0; }
.gb-form .gb-check a { color: var(--gb-primary); font-weight: 600; text-decoration: underline; }
.gb-form-note {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #78350F;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 22px;
}
.gb-form-note a { font-weight: 700; text-decoration: underline; }

.gb-faq details { border-bottom: 1px solid #E2E8F0; }
.gb-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font: 700 16px/24px "Raleway", sans-serif;
  color: var(--gb-primary);
}
.gb-faq summary::-webkit-details-marker { display: none; }
.gb-faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--gb-accent-dark); }
.gb-faq details[open] summary::after { content: "–"; }
.gb-faq details > div { padding: 0 0 18px; font-size: 15px; line-height: 25px; color: var(--gb-text); max-width: 68ch; }
.gb-faq details a, .gb-link { color: var(--gb-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gb-link:hover, .gb-faq details a:hover { color: var(--gb-accent-dark); }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}

/* Ana sayfa: dört yıllık yol haritası (zaman çizelgesi) */
.gb-yol { display: grid; gap: 32px; position: relative; }
.gb-yol li { position: relative; padding-left: 36px; }
.gb-yol li::before {
  content: ""; position: absolute; left: 7px; top: 16px; bottom: -32px;
  width: 2px; background: var(--gb-outline);
}
.gb-yol li:last-child::before { display: none; }
.gb-yol-nokta {
  position: absolute; left: 0; top: 0;
  width: 16px; height: 16px; border-radius: 9999px;
  background: #fff; border: 3px solid var(--gb-primary);
}
.gb-yol-karar .gb-yol-nokta { background: var(--gb-accent); border-color: var(--gb-accent); box-shadow: 0 0 0 5px rgb(234 163 21 / 0.2); }
@media (min-width: 768px) {
  .gb-yol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .gb-yol li { padding-left: 0; padding-top: 40px; }
  .gb-yol li::before { left: 16px; right: -40px; top: 7px; bottom: auto; width: auto; height: 2px; }
}

.gb-form-ok {
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 22px;
}
/* Bal küpü alanı: ekranda ve ekran okuyucuda görünmez, otomatik doldurucular görür. */
.gb-bal { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Ana sayfa: tanıtım videosu düğmesi ve penceresi */
.gb-video-dugme {
  display: inline-flex; align-items: center; gap: 24px;
  min-height: 44px; padding: 0 8px 0 20px;
  font: 700 14px/20px "Raleway", sans-serif;
  letter-spacing: 0.25px;
  color: var(--gb-primary);
  cursor: pointer;
}
.gb-video-oynat {
  position: relative;
  width: 48px; height: 48px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: var(--gb-primary); color: #fff;
  transition: transform 150ms ease-out;
}
.gb-video-oynat .material-symbols-outlined { position: relative; font-size: 26px; }
/* Dalga: düğmeden dışa doğru büyüyüp kaybolan iki halka. */
.gb-video-oynat::before, .gb-video-oynat::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: var(--gb-primary);
  opacity: 0;
  animation: gb-dalga 2.4s ease-out infinite;
  pointer-events: none;
}
.gb-video-oynat::after { animation-delay: 1.2s; }
@keyframes gb-dalga {
  0% { transform: scale(1); opacity: 0.35; }
  100% { transform: scale(1.8); opacity: 0; }
}
.gb-video-dugme:hover .gb-video-oynat { transform: scale(1.06); }
.gb-video-dugme:hover .gb-video-oynat::before, .gb-video-dugme:hover .gb-video-oynat::after { background: var(--gb-accent); }
@media (prefers-reduced-motion: reduce) {
  .gb-video-oynat::before, .gb-video-oynat::after { animation: none; opacity: 0.15; transform: scale(1.3); }
  .gb-video-oynat::after { display: none; }
}
.gb-video-dugme:hover { color: var(--gb-accent-dark); }

.gb-video {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  padding: 0; border: 0;
  background: transparent;
  overflow: visible;
}
.gb-video::backdrop { background: rgb(9 27 44 / 0.82); }
.gb-video-cerceve {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.gb-video-cerceve iframe { width: 100%; height: 100%; border: 0; display: block; }
.gb-video-bos { color: #fff; font: 600 18px/28px "Raleway", sans-serif; text-align: center; padding: 24px; }
.gb-video-kapat {
  position: absolute; right: 0; top: -52px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.15); color: #fff;
  cursor: pointer;
}
.gb-video-kapat:hover { background: rgb(255 255 255 / 0.3); }

/* Ana sayfa: tam sayfa açılış duyurusu (afiş + başvuru düğmesi) */
.gb-duyuru {
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 16px; border: 0;
  background: transparent;
}
.gb-duyuru[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
/* Sayfa arkada seçilebilsin diye yarı saydam. */
.gb-duyuru::backdrop { background: rgb(9 27 44 / 0.55); }
.gb-duyuru img {
  min-height: 0; flex: 0 1 auto;
  max-width: 100%; max-height: calc(100dvh - 108px);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.5);
}
.gb-duyuru-alt { flex: none; }
.gb-duyuru-alt .gb-btn { min-height: 52px; padding: 12px 36px; font-size: 16px; box-shadow: 0 8px 24px rgb(0 0 0 / 0.35); }
.gb-duyuru-kapat {
  position: absolute; right: 16px; top: 16px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: rgb(9 27 44 / 0.85); color: #fff;
  cursor: pointer;
}
.gb-duyuru-kapat:hover { background: rgb(9 27 44 / 1); }
