/* =====================================================================================================
 *  kingstur-cerceve.css  —  Header ve footer görünümü
 * -----------------------------------------------------------------------------------------------------
 *  1  Değişkenler
 *  2  Header
 *  3  Footer — bağlantı sütunları
 *  4  Footer — kartlar (extranet / destek / e-bülten)
 *  5  Footer — alt şerit
 *  6  Mobil
 *  7  RTL / hareket azaltma
 *
 *  Not: Tema CSS'i (style.min.css, index.min.css) sonradan yükleniyor olabileceği için
 *  bilinçli olarak `body` öneki ve gerektiğinde !important kullanıldı.
 * ===================================================================================================== */

/* ============ 1  DEĞİŞKENLER ============================================================= */

:root {
  --kc-lacivert: #141b4d;
  --kc-kirmizi: #db0406;
  --kc-mavi: #006ce4;
  --kc-metin: #1a1a2e;
  --kc-soluk: #6b7280;
  --kc-cizgi: #e8eaf0;
  --kc-zemin: #ffffff;
  --kc-zemin-2: #f6f7fb;
  --kc-golge: 0 2px 14px rgba(16, 24, 64, .07);
}

/* ============ 2  HEADER ================================================================== */

body .kt-bas { background: var(--kc-zemin); height:92px; }

/* Eski temada kalan süsler ve kaldırılan parçalar */
body .kt-bas .header-top,
body .kt-bas .logo-bg,
body .kt-bas .main-menu,
body .kt-bas .th-menu-toggle { display: none !important; }

body .kt-bas__serit {
  background: var(--kc-zemin);
  border-bottom: 1px solid var(--kc-cizgi);
  padding: 0;
  height:92px;
  align-content: center;
}

body .kt-bas__ic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 8px 0;
}

body .kt-bas__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

body .kt-bas__logo img {
  height: 46px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

body .kt-bas__sag {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}

body .kt-bas__link {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--kc-metin);
  font-size: 14.5px;
  font-family: 'Montserrat';
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

body .kt-bas__link:hover { background: var(--kc-zemin-2); color: var(--kc-lacivert); }

body .kt-bas__ayirac {
  width: 1px;
  height: 22px;
  margin: 0 6px;
  background: var(--kc-cizgi);
  flex: 0 0 auto;
}

/* --- dil / para birimi --- */
body .kt-bas__secim {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 10px;
  font-family: 'Montserrat';
  height: 38px;
  padding: 0 5px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--kc-metin);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease;
}

body .kt-bas__secim:hover { background: var(--kc-zemin-2); }

body .kt-bas__bayrak {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

body .kt-bas__para { font-weight: 500; letter-spacing: .02em; font-family: 'Montserrat'; font-size: 14.5px; }

/* --- düğmeler --- */
body .kt-bas__tesis,
body .kt-bas__giris {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: 'Montserrat';
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

body .kt-bas__tesis {
  background: var(--kc-zemin-2);
  border: 1px solid var(--kc-cizgi);
  color: var(--kc-lacivert);
}

body .kt-bas__tesis:hover { background: #eef1f8; border-color: #d5d9e6; color: var(--kc-lacivert); }

body .kt-bas__giris {
  background: white;
  border: 1px solid var(--kc-lacivert);
  color: var(--kc-lacivert);
}

body .kt-bas__giris:hover { background: #1d2766; border-color: #1d2766; color: #fff; }

body .kt-bas__giris--uye { background: var(--kc-kirmizi); border-color: var(--kc-kirmizi); }
body .kt-bas__giris--uye:hover { background: #b90305; border-color: #b90305; }

body .kt-bas__giris span,
body .kt-bas__tesis span {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ 3  FOOTER — BAĞLANTI SÜTUNLARI ============================================ */

body .kt-alt {
  background: var(--kc-zemin);
  border-top: 1px solid var(--kc-cizgi);
  margin-top: 40px;
  padding: 44px 0 0;
}

body .kt-alt__baglantilar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

body .kt-alt__logo img {
  height: 44px;
  width: auto;
  margin-bottom:20px;
  max-width: 210px;
  object-fit: contain;
}

body .kt-alt__belge {
  margin: 10px 0 16px;
  font-size: 12px;
  color: var(--kc-soluk);
  line-height: 1.5;
}

body .kt-alt__sosyal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body .kt-alt__sosyal a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--kc-zemin-2);
  border: 1px solid var(--kc-cizgi);
  color: var(--kc-lacivert);
  font-size: 14px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

body .kt-alt__sosyal a:hover {
  background: var(--kc-lacivert);
  border-color: var(--kc-lacivert);
  color: #fff;
  transform: translateY(-1px);
}

body .kt-alt__baslik {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: black;
}

body .kt-alt__sutun ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body .kt-alt__sutun li { margin-bottom: 9px; }

body .kt-alt__sutun a {
  color: var(--kc-soluk);
  font-size: 13px;
  text-decoration: none;
  transition: color .15s ease;
  font-family: 'Montserrat';
}

body .kt-alt__sutun a:hover { color: var(--kc-mavi); }

/* ============ 4  FOOTER — KARTLAR ======================================================= */

body .kt-alt__kartlar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 36px;
}

body .kt-alt__yan {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body .kt-kart {
  background: var(--kc-zemin-2);
  border: 1px solid var(--kc-cizgi);
  border-radius: 16px;
  padding: 22px;
}

body .kt-kart__baslik {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: black;
}

body .kt-kart__yazi {
  margin: 0;
  font-size: 13.5px;
  color: var(--kc-soluk);
  line-height: 1.6;
}

/* Sağ sütun iki kart olduğu için extranet kartı uzuyor; içeriği dikeyde ortalayıp
   kartın boş görünmesini engelliyoruz. */
body .kt-kart--extranet {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body .kt-kart__butonlar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body .kt-dugme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

body .kt-dugme--cizgi {
  border: 1px solid var(--kc-kirmizi);
  background: transparent;
  color: var(--kc-kirmizi);
}

body .kt-dugme--cizgi:hover { background: var(--kc-kirmizi); color: #fff; }

body .kt-dugme--dolu { background: var(--kc-kirmizi); color: #fff; border: 1px solid var(--kc-kirmizi); }
body .kt-dugme--dolu:hover { background: #b90305; border-color: #b90305; color: #fff; }

/* --- destek / e-bülten --- */
body .kt-kart--destek,
body .kt-kart--bulten {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

body .kt-kart__ikon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--kc-lacivert);
  font-size: 19px;
}

body .kt-kart__govde { flex: 1 1 auto; min-width: 0; }

body .kt-kart__telefon {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--kc-lacivert);
  text-decoration: none;
  line-height: 1.3;
}

body .kt-kart__telefon:hover { color: var(--kc-kirmizi); }

body .kt-kart--destek .kt-kart__yazi span {
  display: block;
  font-size: 13px;
  color: var(--kc-soluk);
}

/* --- e-bülten formu --- */
body .kt-bulten {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

body .kt-bulten__girdi {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--kc-cizgi);
  border-radius: 10px;
  background: var(--kc-zemin);
  font-size: 14px;
  color: var(--kc-metin);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

body .kt-bulten__girdi:focus {
  border-color: var(--kc-mavi);
  box-shadow: 0 0 0 3px rgba(0, 108, 228, .12);
}

body .kt-bulten__dugme {
  flex: 0 0 auto;
  width: 46px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--kc-lacivert);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
}

body .kt-bulten__dugme:hover { background: #1d2766; }
body .kt-bulten__dugme[disabled] { opacity: .55; cursor: default; }

body .kt-bulten--bekliyor .kt-bulten__girdi { opacity: .7; }

body .kt-bulten__mesaj {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

body .kt-bulten__mesaj--ok    { color: #1a7f37; }
body .kt-bulten__mesaj--bilgi { color: var(--kc-soluk); }
body .kt-bulten__mesaj--hata  { color: var(--kc-kirmizi); }
body .kt-bulten__mesaj[hidden] { display: none !important; }

/* ============ 5  FOOTER — MOBİL UYGULAMA KARTI + ALT BANT =============================== */

/* --- uygulama kartı (marka sütununda, sosyal hesapların altında) --- */
body .kt-uygulama {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--kc-cizgi);
  border-radius: 14px;
  background: var(--kc-zemin-2);
}

body .kt-uygulama__baslik {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  font-family: 'Manrope';
  color: black;
}

body .kt-uygulama__yazi {
  margin: 4px 0 12px;
  font-size: 12.5px;
  font-family: 'Manrope';
  color: var(--kc-soluk);
  line-height: 1.5;
}

body .kt-uygulama__dugmeler {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body .kt-magaza {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 140px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: #101426;
  color: #fff;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}

body .kt-magaza:hover { background: #1d2440; color: #fff; transform: translateY(-1px); }

body .kt-magaza i { font-size: 20px; flex: 0 0 auto; }

body .kt-magaza span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

body .kt-magaza small { font-size: 10px; opacity: .75; }
body .kt-magaza b { font-size: 13.5px; font-weight: 600; white-space: nowrap; }

/* --- alt bant: tam genişlik, renkli --- */
body .kt-bant {
  background: #f5f5f9;
  border-top: 1px solid var(--kc-cizgi);
  margin-top: 8px;
}

body .kt-bant__ic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 26px 0;
}

body .kt-bant__telif {
  margin: 0;
  font-size: 13.5px;
  color: var(--kc-soluk);
  white-space: nowrap;
}

body .kt-bant__telif a { color: var(--kc-lacivert); font-weight: 600; text-decoration: none; }

body .kt-bant__belgeler {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-inline-start: auto;
}

/* tek bir belge kutusu (yazılı ya da görselli) */
body .kt-belge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  line-height: 1.3;
}

body .kt-belge--yazi { text-align: center; }

body .kt-belge__ust {
  font-size: 12.5px;
  color: var(--kc-soluk);
}

body .kt-belge__alt {
  font-size: 13px;
  font-weight: 700;
  color: var(--kc-metin);
}

body .kt-belge--resim img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
}

body .kt-belge--resim #ETBIS img { height: 62px; }

body .kt-bant__kartlar {
  height: 26px;
  width: auto;
  object-fit: contain;
}

/* ============ 6  MOBİL ================================================================== */

@media (max-width: 1199.98px) {
  body .kt-alt__baglantilar { grid-template-columns: 1.4fr 1fr 1fr; }
  body .kt-alt__sutun:last-child { grid-column: 2 / -1; }
}

@media (max-width: 991.98px) {
  /* Header'da yer kalmıyor: yazı bağlantıları ve tesis düğmesi gizlenir.
     İkisi de footer'da ve alttaki gezinti çubuğunda mevcut. */
  body .kt-bas__link,
  body .kt-bas__ayirac,
  body .kt-bas__tesis { display: none !important; }

  body .kt-bas__ic { min-height: 92px; gap: 10px; }
  body .kt-bas__logo img { height: 38px; max-width: 150px; }
  body .kt-bas__secim { height: 36px; padding: 0 9px; font-size: 13.5px; }
  body .kt-bas__secim-yazi { display: none; }
  body .kt-bas__giris { height: 38px; padding: 0 14px; font-size: 13.5px; }
  body .kt-bas__giris span { max-width: 110px; }

  body .kt-alt { padding-top: 32px; margin-top: 28px; }
  body .kt-alt__baglantilar { grid-template-columns: 1fr 1fr; gap: 26px; }
  body .kt-alt__marka { grid-column: 1 / -1; }
  body .kt-alt__sutun:last-child { grid-column: auto; }

  body .kt-alt__kartlar { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  body .kt-bas__giris span { display: none; }
  body .kt-bas__giris { width: 38px; padding: 0; justify-content: center; }

  body .kt-alt__baglantilar { grid-template-columns: 1fr; gap: 22px; }
  body .kt-bant__ic { flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px 0; }
  body .kt-bant__belgeler { gap: 18px; margin-inline-start: 0; }
  body .kt-belge--resim img { height: 46px; }
  body .kt-belge--resim #ETBIS img { height: 50px; }
  body .kt-belge__ust { font-size: 11.5px; }
  body .kt-belge__alt { font-size: 12px; }
  body .kt-kart { padding: 18px; }
  body .kt-magaza { flex: 1 1 100%; }
}

/* ============ 7  RTL / HAREKET AZALTMA ================================================== */

html[dir="rtl"] body .kt-kart--destek,
html[dir="rtl"] body .kt-kart--bulten { flex-direction: row; }

html[dir="rtl"] body .kt-bulten__dugme i { transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
  body .kt-bas__link,
  body .kt-bas__secim,
  body .kt-bas__tesis,
  body .kt-bas__giris,
  body .kt-alt__sosyal a,
  body .kt-dugme { transition: none !important; }
  body .kt-alt__sosyal a:hover { transform: none; }
}
