/**
 * İletişim page — scoped under .bbd-contact-page
 */

.bbd-contact-page {
  background: #fff;
  color: #111;
}

.bbd-contact-hero {
  position: relative;
  min-height: clamp(18rem, 48vh, 28rem);
  color: #fff;
  overflow: hidden;
  background: #000;
}

.bbd-contact-hero__media {
  position: absolute;
  inset: 0;
}

.bbd-contact-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: grayscale(1) contrast(1.06) brightness(0.72);
}

.bbd-contact-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.72) 34%,
      rgba(0, 0, 0, 0.28) 52%,
      rgba(0, 0, 0, 0.06) 64%,
      transparent 74%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.22) 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.18) 100%
    );
}

.bbd-contact-hero__content {
  position: absolute;
  z-index: 2;
  left: clamp(1.25rem, 4vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  max-width: calc(100% - clamp(1.25rem, 4vw, 3rem) - 1rem);
  margin: 0;
  text-align: left;
}

.bbd-contact-hero__meta {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.bbd-contact-hero__title {
  margin: 0 0 0.7rem;
  font-family: var(--bbd-font-body, "Manrope", system-ui, sans-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
}

.bbd-contact-hero__subtitle {
  margin: 0;
  font-family: var(--bbd-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.bbd-contact-info {
  padding-block: clamp(3.25rem, 7vw, 5.25rem);
}

.bbd-contact-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
}

.bbd-contact-title {
  margin: 0 0 1.25rem;
  font-family: var(--bbd-font-body, "Manrope", system-ui, sans-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #000;
}

.bbd-contact-info__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.bbd-contact-address-card {
  margin-top: 0.5rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid #e6e6e6;
  border-top: 2px solid #000;
  background: #fafafa;
  max-width: 28rem;
}

.bbd-contact-address-card__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.bbd-contact-address-card__text {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1a1a1a;
}

.bbd-contact-info__channels {
  display: grid;
  gap: 1rem;
}

.bbd-contact-channel {
  padding-top: 1.15rem;
  border-top: 1px solid #e6e6e6;
}

.bbd-contact-channel__title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
}

.bbd-contact-channel p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #2a2a2a;
  max-width: 36rem;
}

.bbd-contact-channel a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.bbd-contact-channel a:hover,
.bbd-contact-channel a:focus-visible {
  color: #333;
}

.bbd-contact-map-section {
  padding-top: clamp(1rem, 3vw, 2rem);
  background: #f5f5f5;
}

.bbd-contact-map-intro {
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.bbd-contact-map-intro__lead {
  margin: 0 0 0.65rem;
  max-width: 40rem;
  font-family: var(--bbd-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
  color: #000;
}

.bbd-contact-map-intro__text {
  margin: 0;
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #444;
}

.bbd-contact-map-intro__distance {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
}

.bbd-contact-map {
  width: 100%;
  height: clamp(26rem, 55vh, 36rem);
  background: #e8e8e8;
  border-top: 1px solid #ddd;
  z-index: 1;
}

.bbd-contact-map .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: var(--bbd-font-body, "Manrope", system-ui, sans-serif);
  background: #e8e8e8;
}

.bbd-map-pin {
  position: relative;
  width: 0;
  height: 0;
}

.bbd-map-pin__dot {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #000;
}

.bbd-map-pin__icon {
  position: absolute;
  left: -20px;
  top: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28), 0 0 0 1px #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bbd-map-pin__eagle {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.35));
}

.bbd-map-pin__label {
  position: absolute;
  left: 24px;
  top: -12px;
  white-space: nowrap;
  padding: 0.35rem 0.55rem;
  background: #000;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  max-width: 14rem;
  white-space: normal;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.bbd-map-pin--stadium .bbd-map-pin__icon {
  width: 28px;
  height: 28px;
  left: -14px;
  top: -14px;
  background: #fff;
  border-color: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22), 0 0 0 1px #000;
}

.bbd-map-pin--stadium .bbd-map-pin__eagle {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: none;
}

.bbd-map-pin--stadium .bbd-map-pin__label {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  left: 18px;
}

.bbd-map-distance {
  position: relative;
  width: 0;
  height: 0;
}

.bbd-map-distance__badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  padding: 0.4rem 0.65rem;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.bbd-contact-map .leaflet-popup-content-wrapper {
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.bbd-contact-map .leaflet-popup-content {
  margin: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .bbd-contact-hero {
    min-height: clamp(20rem, 50vh, 30rem);
  }

  .bbd-contact-info__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .bbd-contact-map {
    height: clamp(31rem, 58vh, 37.5rem);
  }
}

@media (max-width: 767px) {
  .bbd-contact-hero {
    min-height: 22rem;
  }

  .bbd-contact-hero__content {
    left: var(--bbd-gutter, 1.25rem);
    width: calc(100% - (var(--bbd-gutter, 1.25rem) * 2));
    max-width: none;
    top: auto;
    bottom: 1.35rem;
    transform: none;
  }

  .bbd-contact-hero__meta,
  .bbd-contact-hero__title,
  .bbd-contact-hero__subtitle {
    white-space: normal;
  }

  .bbd-contact-hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0.88) 100%
      );
  }

  .bbd-contact-address-card {
    max-width: none;
  }

  .bbd-contact-address-card .bbd-btn {
    width: 100%;
    min-height: 3rem;
  }

  .bbd-contact-map {
    height: 26rem;
  }

  .bbd-map-pin__icon {
    left: -17px;
    top: -17px;
    width: 34px;
    height: 34px;
  }

  .bbd-map-pin__eagle {
    width: 24px;
    height: 24px;
  }

  .bbd-contact-map .bbd-map-pin__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bbd-contact-hero__content {
    transform: none;
  }
}
