/* ============================================================
   FOOTER — Modern Premium Redesign (v4)
   Koyu nötr palet — feature-icons grid ile uyumlu
   ============================================================ */

.footer {
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.55);
  padding-block: 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body, 'Poppins', sans-serif);
}

/* Üst ince çizgi — feature-icons grid'den geçişi netleştirir */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.10) 50%,
    transparent 100%
  );
  z-index: 3;
}

.footer__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding-block: 60px 0;
}

/* ── SILHOUETTE LOGO (watermark) ── */
.footer__silhouette {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  height: auto;
}

.footer__silhouette img {
  width: auto;
  height: 360px;
  max-width: 80%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.04;
  mix-blend-mode: screen;
}

.footer__silhouette span {
  font-family: var(--font-body);
  font-size: clamp(120px, 16vw, 260px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 0.9;
  white-space: nowrap;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

/* ── NEWSLETTER ── */
.footer__newsletter-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px;
  margin-bottom: 56px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.footer__newsletter-info {
  position: relative;
  z-index: 1;
}

.footer__newsletter-title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.footer__newsletter-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.40);
  margin: 0;
  line-height: 1.5;
}

.footer__newsletter-form {
  display: flex;
  position: relative;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 2px;
  padding: 4px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.footer__newsletter-form:focus-within {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.footer__newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 11px 18px;
  color: #fff;
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

.footer__newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.30);
}

.footer__newsletter-form button {
  background: #fff;
  color: #0d0d0d;
  border: none;
  padding: 9px 22px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
  flex-shrink: 0;
}

.footer__newsletter-form button:hover {
  background: rgba(255, 255, 255, 0.82);
}

/* ── GRID — 5 columns ── */
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer__col--brand {
  padding-right: 8px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.footer__logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.footer__logo:hover img {
  opacity: 0.65;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: 8px;
}

.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__socials a:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ── COLUMN HEADINGS ── */
.footer__title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 18px;
  display: inline-block;
}

/* ── NAVIGATION LISTS ── */
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer__nav a::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  opacity: 0.35;
  transition: opacity 0.2s ease, transform 0.2s ease;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 7h10M7 2l5 5-5 5' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 7h10M7 2l5 5-5 5' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer__nav a:hover {
  color: rgba(255, 255, 255, 0.88);
}

.footer__nav a:hover::before {
  opacity: 0.7;
  transform: translateX(3px);
}

/* ── CONTACT LIST ── */
.footer__nav--contact {
  gap: 14px;
}

.footer__nav--contact .footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.55;
}

.footer__contact-item i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__contact-item span,
.footer__contact-item a {
  flex: 1;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
  padding-top: 5px;
}

.footer__contact-item a:hover {
  color: rgba(255, 255, 255, 0.88);
}

.footer__nav--contact a::before { content: none; }
.footer__nav--contact a:hover   { padding-left: 0; }

/* ── BOTTOM BAR ── */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 14px;
}

.footer__copyright {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.footer__copyright > span {
  display: inline-flex;
  align-items: center;
}

.footer__credit {
  position: relative;
  padding-left: 14px;
}

.footer__credit::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.40);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer__credit a:hover {
  color: rgba(255, 255, 255, 0.80);
}

.footer__payments img {
  height: 24px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer__payments:hover img {
  opacity: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 36px;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: 4px;
  }
}

@media (max-width: 768px) {
  .footer__container { padding-block: 44px 0; }

  .footer__newsletter-wrapper {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
    padding: 26px 18px;
    margin-bottom: 36px;
  }

  .footer__newsletter-title { font-size: 19px; }

  .footer__newsletter-form {
    justify-self: stretch;
    max-width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer__col--brand { text-align: center; }
  .footer__tagline    { margin-inline: auto; }
  .footer__socials    { justify-content: center; }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-block: 20px;
  }

  .footer__copyright { justify-content: center; }

  .footer__credit { padding-left: 0; }
  .footer__credit::before { display: none; }

  .footer__silhouette img { height: 220px; }
}

@media (max-width: 540px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .footer__newsletter-form {
    flex-direction: column;
    border-radius: 4px;
    gap: 8px;
    padding: 8px;
  }
  .footer__newsletter-form input  { text-align: center; }
  .footer__newsletter-form button { border-radius: 2px; padding: 11px; }
}

/* Autofill override */
.footer__newsletter-form input:-webkit-autofill,
.footer__newsletter-form input:-webkit-autofill:hover,
.footer__newsletter-form input:-webkit-autofill:focus,
.footer__newsletter-form input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px transparent inset !important;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  transition: background-color 9999s ease-in-out 0s;
}
