/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/



/* --- Revize: Anasayfa hizmetler bolumu tam genislik, gorsel filigran --- */
.tl-hizmet-row { position: relative; z-index: 0; overflow: hidden; }
.tl-hizmet-row::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0; top: 0;
  width: 46%;
  z-index: -1;
  pointer-events: none;
  background-image: url(/wp-content/uploads/2026/07/anasayfa-satis-bg.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  opacity: .22;
}
@media (max-width: 959px) {
  .tl-hizmet-row::after { display: none; }
}


/* --- Revize: Modeller giris blogu kisa ayirici --- */
.tl-short-divider { text-align: center; }
.tl-short-divider hr.unseparator {
  width: 64px;
  max-width: 64px;
  margin: 0 auto;
  border-top-width: 2px;
  border-top-style: solid;
  border-color: #c59e62 !important;
}


/* --- Revize: Modeller giris metni ortali ve sinirli genislik --- */
.tl-center-text { max-width: 900px; margin-left: auto; margin-right: auto; }
.tl-center-text, .tl-center-text p { text-align: center; }

/* --- Revize: Haber kartlarinda kategori etiketi daha kucuk (tl-kategori-kucuk) --- */
.tmb .t-entry-category a.bordered-cat,
.tmb .t-entry-category span.bordered-cat {
  font-size: 10px;
  letter-spacing: .08em;
  padding: 3px 7px;
  line-height: 1.2;
}
.tmb .t-entry-meta .t-entry-category { margin-right: 4px; }


/* --- Revize: Haber kartlari "Devamini oku" butonu (anasayfadaki kayan kirmizi efektin acik zemin surumu) --- */
.tmb .t-entry-text .t-entry-readmore a.btn.btn-default.btn-outline:not(.icon-animated):not(.icon-automatic-video),
.tmb .t-entry-text .t-entry-readmore a.btn.btn-default.btn-outline:not(.icon-animated):not(.icon-automatic-video):link,
.tmb .t-entry-text .t-entry-readmore a.btn.btn-default.btn-outline:not(.icon-animated):not(.icon-automatic-video):visited {
  position: relative !important;
  overflow: hidden !important;
  z-index: 1;
  background: transparent !important;
  background-color: transparent !important;
  border-width: 1.5px !important;
  border-style: solid !important;
  border-color: #1a3a6e !important;
  color: #1a3a6e !important;
  transition: border-color .25s ease, color .25s ease !important;
}
.tmb .t-entry-text .t-entry-readmore a.btn.btn-default.btn-outline:not(.icon-animated):not(.icon-automatic-video)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #e8001e;
  transition: left .3s ease;
  z-index: -1;
}
.tmb .t-entry-text .t-entry-readmore a.btn.btn-default.btn-outline:not(.icon-animated):not(.icon-automatic-video):hover::before { left: 0; }
.tmb .t-entry-text .t-entry-readmore a.btn.btn-default.btn-outline:not(.icon-animated):not(.icon-automatic-video):hover,
.tmb .t-entry-text .t-entry-readmore a.btn.btn-default.btn-outline:not(.icon-animated):not(.icon-automatic-video):focus {
  border-color: #e8001e !important;
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
}
.tmb .t-entry-text .t-entry-readmore a.btn.btn-default.btn-outline:not(.icon-animated):not(.icon-automatic-video)::after {
  content: "\2192";
  display: inline-block;
  margin-left: 10px;
  transition: transform .25s ease;
}
.tmb .t-entry-text .t-entry-readmore a.btn.btn-default.btn-outline:not(.icon-animated):not(.icon-automatic-video):hover::after { transform: translateX(4px); }

/* =====================================================================
   RESPONSIVE DÜZELTMELERİ — 01.09.2026
   ===================================================================== */

/* 1) Üst slogan şeridi mobilde ekrandan taşıp kırpılıyordu */
@media (max-width: 767px) {
  .menu-bloginfo { display: none !important; }
}

/* 2) Model detay alt menüsü: mobilde tek satıra sığmıyor, iki satıra bölünsün.
      Üst satır kaydırılabilir sekmeler, alt satır tam genişlik butonlar. */
@media (max-width: 767px) {
  .tl-subnav__inner { flex-direction: column; height: auto; }
  .tl-subnav__links {
    flex: 0 0 auto; width: 100%;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(26,58,110,.12);
  }
  .tl-subnav__links::-webkit-scrollbar { display: none; }
  .tl-subnav__links li { flex: 0 0 auto; }
  .tl-subnav__links li a {
    height: 46px; font-size: 11px; letter-spacing: .06em; padding: 0 14px;
  }
  .tl-subnav__actions { flex: 0 0 auto; width: 100%; }
  .tl-subnav__btn {
    padding: 12px 4px; font-size: 10px; letter-spacing: .03em; gap: 5px;
    min-width: 0;                 /* flex ogesi icerik genisliginin altina inebilsin */
    white-space: normal;          /* uzun etiket iki satira sarsin */
    text-align: center; line-height: 1.25;
  }
  .tl-subnav__btn svg { width: 12px; height: 12px; flex: 0 0 auto; }
  .tl-video-lightbox { padding: 14px; }
  .tl-video-lightbox__close { top: -38px; }
}

/* 3) Tarihçe zaman tüneli: sütunlar mobilde de 3'lü kalıyordu (metin 94px) */
@media (max-width: 767px) {
  .page-id-179942 .row-inner > .wpb_column[class*="col-sm-33"],
  .page-id-179942 .row-inner > .wpb_column[class*="col-sm-25"],
  .page-id-179942 .row-inner > .wpb_column[class*="col-sm-50"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .page-id-179942 .row-inner > .wpb_column .uncell { width: 100% !important; }
}

/* 4) Modeller: seri tanıtım bloklarında beyaz metin fotoğrafa karışıyordu */
@media (max-width: 767px) {
  .page-id-180130 .row-container .block-bg-overlay { opacity: .66 !important; }
  /* fotograf uzerindeki beyaz metne hafif golge — okunabilirlik */
  .page-id-180130 .row-container .uncol.style-dark .uncont {
    text-shadow: 0 1px 3px rgba(0,0,0,.55);
  }
}

/* 5) Modeller: siluet başlıkları kelime ortasından bölünmesin */
.page-id-180130 .tmb .t-entry-title,
.page-id-180130 .tmb h3 {
  word-break: normal !important;
  overflow-wrap: break-word;
  hyphens: none;
}

/* ============================================================
   SABİT "BİZE ULAŞIN" SEKMESİ VE PANELİ — 20.11.2026
   ============================================================ */

.tl-cta__tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 20px 11px;
  border: 0;
  border-radius: 4px 0 0 4px;
  background: #1a3a6e;
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  cursor: pointer;
  box-shadow: -2px 4px 18px rgba(13, 31, 60, .28);
  transition: background-color .25s ease, padding-right .25s ease;
}
.tl-cta__tab:hover,
.tl-cta__tab:focus-visible { background: #e8001e; padding-right: 15px; outline: none; }
.tl-cta__tab-yazi { writing-mode: vertical-rl; text-orientation: mixed; }
.tl-cta__tab svg { width: 16px; height: 16px; flex: 0 0 auto; }

.tl-cta__perde {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(13, 31, 60, .45);
  opacity: 0;
  transition: opacity .3s ease;
}
.tl-cta--acik .tl-cta__perde { opacity: 1; }

.tl-cta__panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: 420px;
  max-width: 100vw;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  box-shadow: -8px 0 40px rgba(13, 31, 60, .22);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}
.tl-cta--acik .tl-cta__panel { transform: translateX(0); }
.tl-cta__ic { padding: 54px 40px 48px; }

.tl-cta__kapat {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a3a6e;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s ease;
}
.tl-cta__kapat:hover { opacity: 1; }

.tl-cta__kicker {
  margin: 0 0 8px;
  color: #e8001e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.tl-cta__baslik {
  margin: 0 0 12px;
  color: #0d1f3c;
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: -.01em;
}
.tl-cta__spot {
  margin: 0 0 26px;
  color: #4a5568;
  font-size: 14px;
  line-height: 1.7;
}

/* form alanlari */
.tl-cta__panel .wpcf7 { font-size: 14px; }
.tl-cta__panel .wpcf7 form > p { margin: 0 0 16px; }
.tl-cta__panel .tl-cta-etiket {
  display: block;
  margin-bottom: 6px;
  color: #0d1f3c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tl-cta__panel input[type="text"],
.tl-cta__panel input[type="email"],
.tl-cta__panel input[type="tel"],
.tl-cta__panel select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(26, 58, 110, .22);
  border-radius: 0;
  background: #f4f5f7;
  color: #0d1f3c;
  font-size: 14px;
  box-shadow: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.tl-cta__panel select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a3a6e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 38px;
}
.tl-cta__panel input:focus,
.tl-cta__panel select:focus {
  border-color: #1a3a6e;
  background: #ffffff;
  outline: none;
}

.tl-cta__panel .tl-cta-kvkk { font-size: 12.5px; line-height: 1.6; color: #5a6678; }
.tl-cta__panel .tl-cta-kvkk .wpcf7-list-item { margin: 0; }
.tl-cta__panel .tl-cta-kvkk input[type="checkbox"] { margin-right: 8px; }
.tl-cta__panel .tl-cta-kvkk a { color: #1a3a6e; text-decoration: underline; }

.tl-cta__panel input[type="submit"] {
  width: 100%;
  height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 0;
  background: #e8001e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s ease;
}
.tl-cta__panel input[type="submit"]:hover { background: #1a3a6e; }
.tl-cta__panel .wpcf7-spinner { display: block; margin: 10px auto 0; }
.tl-cta__panel .wpcf7-not-valid-tip { font-size: 12px; color: #e8001e; margin-top: 4px; }
.tl-cta__panel .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 12px 14px !important;
  border-width: 1px !important;
  font-size: 13px;
  line-height: 1.6;
}

.tl-cta__dogrudan {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(26, 58, 110, .14);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.tl-cta__dogrudan span {
  color: #8a94a6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.tl-cta__dogrudan a { color: #1a3a6e; text-decoration: none; }
.tl-cta__dogrudan a:hover { color: #e8001e; }

body.tl-cta-kilit { overflow: hidden; }

/* mobil: sekme sag altta yuvarlak ikona doner */
@media (max-width: 767px) {
  .tl-cta__tab {
    top: auto;
    bottom: 18px;
    right: 16px;
    transform: none;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }
  .tl-cta__tab:hover, .tl-cta__tab:focus-visible { padding-right: 0; }
  .tl-cta__tab-yazi { display: none; }
  .tl-cta__tab svg { width: 22px; height: 22px; }
  .tl-cta__ic { padding: 48px 22px 40px; }
  .tl-cta__baslik { font-size: 1.6rem; }
}

/* KVKK onay kutusu: Uncode tum checkbox'lara appearance:none veriyor, geri aciyoruz */
.tl-cta__panel .tl-cta-kvkk .wpcf7-list-item { display: block; margin: 0; }
.tl-cta__panel .tl-cta-kvkk label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.tl-cta__panel .tl-cta-kvkk input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: auto;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: #1a3a6e;
}
.tl-cta__panel .tl-cta-kvkk .wpcf7-list-item-label { display: block; }
.tl-cta__panel .wpcf7 .tl-cta-kvkk .wpcf7-list-item label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
}
.tl-cta__panel .wpcf7 .tl-cta-kvkk .wpcf7-list-item-label { flex: 1 1 auto; }
