/* =========================================================
   footer.css — partials/footer.html dosyasının stilleri
   (koyu footer + sabit WhatsApp butonu)
   ========================================================= */

.site-footer { background: var(--navy-500); color: #FFFFFF; }

/* ---------- Üst kısım ---------- */
.site-footer__main {
  display: flex;
  align-items: stretch;
  gap: 64px;
  padding-block: 56px;
}

.site-footer__brand {
  flex: 0 0 376px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.site-footer__about { font-size: 15px; line-height: 24px; color: var(--gray-400); }

.site-footer__contacts { display: flex; flex-direction: column; gap: 8px; width: 100%; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--navy-400);
  border-radius: 14px;
  color: #FFFFFF;
  transition: background-color .2s, color .2s;
}
/* İletişim kutuları: fare üzerine gelince turkuaza döner */
.contact-card:hover { background: var(--teal-500); color: var(--navy-500); }
.contact-card:hover .contact-card__text small { color: var(--navy-400); }

.contact-card__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: var(--navy-500);
  border-radius: 10px;
  flex: none;
}
.contact-card__text { display: flex; flex-direction: column; gap: 1px; }
.contact-card__text small { font-size: 12px; line-height: 18px; color: var(--gray-400); transition: color .2s; }
.contact-card__text strong { font-weight: 600; font-size: 15px; line-height: 23px; }

.site-footer__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 22px;
  color: var(--gray-400);
}
.site-footer__address img { margin-top: 2px; flex: none; }

/* ---------- Link kolonları ---------- */
.site-footer__nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
}

.site-footer__title {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 23px;
  color: #FFFFFF;
}

.site-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.site-footer__links a {
  display: inline-block;
  padding-block: 5px;
  font-size: 15px;
  line-height: 23px;
  color: var(--gray-300);
}
.site-footer__links a:hover { color: var(--teal-500); }

/* ---------- Sosyal medya ---------- */
.site-footer__social { align-self: flex-end; padding-top: 4px; }
.site-footer__social-title { margin: 0 0 10px; font-weight: 600; font-size: 13px; line-height: 20px; color: #FFFFFF; }
.site-footer__social-list { display: flex; gap: 8px; }
.site-footer__social-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--navy-300);
  border-radius: 12px;
  transition: background-color .15s, border-color .15s;
}
.site-footer__social-list a:hover { background: var(--teal-500); border-color: var(--teal-500); }

/* ---------- Alt çubuk ---------- */
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--navy-300);
  font-size: 13px;
  line-height: 20px;
  color: var(--gray-400);
}

.site-footer__legal { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; }
.site-footer__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 20px; padding: 0; margin: 0; }
.site-footer__legal a { display: inline-block; padding-block: 6px; color: var(--gray-400); }
.site-footer__legal a:hover { color: #FFFFFF; }

.site-footer__end { display: flex; align-items: center; gap: 46px; }

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  background: var(--navy-400);
  border-radius: 12px;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  color: #FFFFFF;
}
.back-to-top { transition: background-color .2s, color .2s; }
.back-to-top:hover { background: var(--teal-500); color: var(--navy-500); }

/* ---------- Sabit WhatsApp butonu ---------- */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  background: var(--navy-500);
  border-radius: 40px;
  box-shadow: 0 14px 30px -8px rgba(26, 42, 57, 0.5);
  font-weight: 600;
  font-size: 15px;
  line-height: 23px;
  color: #FFFFFF;
  transition: transform .15s, background-color .2s, color .2s;
}
.whatsapp-fab:hover { background: var(--teal-500); color: var(--navy-500); transform: translateY(-2px); }
.whatsapp-fab:hover .dot { background: var(--navy-500); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .site-footer__main { gap: 40px; }
  .site-footer__brand { flex-basis: 320px; }
}
@media (max-width: 991.98px) {
  .site-footer__main { flex-direction: column; }
  .site-footer__brand { flex-basis: auto; }
  .site-footer__nav { gap: 40px; }
  .site-footer__social { align-self: flex-start; }
}
@media (max-width: 575.98px) {
  .site-footer__end { width: 100%; justify-content: space-between; }
  .site-footer__bottom { padding-bottom: 96px; } /* WhatsApp butonu yazıları kapatmasın */
  .whatsapp-fab { right: 16px; bottom: 16px; }
}
