/* Teknik Konteyner style header – referans style.php ile birebir */
.tk-header {
  --tk-navy: #0b172a;
  --tk-green: #00a00f;
  --tk-red: #dd3333;
  --tk-white: #ffffff;
  --tk-border: #e6eaef;
  font-family: var(--tk-font) !important;
  background: var(--tk-white);
  width: 100%;
  position: relative;
  z-index: 1040;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tk-header,
.tk-header a,
.tk-header span,
.tk-header p,
.tk-header li,
.tk-header button {
  font-family: var(--tk-font) !important;
}

.tk-header a { text-decoration: none; }
.tk-header a:hover { text-decoration: none; }

/* Top bar – referans .top-bar */
.tk-header .tk-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 40px;
  background: var(--tk-navy);
  color: var(--tk-white);
  position: relative;
  z-index: 6;
  font-family: var(--tk-font) !important;
}

.tk-header .tk-topbar-left,
.tk-header .tk-topbar-right {
  display: flex;
  align-items: center;
}

.tk-header .tk-topbar-left { flex: 1 1 60%; gap: 0; flex-wrap: wrap; }
.tk-header .tk-topbar-right { flex: 0 0 auto; gap: 0; margin-left: auto; }

.tk-header .tk-contact {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  align-self: stretch;
  height: 50px;
  background: transparent !important;
  color: var(--tk-white);
}

.tk-header .tk-contact-item {
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  padding: 0 22px;
  color: var(--tk-white);
  line-height: 21px;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.tk-header .tk-contact-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

/* Referans: .contact-infos i – FA5 phone-alt / whatsapp / envelope 15px */
.tk-header .tk-contact-item .tk-ci {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  margin-right: 10px;
  flex-shrink: 0;
  display: block;
  color: var(--tk-white);
  fill: currentColor;
}

.tk-header .tk-contact-item a {
  font-family: var(--tk-font) !important;
  font-size: 15px;
  line-height: 21px;
  font-weight: 300;
  color: var(--tk-white);
  margin-bottom: 0;
  transition: none;
}

.tk-header .tk-contact-item a:hover,
.tk-header .tk-contact-item a:focus {
  color: inherit;
  opacity: 1;
  text-decoration: none;
}

/* Social – referans .module-social */
.tk-header .tk-social {
  display: flex;
  align-items: center;
  height: 50px;
  line-height: 50px;
}

.tk-header .tk-social a {
  margin-right: 10px;
  display: inline-flex;
}

.tk-header .tk-social a:last-child { margin-right: 0; }

.tk-header .tk-social a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tk-white);
  color: var(--tk-navy);
  font-size: 12px;
  transition: 0.3s ease-in-out;
}

.tk-header .tk-social a:hover i {
  background: var(--tk-green);
  color: var(--tk-white);
  transform: translateY(-5px);
}

/* Language – referans .module-language .selected */
.tk-header .tk-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 30px;
  margin-right: 0;
  height: 50px;
}

.tk-header .tk-lang-selected {
  display: flex;
  align-items: center;
  color: var(--tk-white);
  cursor: pointer;
  padding: 0;
}

.tk-header .tk-lang-selected .flag-icon {
  width: 1.33333333em;
  height: 1em;
  margin-right: 10px;
  font-size: 20px;
  line-height: 1em;
  border-radius: 0;
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  display: inline-block;
  flex-shrink: 0;
}

.tk-header .tk-lang-selected > span {
  font-family: var(--tk-font) !important;
  font-size: 13px;
  line-height: 21px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0;
  text-transform: capitalize;
  margin-right: 5px;
  cursor: pointer;
}

.tk-header .tk-lang-selected > i.fa,
.tk-header .tk-lang-selected > i.fas {
  font-size: 11px;
  color: #fff;
  margin-left: 0;
}

.tk-header .tk-lang-list {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 150px;
  background: var(--tk-white);
  box-shadow: 0 8px 24px rgba(11, 23, 42, 0.15);
  border-radius: 4px;
  padding: 8px 0;
  z-index: 100;
  list-style: none;
  margin: 0;
}

.tk-header .tk-lang:hover .tk-lang-list,
.tk-header .tk-lang.is-open .tk-lang-list { display: block; }

.tk-header .tk-lang-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--tk-navy);
  font-family: var(--tk-font) !important;
  font-size: 13px;
  font-weight: 400;
  line-height: 21px;
}

.tk-header .tk-lang-list li a:hover {
  background: #f5f7fa;
  color: var(--tk-green);
}

.tk-header .tk-lang-list .flag-icon {
  width: 1.33333333em;
  height: 1em;
  font-size: 20px;
  line-height: 1em;
  margin-right: 10px;
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  display: inline-block;
}

/* Main nav */
.tk-header .tk-navbar {
  display: flex;
  align-items: center;
  min-height: 110px;
  padding: 0 40px;
  background: #fff;
  position: relative;
  z-index: 5;
}

.tk-header .tk-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 40px;
  padding-right: 40px;
  border-right: 1px solid var(--tk-border);
  height: 110px;
  flex-shrink: 0;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.tk-header .tk-brand img {
  max-height: 56px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  flex-shrink: 0;
}

.tk-header .tk-brand-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #0b172a;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.tk-header .tk-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 0;
}

.tk-header .tk-nav > li {
  position: relative;
  margin-right: 30px;
}

.tk-header .tk-nav > li:last-child { margin-right: 0; }

.tk-header .tk-nav > li > a {
  display: inline-flex;
  align-items: center;
  height: 110px;
  color: var(--tk-navy);
  font-family: var(--tk-font) !important;
  font-size: 17px;
  line-height: 110px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0;
  position: relative;
  padding: 0;
  margin-bottom: 0;
}

.tk-header .tk-nav > li > a span {
  display: inline-block;
  height: 110px;
  line-height: 110px;
  font-family: inherit !important;
  font-size: inherit;
  font-weight: inherit;
}

.tk-header .tk-nav > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--tk-green);
  transform: scale3d(0, 1, 1);
  transform-origin: 100% 50%;
  transition: transform 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.tk-header .tk-nav > li:hover > a::before,
.tk-header .tk-nav > li.is-active > a::before {
  transform: scale3d(1, 1, 1);
  transform-origin: 0 50%;
}

.tk-header .tk-nav > li.has-dropdown > a::after {
  content: "\f107";
  font-family: "FontAwesome", sans-serif;
  font-weight: normal;
  font-size: 11px;
  margin-left: 7px;
  color: var(--tk-navy);
}

.tk-header .tk-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--tk-white);
  box-shadow: 0 10px 30px rgba(11, 23, 42, 0.12);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  z-index: 50;
}

.tk-header .tk-nav > li.has-dropdown:hover > .tk-dropdown { display: block; }

.tk-header .tk-dropdown li a {
  display: block;
  padding: 12px 18px 14px;
  color: var(--tk-navy);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  font-family: var(--tk-font) !important;
  position: relative;
  background: transparent;
  transition: color 0.3s ease;
}
.tk-header .tk-dropdown li a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 3px;
  background: var(--tk-green);
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform 0.35s ease;
  pointer-events: none;
}
.tk-header .tk-dropdown li a:hover {
  background: transparent;
}
.tk-header .tk-dropdown li a:hover::after {
  transform: scaleX(1);
}

/* Right modules – referans .module-holder (269 × 105) */
.tk-header .tk-modules {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  padding-left: 0;
  border-left: none;
  height: 105px;
  min-height: 105px;
}

/* Referans .module-search */
.tk-header .tk-search {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-right: 30px;
  padding-right: 30px;
  height: 80px;
  cursor: pointer;
  color: var(--tk-navy);
  font-family: var(--tk-font) !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  text-transform: capitalize;
}

.tk-header .tk-search::after {
  content: '';
  width: 1px;
  height: 27px;
  display: inline-flex;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: var(--tk-border);
}

@media screen and (min-width: 1200px) {
  .tk-header .tk-search::after {
    height: 110px;
  }
}

.tk-header .tk-search i {
  margin-right: 0;
  font-size: 15px;
  color: var(--tk-navy);
  font-weight: 400;
  transition: 0.3s ease-in-out;
}

.tk-header .tk-search span {
  display: none;
  color: var(--tk-navy);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  font-family: var(--tk-font) !important;
  text-transform: capitalize;
  transition: 0.3s ease-in-out;
}

@media screen and (min-width: 1467px) {
  .tk-header .tk-search span {
    display: inline-block !important;
  }
  .tk-header .tk-search i {
    margin-right: 15px;
  }
}

.tk-header .tk-search:hover,
.tk-header .tk-search:hover i,
.tk-header .tk-search:hover span { color: var(--tk-green); }

/* Referans .module-contact – 180 × 50 */
.tk-header .tk-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-width: 180px;
  height: 50px;
  padding: 0;
  background: var(--tk-red);
  color: var(--tk-white) !important;
  font-family: var(--tk-font) !important;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  border-radius: 0;
  border: none;
  transition: 0.3s ease-in-out;
  white-space: nowrap;
}

.tk-header .tk-cta:hover {
  background: var(--tk-navy);
  color: var(--tk-white) !important;
}

/* Sticky */
.tk-header.is-sticky .tk-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 8px rgba(3, 27, 78, 0.1);
  animation: tkFadeDown 0.35s ease;
}

@keyframes tkFadeDown {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.desktop-header-area .tk-header { margin: 0; }
.header-main-div:has(.tk-header) {
  padding: 0 !important;
  background: transparent !important;
}

@media (min-width: 992px) and (max-width: 1250px) {
  .tk-header .tk-contact-item { padding: 0 14px; }
}

@media (min-width: 992px) and (max-width: 1300px) {
  .tk-header .tk-search {
    margin-right: 20px;
    padding-right: 20px;
  }
  .tk-header .tk-topbar { padding: 0 20px; }
  .tk-header .tk-lang { margin-left: 15px; }
}

@media (min-width: 1200px) and (max-width: 1350px) {
  .tk-header .tk-modules {
    margin-left: 20px;
  }
}

@media (max-width: 1400px) {
  .tk-header .tk-nav > li { margin-right: 20px; }
  .tk-header .tk-nav > li > a { font-size: 15px; }
}

@media (max-width: 1200px) {
  .tk-header .tk-topbar,
  .tk-header .tk-navbar { padding: 0 20px; }
  .tk-header .tk-brand {
    margin-right: 20px;
    padding-right: 20px;
    height: 90px;
  }
  .tk-header .tk-navbar,
  .tk-header .tk-nav > li > a,
  .tk-header .tk-modules { min-height: 90px; height: auto; }
  .tk-header .tk-nav > li > a { height: 90px; }
  .tk-header .tk-brand img { max-height: 48px; max-width: 90px; }
  .tk-header .tk-brand-title { font-size: 16px; }
  .tk-header .tk-search span { display: none; }
  .tk-header .tk-cta { width: 180px; min-width: 180px; height: 50px; font-size: 15px; padding: 0; }
}

@media (max-width: 1100px) {
  .tk-header .tk-contact-item:nth-child(3) { display: none; }
}

/* Mobile header logo + site title */
@media (max-width: 991px) {
  .mobile-header-main-ust {
    align-items: center !important;
    min-height: 56px;
  }
  .mobile-header-main-ust > .d-flex {
    display: flex !important;
    align-items: center !important;
    min-width: 0;
    flex: 1 1 auto;
  }
  .mobile-header-ust-right {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0;
  }
  .mobile-header-logo,
  .mobile-header-logo-tablet-pro {
    width: auto !important;
    max-width: none !important;
    flex-shrink: 1;
    min-width: 0;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
  }
  /* Phone: only mobile logo */
  .mobile-header-logo {
    display: flex !important;
  }
  .mobile-header-logo-tablet-pro {
    display: none !important;
  }
  .mobile-header-logo a,
  .mobile-header-logo-tablet-pro a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px;
    text-decoration: none !important;
    max-width: 100%;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 40px;
  }
  .mobile-header-logo img,
  .mobile-header-logo-tablet-pro img {
    max-width: 72px !important;
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle;
  }
  .mobile-header-logo .tk-brand-title,
  .mobile-header-logo-tablet-pro .tk-brand-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1 !important;
    color: #0b172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex !important;
    align-items: center !important;
    height: 40px;
    margin: 0 !important;
    padding: 0 !important;
    position: static;
    top: auto;
    transform: none;
  }
  .mobile-header-icons,
  .mobile-header-bars {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .fixed-foot-navigation,
  .fixed-foot-navigation.footer-sticky-nav {
    display: none !important;
  }
}
/* Tablet: only tablet logo */
@media (min-width: 768px) and (max-width: 991px) {
  .mobile-header-logo {
    display: none !important;
  }
  .mobile-header-logo-tablet-pro {
    display: flex !important;
  }
}

/* Teklif Formu modal */
.tk-teklif-modal {
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--tk-font);
}
.tk-teklif-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 8px;
}
.tk-teklif-modal-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #0b1849;
  font-family: var(--tk-font);
}
.tk-teklif-modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: #eb8317;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}
.tk-teklif-modal-close:hover { opacity: 0.92; }
.tk-teklif-modal-body { padding: 8px 24px 28px; }
.tk-teklif-form label {
  display: block;
  margin: 0 0 8px;
  color: #0b1849;
  font-size: 14px;
  font-weight: 600;
}
.tk-teklif-form .col-12,
.tk-teklif-form .col-md-6 { margin-bottom: 16px; }
.tk-teklif-form .form-control {
  border: 1px solid #d9dee7;
  border-radius: 4px;
  min-height: 46px;
  box-shadow: none !important;
  font-family: var(--tk-font);
}
.tk-teklif-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.tk-teklif-captcha {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tk-teklif-captcha img {
  height: 46px;
  border: 1px solid #d9dee7;
  border-radius: 4px;
}
.tk-teklif-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 4px;
  background: #0b1849;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--tk-font);
  cursor: pointer;
}
.tk-teklif-submit:hover { opacity: 0.95; }
.tk-teklif-submit:disabled { opacity: 0.65; cursor: wait; }
.tk-teklif-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
}
.tk-teklif-alert.is-success {
  background: #e8f8ee;
  color: #0b7a2b;
}
.tk-teklif-alert.is-error {
  background: #fdecea;
  color: #b42318;
}
@media (max-width: 767px) {
  .tk-teklif-modal-title { font-size: 22px; }
  .tk-teklif-modal-head,
  .tk-teklif-modal-body { padding-left: 16px; padding-right: 16px; }
}
