/* =========================================================================
   Çorum Teknokent - temaya ek stiller (style.css'ten sonra yüklenir)
   ========================================================================= */

/* ---------- Menü: 2. seviye alt menü (sağa açılır) ---------- */
@media (min-width: 1280px) {
  .cs_site_header .menu-item-has-children ul li {
    position: relative;
  }
  /* Üst menü hover'ında 3. seviye otomatik açılmasın */
  .cs_site_header .menu-item-has-children:hover ul ul {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0, 0);
  }
  .cs_site_header .menu-item-has-children ul ul {
    left: 100%;
    top: -10px;
    min-width: 220px;
    transform-origin: top left;
  }
  .cs_site_header .menu-item-has-children ul li.menu-item-has-children:hover > ul,
  .cs_site_header .menu-item-has-children ul li.menu-item-has-children:focus-within > ul {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    transform: scale(1, 1);
  }
  /* Alt menüde ok sağı göstersin */
  .cs_site_header .menu-item-has-children ul .menu-item-has-children > a {
    padding-right: 36px;
  }
  .cs_site_header .menu-item-has-children ul .menu-item-has-children > a::after {
    content: "\f054";
    right: 16px;
    font-size: 10px;
  }
  .cs_site_header .menu-item-has-children ul .cs_menu_dropdown_toggle {
    display: none;
  }
}

/* Üst menü öğeleri tek satırda kalsın (İngilizcede "Site Plans" alt satıra kayıyordu) */
@media (min-width: 1280px) {
  .cs_site_header .cs_nav_list > li > a {
    white-space: nowrap;
  }
}
@media (min-width: 1280px) and (max-width: 1499px) {
  .cs_site_header .cs_nav_list {
    gap: 22px;
    padding-right: 24px;
  }
}

/* Mobil menü: iç içe alt menü girintisi ve aç/kapa alanı */
@media (max-width: 1279px) {
  .cs_site_header .cs_nav_list ul ul {
    padding-left: 15px;
    border-left: 2px solid rgba(0, 0, 0, 0.08);
    margin-left: 15px;
  }
  .cs_site_header .cs_nav_list ul .menu-item-has-children > a::after {
    display: none;
  }
}

/* ---------- Header logosu: mobil / tablet ---------- */
@media (max-width: 1279px) {
  .cs_site_header .cs_main_header_left {
    flex: 0 0 auto;
  }
  .cs_site_header .teknokent-logo {
    width: auto;
    height: 46px;
    max-width: 60vw;
    object-fit: contain;
  }
}
@media (max-width: 575px) {
  .cs_site_header .teknokent-logo {
    height: 40px;
  }
}

/* ---------- Mobil menüde dil seçici ---------- */
.cs_site_header .cs_nav_list > li.tk-mobil-dil {
  display: none;
}
@media (max-width: 1279px) {
  .cs_site_header .cs_nav_list > li.tk-mobil-dil {
    display: block;
    margin-top: 16px;
    padding: 16px 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  .tk-mobil-dil-baslik {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.7;
  }
  .tk-mobil-dil-secenekler {
    display: flex;
    gap: 10px;
  }
  .cs_site_header .cs_nav_list .tk-mobil-dil-secenekler a {
    flex: 1 1 0;
    display: block;
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    color: var(--accent-color);
  }
  .cs_site_header .cs_nav_list .tk-mobil-dil-secenekler a.aktif {
    color: #fff;
    background: var(--accent-color);
  }
}

/* ---------- Dil seçici ---------- */
.cs_top_header_in .cs_language_dropdown .cs_language_link {
  display: block;
  padding: 6px 14px;
  white-space: nowrap;
  color: var(--secondary-color, #333);
  font-size: 14px;
  text-align: left;
}
.cs_top_header_in .cs_language_dropdown .cs_language_link:hover {
  color: var(--accent-color);
}
.cs_top_header_in .cs_language_dropdown {
  min-width: 140px;
  z-index: 1002;
}

/* ---------- Firma listesi: logo kartları ---------- */
.tk-firma-bolum + .tk-firma-bolum {
  margin-top: 64px;
}
.tk-firma-kart {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.tk-firma-kart:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.tk-firma-logo {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 24px;
}
.tk-firma-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.tk-firma-ad {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  padding: 10px 12px 0;
  margin-bottom: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary-color, #222);
}
.tk-firma-ad:hover {
  color: var(--accent-color);
}
.tk-firma-link {
  display: block;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--accent-color);
}
.tk-firma-link i {
  font-size: 12px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}
.tk-firma-kart:hover .tk-firma-link i {
  transform: translateX(3px);
}
@media (max-width: 575px) {
  .tk-firma-logo {
    padding: 14px;
  }
  .tk-firma-link {
    font-size: 13px;
    padding: 10px 4px;
  }
  .tk-firma-ad {
    font-size: 12.5px;
    padding: 8px 8px 0;
  }
}

/* Anasayfa firma şeridi (kayan kartlar) */
.tk-anasayfa-firma {
  width: 260px !important;
  height: auto;
}
.tk-anasayfa-firma .tk-firma-kart:hover {
  transform: none;
}
@media (max-width: 575px) {
  .tk-anasayfa-firma {
    width: 200px !important;
  }
}

/* ---------- Haber detay: fotoğraf galerisi ---------- */
.tk-haber-galeri {
  margin: 8px 0 24px;
}
.tk-haber-galeri-baslik {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}
.tk-haber-galeri-baslik i {
  color: var(--accent-color);
  margin-right: 6px;
}
.tk-galeri-oge {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f3f5;
  cursor: zoom-in;
}
.tk-galeri-oge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.tk-galeri-oge:hover img {
  transform: scale(1.05);
}

/* ---------- Lightbox (assets/js/teknokent.js) ---------- */
html.tk-lb-kilit,
html.tk-lb-kilit body {
  overflow: hidden;
}
.tk-lb {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 16, 0.92);
}
.tk-lb.acik {
  display: flex;
}
.tk-lb-sahne {
  margin: 0;
  max-width: 92vw;
  max-height: 88vh;
  text-align: center;
}
.tk-lb-sahne img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.tk-lb-sayac {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.tk-lb button {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  line-height: 48px;
  padding: 0;
}
.tk-lb button:hover {
  background: rgba(255, 255, 255, 0.25);
}
.tk-lb-kapat {
  top: 16px;
  right: 16px;
  font-size: 30px !important;
}
.tk-lb-onceki {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.tk-lb-sonraki {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.tk-lb.tk-lb-tek .tk-lb-onceki,
.tk-lb.tk-lb-tek .tk-lb-sonraki {
  display: none;
}
@media (max-width: 575px) {
  .tk-lb-onceki,
  .tk-lb-sonraki {
    top: auto !important;
    bottom: 18px;
    transform: none !important;
  }
  .tk-lb-onceki { left: calc(50% - 60px); }
  .tk-lb-sonraki { right: calc(50% - 60px); }
}

/* ---------- Firma detay ---------- */
.tk-firma-detay-baslik {
  font-size: clamp(24px, 5.5vw, 48px) !important;
  line-height: 1.2;
  overflow-wrap: break-word;
}
@media (max-width: 575px) {
  .cs_page_header_style_1 .breadcrumb {
    font-size: 13px;
  }
}
.tk-firma-detay-kart {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 24px;
}
@media (min-width: 992px) {
  .tk-firma-detay-kart {
    position: sticky;
    top: 120px;
  }
}
.tk-firma-detay-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #f7f7f9;
}
.tk-firma-detay-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.tk-firma-detay-ad {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.tk-firma-rozet {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-color);
}
.tk-firma-bilgi {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tk-firma-bilgi li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.tk-firma-bilgi li > i {
  width: 18px;
  margin-top: 4px;
  text-align: center;
  color: var(--accent-color);
}
.tk-firma-bilgi li span {
  display: block;
  font-size: 13px;
  opacity: 0.7;
}
.tk-firma-bilgi li strong {
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.tk-firma-sosyal {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.tk-firma-sosyal a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-color);
}
.tk-firma-tanitim {
  overflow-wrap: anywhere;
}
.tk-firma-tanitim img {
  max-width: 100%;
  height: auto;
}
.tk-firma-harita {
  font-weight: 600;
  color: var(--accent-color);
}

/* Spam tuzak alanı: insanlar görmez, botlar doldurur */
.tk-hp{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
