/* ============================================================
   İLETİŞİM SAYFASI CSS
   Header ve footer stilleri header-footer.css'ten gelir
   ============================================================ */

body {
  margin: 0;
}

/* ============================================================
   SECTION 1: HERO
   Sol mavi panel + Sağ banner görseli
   ============================================================ */
.contact-hero {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-top: 0;
  height: 339px;
  overflow: hidden;
}

.contact-hero__left {
  flex: 0 0 36%;
  background: #004175;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.contact-hero__title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -1px;
}

.contact-hero__right {
  flex: 1;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0) 50%
    ),
    linear-gradient(0deg, rgba(0, 65, 117, 0.15), rgba(0, 65, 117, 0.15)),
    url("resimler/iletişim/iletisim-banner.png");
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .contact-hero {
    flex-direction: column;
    height: auto;
    margin-top: 0;
  }
  .contact-hero__left {
    flex: none;
    padding: 40px 28px;
    height: 160px;
  }
  .contact-hero__right {
    height: 200px;
  }
}

/* ============================================================
   SECTION 2: İLETİŞİM BİLGİLERİ + HARİTA
   ============================================================ */
.contact-info-section {
  background: #ffffff;
  padding: 80px 0 100px 0;
}

.contact-info-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.contact-info__title {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  color: #121212;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
}

/* 3 kart yan yana */
.contact-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 80px;
  width: 100%;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  max-width: 200px;
}

/* Daire ikon */
.contact-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #004175;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.contact-card__label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #121212;
}

.contact-card__value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(18, 18, 18, 0.7);
  text-decoration: none;
  line-height: 1.6;
}

a.contact-card__value:hover {
  color: #004175;
}

/* Harita Görseli */
.contact-map {
  width: calc(100% + 80px);
  margin-left: -40px;
  margin-right: -40px;
}

.contact-map__img {
  width: 100%;
  height: auto;
  display: block;
  border: 0.5px solid #ededed;
}

.contact-map iframe {
  width: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

@media (max-width: 768px) {
  .contact-cards {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .contact-info-section {
    padding: 60px 0 80px 0;
  }

  .contact-map {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }
}

/* ============================================================
   SECTION 3: İLETİŞİM FORMU
   Arka plan: sec-3-bg.png + lacivert overlay + blur
   ============================================================ */
.contact-form-section {
  position: relative;
  padding: 80px 0;
  width: 100%;
  /* Arka plan katmanları Figma'ya göre:
     1) Görsel
     2) rgba(0,65,117,0.58) overlay + backdrop-filter blur */
  background:
    linear-gradient(rgba(0, 65, 117, 0.58), rgba(0, 65, 117, 0.58)),
    url("resimler/iletişim/sec-3-bg.png") center / cover no-repeat;
  /* backdrop-filter sadece pseudo-element ile çalışır — overlay ayrı bir div */
  overflow: hidden;
}

/* Blur overlay: Figma'daki backdrop-filter efektini yansıtır */
.contact-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 0;
}

.contact-form-inner {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.contact-form__title {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 32px);
  color: #ffffff;
  margin: 0;
  text-align: center;
}

/* FORM */
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  gap: 14px;
  width: 100%;
}

.form-row--center {
  justify-content: center;
}

/* Input ortak stili */
.form-input,
.form-textarea {
  flex: 1;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 4px;
  padding: 16px 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  color: #121212;
  outline: none;
  transition: box-shadow 0.2s;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 2px #004175;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(18, 18, 18, 0.45);
}

.form-input--full {
  width: 100%;
  flex: none;
}

.form-textarea {
  resize: vertical;
  min-height: 160px;
}

/* Gönder Butonu */
.btn-gonder {
  background: #004175;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 14px 64px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-gonder:hover {
  background: #003060;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 14px;
  }
  .contact-form-inner {
    padding: 0 20px;
  }
  .contact-form-section {
    padding: 60px 0;
  }
}
