/* Shared landing footer + çerez bandı — yalnızca bu dosyayı yükleyen sayfalar (ör. gizlilik) için token ve .container */

:root {
  --container-width: min(2100px, 96vw);
  --text-dark: #0f172a;
  --text-mid: #334155;
  --green-600: #2563eb;
  --green-700: #1d4ed8;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter-x, clamp(1rem, 2.5vw, 2rem));
}

/* Ana sayfa landing-index .footer ile aynı buzlu beyaz şerit — yalnız footer.css yüklenen sayfalar için gerekli */
.footer.footer-landing {
  position: relative;
  z-index: 1;
  padding: 0;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 0.82rem;
  border-top: 1px solid var(--line, rgba(15, 23, 42, 0.1));
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
}

.footer-landing__main {
  padding: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(1.25rem, 2vw, 1.75rem);
}

.footer-landing__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr);
  align-items: start;
}

@media (max-width: 1024px) {
  .footer-landing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-landing__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-landing__grid {
    grid-template-columns: 1fr;
  }
}

.footer-landing__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 0.65rem;
  transition: opacity 0.2s ease;
}

.footer-landing__brand-link:hover {
  opacity: 0.85;
}

.footer-landing__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.footer-landing__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.15;
}

.footer-landing__brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-landing__brand-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.footer-landing__lead {
  margin: 0;
  max-width: 28rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-landing__heading {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-landing__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

/* Siyah metin — .footer a (mavi) kurallarını geçersiz kılar */
.footer.footer-landing .footer-landing__links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.footer.footer-landing .footer-landing__links a:hover {
  color: var(--text);
  opacity: 0.72;
  border-bottom-color: rgba(15, 23, 42, 0.28);
}

.footer-landing__col--aside .footer-landing__heading {
  margin-bottom: 0.5rem;
}

.footer-landing__version-line {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: var(--text-mid);
  font-variant-numeric: tabular-nums;
}

.footer-landing__version-line span {
  font-weight: 700;
  color: var(--text);
}

.footer-landing__copy-line {
  margin: 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Çerez bandı (partial ile birlikte; landing-index vb. ile çift yüklemede aynı kurallar) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line);
  padding: clamp(1rem, 2vw, 1.3rem) 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter-x, clamp(1rem, 2.5vw, 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.cookie-banner-content {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-title {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.cookie-banner-text {
  font-size: clamp(0.8rem, 1vw, 0.85rem);
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--green-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.cookie-banner-text a:hover {
  color: var(--green-700);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: clamp(0.5rem, 0.8vw, 0.65rem) clamp(1.2rem, 2vw, 1.5rem);
  border-radius: 8px;
  font-size: clamp(0.8rem, 1vw, 0.85rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.cookie-btn-accept {
  background: var(--accent, var(--link, #2563eb));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.cookie-btn-accept:hover {
  background: var(--link-hover, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.3);
}

.cookie-btn-reject {
  background: #f1f5f9;
  color: var(--text-dark);
  border: 1px solid var(--line);
}

.cookie-btn-reject:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 1.2rem 0;
    z-index: 9999;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0 1rem;
  }

  .cookie-banner-content {
    min-width: auto;
    width: 100%;
  }

  .cookie-banner-title {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .cookie-banner-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: stretch;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  .cookie-btn {
    flex: 1;
    padding: 0.75rem 1.2rem;
    font-size: 0.85rem;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.15);
  }
}
