/* =========================================
   BK FOOTER MODULE
   - Bağımsız, yeniden kullanılabilir footer
   - Tüm sınıflar bk-footer- prefix'i ile başlar
   ========================================= */

/* Root alan */
.bk-footer-root {
  position: relative;
  width: 100%;
  color: #ffffff;
  font-family: "Urbanist", sans-serif;
  background-color: #000000;
  overflow: hidden;
}

/* Üst kısım (arka plan + içerik) */
.bk-footer-top {
  position: relative;
  width: 100%;
}

/* Arka plan container */
.bk-footer-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Karanlık overlay */
.bk-footer-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgb(37 37 37 / 55%);
  z-index: 1;
}


/* Arka plan görsel katmanı */
.bk-footer-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bk-footer-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1) translateY(6px) translateX(-8px);
}

/* İçerik container */
.bk-footer-container {
  position: relative;
  z-index: 2;
  max-width: 1740px;
  margin: 0 auto;
  padding: 70px 80px 40px;
}

@media (max-width: 1280px) {
  .bk-footer-container {
    padding: 48px 40px 32px;
  }
}

@media (max-width: 768px) {
  .bk-footer-container {
    padding: 32px 20px 24px;
  }
}

/* Üst satır: logo + buton + sosyal medya */
.bk-footer-heading {
  margin-bottom: 40px;
}

.bk-footer-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.bk-footer-logo-wrapper {
  flex: 0 0 auto;
}

.bk-footer-logo {
  display: block;
  width: 222px;
  height: 56px;
  background: url("../img/bk-footer/yazicigrupwhitelogo.svg") no-repeat center;
  background-size: contain;
}

@media (max-width: 768px) {
  .bk-footer-logo {
    width: 140px;
    height: 48px;
  }
}

.bk-footer-tools {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .bk-footer-tools {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* CTA butonu */
.bk-footer-button-wrapper {
  flex: 0 0 auto;
}

.bk-footer-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 100px;
  height: 60px;
  padding: 0 32px;
  border-radius: 9999px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease, border-color 0.35s ease;
}

.bk-footer-cta:hover {
  border-color: #ffffff;
}

.bk-footer-cta-text {
  font-size: 18px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .bk-footer-cta {
    height: 52px;
    min-width: 140px;
    padding: 0 24px;
  }
  .bk-footer-cta-text {
    font-size: 16px;
  }
}

/* Sosyal medya alanı */
.bk-footer-social {
  flex: 0 0 auto;
}

.bk-footer-social-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (min-width: 1280px) {
  .bk-footer-social-list {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .bk-footer-social-list {
    gap: 10px;
  }
}

.bk-footer-social-link {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: border-color 0.35s ease, background-color 0.35s ease, color 0.35s ease;
}

.bk-footer-social-link:hover {
  border-color: #ffffff;
}

.bk-footer-social-icon {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.35s ease;
  padding-top: 3px;
}

.bk-footer-social-link:hover .bk-footer-social-icon {
  color: #111827;
}

/* İç alan */
.bk-footer-inner {
  margin-top: 40px;
}

.bk-footer-top-row {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .bk-footer-top-row {
    flex-direction: column;
    gap: 32px;
  }
}

/* İletişim alanı */
.bk-footer-info {
  flex: 0 0 30%;
  min-width: 260px;
}

.bk-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bk-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.bk-footer-contact-icon {
  font-size: 24px;
  height: 24px;
  color: rgba(209, 213, 219, 1); /* scorpion-500 */
  display: flex;
  flex-shrink: 0;
  transition: color 0.35s ease;
}

.bk-footer-contact-text {
  font-size: 16px;
  color: rgb(181 181 181); /* scorpion-300 */
  line-height: 1.5;
  transition: color 0.35s ease;
}

.bk-footer-contact-item:hover .bk-footer-contact-icon {
  color: #d8b255; /* primary-600 */
}

.bk-footer-contact-item:hover .bk-footer-contact-text {
  color: #ffffff;
}

@media (min-width: 1024px) {
  .bk-footer-contact-text {
    font-size: 18px;
  }
}

/* Sayfa linkleri alanı */
.bk-footer-pages {
  flex: 1 1 0;
  justify-content: right;
    display: flex;
}

.bk-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 960px;
}

.bk-footer-link {
  position: relative;
  padding-left: 24px;
  font-size: 22px;
  font-weight: 600;
  color: rgb(181 181 181);
  text-decoration: none;
  transition: color 0.35s ease, transform 0.35s ease;
}

.bk-footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: rgb(115 115 115); /* scorpion-700 */
  transform: translateY(-50%);
  transition: background-color 0.35s ease;
}

.bk-footer-link:hover {
  color: #ffffff;
}

.bk-footer-link:hover::before {
  background-color: #d8b255; /* primary-600 */
}

.bk-footer-button-wrapper:hover .bk-footer-cta {
  color: black;
}

@media (max-width: 1024px) {
  .bk-footer-links {
    max-width: 100%;
  }
  .bk-footer-link {
    font-size: 18px;
  }

  .bk-footer-pages {
    flex: 1 1 0;
    justify-content: left;
      display: flex;
  }
}

/* Ayırıcı çizgi */
.bk-footer-divider {
  margin: 40px 0;
}

.bk-footer-divider-line {
  width: 100%;
  height: 1px;
  background-color: rgb(52 52 52);
}

/* Alt satır */
.bk-footer-bottom {
  padding-bottom: 32px;
}

.bk-footer-copy {
  max-width: 100%;
}

.bk-footer-copy-text {
  font-size: 14px;
  color: rgba(107, 114, 128, 1); /* scorpion-500 */
}

@media (min-width: 768px) {
  .bk-footer-copy-text {
    font-size: 16px;
  }
}

/* Icon font (HeaderModule ile aynı fontları kullandığı varsayılıyor.
   Modülü bağımsız kullanmak için FooterModule/font/iconfont/* dosyalarını ekleyin. ) */
@font-face {
  font-family: iconfont;
  font-style: normal;
  font-weight: 400;
  src: url("../font/iconfont/iconfonts.eot");
  src: url("../font/iconfont/iconfonts.eot#iefix") format("embedded-opentype"),
       url("../font/iconfont/iconfonts.woff") format("woff"),
       url("../font/iconfont/iconfonts.ttf") format("truetype"),
       url("../font/iconfont/iconfonts.svg#iconfont") format("svg");
}

.bk-footer-root [class*=icon-]:before {
  display: inline-block;
  font-family: iconfont;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bk-footer-root .icon-facebook:before {
  content: "\0051";
}
.bk-footer-root .icon-instagram:before {
  content: "\0052";
}
.bk-footer-root .icon-linkedin:before {
  content: "\0055";
}
.bk-footer-root .icon-mail-2:before {
  content: "\0071";
}
.bk-footer-root .icon-map:before {
  content: "\005a";
}
.bk-footer-root .icon-phone:before {
  content: "\0064";
}

/* Circle-chase efekt altyapısı (bk-footer içinde sınırlandırılmış) */
.bk-footer-root .fx-circle-chase-cursor {
  overflow: hidden;
  position: relative;
}

.bk-footer-root .fx-text {
  position: relative;
  z-index: 2;
}

.bk-footer-circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  transform: scale(0);
  border-radius: 9999px;
  background-color: var(--circle-bg-color, #ffffff);
}


