/* Footer üst — MSI tarzı premium iletişim çubuğu */
.site-footer {
  margin-top: auto;
}

/* Arka plan: .site-footer-top--theme-N (footer-top-themes.css) */
.site-footer-top {
  color: var(--site-text-dark, #111);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--site-border-light, #e8e8ed);
}

.site-footer-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* Satır 1: İletişim — 4 eşit sütun */
.site-footer-top-contact-row {
  width: 100%;
}

.site-footer-top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
  width: 100%;
}

.site-footer-top-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 0.5rem 0;
}

.site-footer-top-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid var(--site-border-light, #e8e8ed);
  color: var(--site-text-dark, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-footer-top-item:hover .site-footer-top-icon {
  background: rgba(0, 0, 0, 0.1);
  border-color: var(--site-accent, #F24405);
  color: var(--site-accent, #F24405);
}

.site-footer-top-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.site-footer-top-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--site-text-muted, #6e6e73);
}

.site-footer-top-text a,
.site-footer-top-text span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--site-text-dark, #111);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-top-text a:hover {
  color: var(--site-accent, #F24405);
  text-decoration: none;
  outline: none;
}

/* Satır 2: Sosyal + CTA */
.site-footer-top-bottom-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer-top-contact-row + .site-footer-top-bottom-row {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--site-border-light, #e8e8ed);
}

.site-footer-top-social-block {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
  min-width: 0;
}

.site-footer-top-cta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--site-text-muted, #6e6e73);
  white-space: nowrap;
}

.site-footer-top-social-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer-top-social {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  border: 1px solid var(--site-border-light, #e8e8ed);
  color: var(--site-text-dark, #111);
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer-top-social:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: var(--site-accent, #F24405);
  color: var(--site-accent, #F24405);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.site-footer-top-cta-wrap {
  flex-shrink: 0;
  margin-left: auto;
}

.site-footer-top-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--site-accent, #F24405);
  border: 1px solid var(--site-accent, #F24405);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.site-footer-top-cta-btn:hover {
  background: var(--site-primary, #0d0d0d);
  color: #fff;
  border-color: var(--site-primary, #0d0d0d);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
  .site-footer-top {
    padding: 1.5rem 1.25rem;
  }

  .site-footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .site-footer-top-item {
    gap: 0.875rem;
  }

  .site-footer-top-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .site-footer-top {
    padding: 1.5rem 1rem;
  }

  .site-footer-top-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer-top-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--site-border-light, #e8e8ed);
  }

  .site-footer-top-item:last-child {
    border-bottom: none;
  }

  .site-footer-top-contact-row + .site-footer-top-bottom-row {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .site-footer-top-bottom-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
  }

  .site-footer-top-social-block {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .site-footer-top-cta-wrap {
    margin-left: 0;
    display: flex;
    justify-content: center;
  }

  .site-footer-top-cta-btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .site-footer-top-social-wrap {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ========== Footer Alt — beyazdan açık griye gradyan, tüm linkler ========== */
.site-footer-alt {
  background: linear-gradient(180deg, #f5f5f5 0%, #e5e5e5 100%);
  padding: 2.5rem 1.5rem;
  color: #333;
}

.site-footer-alt-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.site-footer-alt-grid {
  display: grid;
  gap: 2rem 1.5rem;
  width: 100%;
}

.site-footer-alt-grid.site-footer-alt-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.site-footer-alt-grid.site-footer-alt-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.site-footer-alt-grid.site-footer-alt-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.site-footer-alt-grid.site-footer-alt-cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.site-footer-alt-col {
  min-width: 0;
}

.site-footer-alt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer-alt-list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-alt-list a:hover {
  color: var(--site-accent, #c0392b);
  text-decoration: none;
}

.site-footer-alt-link-icon {
  display: inline-flex;
  margin-right: 0.35rem;
  opacity: 0.85;
  vertical-align: middle;
}

.site-footer-alt-link-icon .bi {
  font-size: 0.9em;
}

/* ========== Footer Legal — en alt yasal çubuk ========== */
.site-footer-legal {
  background: linear-gradient(180deg, #eaecef 0%, #e5e6e9 50%, #e0e2e5 100%);
  border-top: 1px solid #ddd;
  padding: 1rem 1.5rem;
  color: #555;
}

.site-footer-legal-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer-legal-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.site-footer-legal-right .site-visitor-lang--footer {
  font-size: 0.8125rem;
}
.site-footer-legal-right .site-visitor-lang--footer .site-visitor-lang__summary {
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
}
.site-footer-legal-right .site-visitor-lang--footer .site-visitor-lang__menu {
  bottom: calc(100% + 6px);
  top: auto;
  right: 0;
}

[data-theme="dark"] .site-footer-legal-right .site-visitor-lang--footer .site-visitor-lang__summary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--site-text-dark, #eaeaea);
}
[data-theme="dark"] .site-footer-legal-right .site-visitor-lang--footer .site-visitor-lang__summary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}
[data-theme="dark"] .site-footer-legal-right .site-visitor-lang--footer .site-visitor-lang__chev {
  opacity: 0.9;
  color: inherit;
}
[data-theme="dark"] .site-footer-legal-right .site-visitor-lang--footer .site-visitor-lang__menu {
  background: var(--site-bg-card, #1c1c1e);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .site-footer-legal-right .site-visitor-lang--footer .site-visitor-lang__item {
  color: var(--site-text-dark, #f5f5f7);
}
[data-theme="dark"] .site-footer-legal-right .site-visitor-lang--footer .site-visitor-lang__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
[data-theme="dark"] .site-footer-legal-right .site-visitor-lang--footer .site-visitor-lang__item.is-active {
  background: color-mix(in srgb, var(--site-accent, #f24405) 28%, rgba(255, 255, 255, 0.06));
  color: #fff;
}

.site-footer-legal-link.is-active {
  color: var(--site-accent, #c0392b);
  font-weight: 700;
}

.site-footer-legal-copy {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #555;
}

.site-footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.8125rem;
}

.site-footer-legal-link {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-footer-legal-link:hover {
  color: var(--site-accent, #c0392b);
  text-decoration: none;
}

.site-footer-legal-link-icon {
  display: inline-flex;
  margin-right: 0.25rem;
  opacity: 0.9;
  vertical-align: middle;
}

.site-footer-legal-link-icon .bi {
  font-size: 0.95em;
}

.site-footer-legal-sep {
  color: #999;
  user-select: none;
}

/* Sabit platform kredisi — panelden düzenlenmez */
.site-footer-powered-by-blaxn {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-footer-powered-by-blaxn:hover {
  color: var(--site-accent, #c0392b);
  text-decoration: none;
}

/* Back to top — sağ alt köşe */
.site-back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--site-accent, #1a202c);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-back-to-top:hover {
  background: #000;
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.site-back-to-top:focus {
  outline: 2px solid var(--site-accent, #F24405);
  outline-offset: 2px;
}

/* Footer alt + legal responsive */
@media (max-width: 1199px) {
  .site-footer-alt-grid.site-footer-alt-cols-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .site-footer-alt {
    padding: 2rem 1.25rem;
  }

  .site-footer-alt-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .site-footer-alt-grid.site-footer-alt-cols-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-footer-alt {
    padding: 1.5rem 1rem;
  }

  .site-footer-alt-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .site-footer-legal {
    padding: 1rem 1rem;
  }

  .site-footer-legal-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .site-footer-legal-nav {
    justify-content: flex-start;
  }
}

/* Yasal sözleşme sayfaları (site body içinde) */
.site-body .site-legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.site-legal-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}
.site-legal-body {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #333;
  font-weight: normal;
}
.site-legal-body h2 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.5rem; font-weight: 600; }
.site-legal-body h3 { font-size: 1.1rem; margin-top: 1rem; margin-bottom: 0.4rem; font-weight: 600; }
.site-legal-body p { margin-bottom: 0.75rem; font-weight: normal; }
.site-legal-body ul, .site-legal-body ol { margin-bottom: 0.75rem; padding-left: 1.5rem; }
.site-legal-body li { font-weight: normal; }
.site-legal-body strong,
.site-legal-body b { font-weight: 600; }
.site-placeholder { color: #666; font-size: 0.9375rem; }
