/* THK kurumsal footer — TBMM tarzı koyu tema */

.footer-thk {
  background: #00162c;
  color: #b8bcc8;
  font-family: 'Titillium Web', sans-serif;
  padding: 0 0 0;
  order: 3;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  width: 100%;
}

.footer-thk .wrapper {
  max-width: 1400px;
}

/* Üst bina görseli */
.footer-thk__hero {
  text-align: center;
  padding: 2.4rem 1.5rem 1.6rem;
  background: #00162c;
}

.footer-thk__building {
  display: block;
  width: min(460px, 100%);
  height: auto;
  margin: 0 auto 1.2rem;
  object-fit: contain;
}

.footer-thk__slogan {
  margin: 0;
  color: #837242;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Link kolonları */
.footer-thk__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
  padding: 2.4rem 0 2rem;
}

.footer-thk__title {
  margin: 0 0 1.1rem;
  color: #837242;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-thk__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-thk__menu li {
  margin-bottom: 0.75rem;
}

.footer-thk__menu a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #c8ccd6;
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1.45;
  transition: color 0.22s ease;
}

.footer-thk__menu a::before {
  content: '\203A';
  color: #837242;
  font-size: 1.5rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.footer-thk__menu a:hover {
  color: #837242;
}

/* Ayırıcı */
.footer-thk__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  margin: 0;
}

/* Alt bölüm */
.footer-thk__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2rem 0 1.8rem;
}

.footer-thk__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.4rem;
  flex: 0 1 auto;
}

.istirak-logos.footer-thk__logos {
  width: 46rem;
  max-width: 100%;
}

.footer-thk__logos .istirak-logo,
.footer-thk__logos .istirak-logo:hover,
.footer-thk__logos .istirak-logo:focus-visible {
  padding: 0.4rem;
  background-color: transparent;
  box-shadow: none;
}

.footer-thk__logos .istirak-logo img {
  filter: grayscale(1) brightness(1.7);
  opacity: 0.75;
}

.footer-thk__logos .istirak-logo:hover img,
.footer-thk__logos .istirak-logo:focus-visible img {
  filter: none;
  opacity: 1;
}

/* logo_type.png: amblem sol, yazı sağ — header ile aynı kırpma */
.footer-thk__logo {
  --footer-logo-h: 6.2rem;
  --footer-logo-emblem-w: calc(var(--footer-logo-h) * 1.1);
  --footer-logo-wordmark-w: 38rem;
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 100%;
}

.footer-thk__logo-emblem {
  flex-shrink: 0;
  width: var(--footer-logo-emblem-w);
  height: var(--footer-logo-h);
  overflow: hidden;
}

.footer-thk__logo-emblem img {
  height: var(--footer-logo-h);
  width: auto;
  max-width: none;
  display: block;
}

.footer-thk__logo-wordmark {
  flex-shrink: 1;
  min-width: 0;
  width: var(--footer-logo-wordmark-w);
  max-width: min(var(--footer-logo-wordmark-w), calc(100vw - 8rem));
  height: var(--footer-logo-h);
  overflow: hidden;
}

.footer-thk__logo-wordmark img {
  height: var(--footer-logo-h);
  width: auto;
  max-width: none;
  display: block;
  margin-left: calc(var(--footer-logo-emblem-w) * -1);
  filter: brightness(0) invert(1);
}

.footer-thk__contact {
  flex: 1;
  max-width: 480px;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-thk__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-thk__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  line-height: 1.5;
  color: #c8ccd6;
}

.footer-thk__contact-list li:last-child {
  margin-bottom: 0;
}

.footer-thk__contact-list i {
  color: #837242;
  font-size: 1.4rem;
  margin-top: 0.25rem;
  width: 1.2rem;
  text-align: center;
  flex-shrink: 0;
}

.footer-thk__contact-list a {
  color: #c8ccd6;
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-thk__contact-list a:hover {
  color: #837242;
}

.footer-thk__social {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-shrink: 0;
  padding-top: 1.8rem;
}

.footer-thk__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  color: #8f96a8;
  font-size: 1.65rem;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-thk__social a:hover {
  color: #837242;
  transform: translateY(-2px);
}

/* Telif */
.footer-thk__copyright {
  background: #232736;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem 0;
}

.footer-thk__copyright .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 1.15rem;
  color: #8f96a8;
}

.footer-thk__cookie-link {
  color: #8f96a8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-thk__cookie-link:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .footer-thk__nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-thk__hero {
    padding: 1.8rem 1rem 1.2rem;
    text-align: center;
  }

  .footer-thk__building {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-thk__nav {
    display: none !important;
  }

  .footer-thk__bottom {
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    padding: 1.6rem 1.25rem 1.4rem;
  }

  .footer-thk__brand {
    width: 100%;
    align-items: center;
  }

  .footer-thk__logo {
    --footer-logo-h: 4.4rem;
    --footer-logo-wordmark-w: calc(var(--footer-logo-h) * 1330 / 216);
  }

  /* Bize ulaşın: sola hizalı metin, blok ortada (çok sola yapışmasın) */
  .footer-thk__contact {
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    border-left: 0;
    text-align: left;
  }

  .footer-thk__social {
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    justify-content: flex-start;
  }

  .footer-thk__copyright .wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
  }
}

@media (max-width: 480px) {
  .footer-thk__logo {
    --footer-logo-h: 3.8rem;
  }

  .footer-thk__contact,
  .footer-thk__social {
    max-width: 20rem;
  }
}
