/* ============================================================
   CREIDA — Footer
   Ayrı dosya: site.css bayt bayt korunmak zorunda (ASP.NET portundan
   gelen tasarım garantisi), bu yüzden yeni stiller ona yazılmıyor.
   Renkler site.css'in kendi değişkenlerinden gelir → tema (koyu/açık)
   ve admin panelindeki "Renk & tipografi" ayarları burada da geçerli.
   ============================================================ */

.cf {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 88px) 0 clamp(28px, 4vw, 40px);
  isolation: isolate;
}

.cf-mark {
  position: absolute;
  left: 50%;
  bottom: -0.16em;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(96px, 21vw, 320px);
  line-height: 0.78;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: var(--text);
  opacity: 0.045;
  user-select: none;
  pointer-events: none;
  z-index: -1;
}

.cf-inner {
  position: relative;
  z-index: 1;
}

/* ---------- üst: yatay bağlantı satırı ---------- */
.cf-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px clamp(18px, 3vw, 38px);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.cf-links a {
  color: var(--text-mute, var(--muted));
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.25s ease;
}
.cf-links a:hover,
.cf-links a:focus-visible {
  color: var(--text);
}

.cf-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: clamp(20px, 3vw, 28px);
}

/* ---------- iletişim şeridi: e-posta · telefon (ortalı) ---------- */
.cf-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: clamp(22px, 3vw, 30px);
}

/* Sosyal ikonlar alt şeridin ortasında: telif solda, ikonlar ortada,
   slogan sağda. */
.cf-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cf-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-mute, var(--muted));
  transition: color 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease;
}
.cf-social a:hover,
.cf-social a:focus-visible {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}
.cf-social svg {
  display: block;
  width: 17px;
  height: 17px;
}

.cf-reach {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-style: italic;
  color: var(--text-mute, var(--muted));
}
.cf-reach a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}
.cf-reach a:hover,
.cf-reach a:focus-visible {
  color: var(--text);
}
.cf-dot {
  opacity: 0.5;
}

/* ---------- alt: üç parçalı şerit (telif · sosyal · slogan) ---------- */
.cf-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px 24px;
  font-size: 13px;
  color: var(--text-mute, var(--muted));
}
.cf-bottom > :last-child {
  justify-self: end;
}
.cf-bottom b {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Sağdaki slogan — referanstaki "ALWAYS FOR THE FUTURE" karşılığı. */
.cf-slogan {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.cf-slogan em {
  font-style: normal;
  color: var(--accent);
  opacity: 0.75;
}

/* ---------- mobil ---------- */
@media (max-width: 720px) {
  .cf-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 12px;
  }
  .cf-bottom > :last-child {
    justify-self: center;
  }
  .cf-links {
    gap: 10px 20px;
  }
  .cf-links a {
    font-size: 13px;
  }
  .cf-contact {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 16px;
  }
  .cf-reach {
    justify-content: center;
  }
  .cf-social {
    justify-content: center;
  }
}

/* Hareket azaltma tercihine saygı — watermark zaten statik ama
   ileride animasyon eklenirse kancası hazır olsun. */
@media (prefers-reduced-motion: reduce) {
  .cf-links a,
  .cf-social a,
  .cf-reach a {
    transition: none;
  }
}
