/* Footer Google Harita önizlemesi — logo bölümünde kompakt ve responsive */

.footer-brand-column .footer-harita {
  position: relative;
  width: min(100%, 360px);
  height: clamp(9rem, 11vw, 10rem);
  min-height: 144px;
  margin-top: 0.75rem;
  margin-right: auto;
  overflow: hidden;
  isolation: isolate;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.75rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.footer-brand-column .footer-harita iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: saturate(0.8) contrast(1.03) brightness(0.92);
}

.footer-brand-column .footer-harita::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 11, 0.03) 38%,
    rgba(11, 11, 11, 0.76) 100%
  );
}

.footer-brand-column .footer-harita-kapak {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0.625rem;
  color: var(--color-white);
  text-decoration: none;
  border-radius: inherit;
  outline-offset: -3px;
}

.footer-brand-column .footer-harita-etiket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 0.6875rem;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: var(--weight-bold);
  line-height: 1;
  color: var(--color-yellow);
  background: rgba(11, 11, 11, 0.9);
  border: 1px solid rgba(245, 196, 0, 0.32);
  border-radius: 999px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.footer-brand-column .footer-harita-etiket .icon {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.footer-brand-column .footer-harita-kapak:hover .footer-harita-etiket,
.footer-brand-column .footer-harita-kapak:focus-visible .footer-harita-etiket {
  color: var(--color-black);
  background: var(--color-yellow);
  border-color: var(--color-yellow);
}

@media (max-width: 960px) {
  .footer-brand-column .footer-harita {
    width: min(100%, 420px);
  }
}

@media (max-width: 720px) {
  .footer-brand-column .footer-harita {
    width: min(100%, 420px);
    height: clamp(9rem, 41vw, 11rem);
    min-height: 144px;
    max-height: 176px;
    margin-top: 0.6875rem;
  }

  .footer-brand-column .footer-harita-kapak {
    padding: 0.5625rem;
  }

  .footer-brand-column .footer-harita-etiket {
    min-height: 31px;
    padding-inline: 0.625rem;
    font-size: clamp(0.72rem, 3.1vw, 0.77rem);
  }
}

@media (max-width: 440px) {
  .footer-brand-column .footer-harita {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .footer-brand-column .footer-harita {
    height: 9rem;
  }

  .footer-brand-column .footer-harita-etiket {
    min-height: 30px;
    padding-inline: 0.5625rem;
    gap: 0.35rem;
    font-size: 0.71rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .footer-brand-column .footer-harita-etiket {
    transition:
      color 160ms ease,
      background-color 160ms ease,
      border-color 160ms ease,
      transform 160ms ease;
  }

  .footer-brand-column .footer-harita-kapak:hover .footer-harita-etiket {
    transform: translateY(-1px);
  }
}
