/* ============================================================
   KUTSAN İNŞAAT - İLETİŞİM SAYFASI
   ============================================================ */

.page-iletisim {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
}

.iletisim-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container-contact {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ============================================================
   SAYFA BAŞLIĞI (PAGE HERO)
   ============================================================ */
.page-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: pageHeroZoom 12s ease-in-out infinite alternate;
}

@keyframes pageHeroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 21, 34, 0.92) 0%,
    rgba(0, 21, 34, 0.75) 50%,
    rgba(0, 21, 34, 0.6) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 30px;
}

.page-hero-content .hero-line {
  width: 56px;
  height: 4px;
  background: var(--gold);
  margin: 0 auto 22px;
  transform-origin: center;
  animation: slideLineIn 0.8s ease 0.2s forwards;
}

.page-hero-content .hero-kicker {
  font-family: var(--font-tt-fors);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold2);
  margin-bottom: 10px;
  opacity: 0;
  animation: slideTextIn 0.8s ease 0.4s forwards;
}

.page-hero-content h1 {
  font-family: var(--font-pompei);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 1px;
  opacity: 0;
  animation: slideTextIn 0.8s ease 0.6s forwards;
}

.page-hero-content h1 .highlight-text {
  color: var(--gold2);
}

.page-hero-desc {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  opacity: 0;
  animation: slideTextIn 0.8s ease 0.8s forwards;
}

/* ============================================================
   İLETİŞİM BİLGİ KARTLARI
   ============================================================ */
.contact-boxes-section {
  padding: 60px 0 20px;
  background: var(--navy);
}

.contact-boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-box {
  background: linear-gradient(145deg, #001c2e 0%, #001522 100%);
  border: 1px solid rgba(246, 185, 31, 0.25);
  border-radius: 18px;
  padding: 38px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold2);
  transition: width 0.4s ease;
}

.contact-box:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 185, 31, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.contact-box:hover::before {
  width: 60%;
}

.contact-box-icon {
  width: 70px;
  height: 70px;
  border: 2px solid var(--gold2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--gold2);
  margin-bottom: 12px;
  transition: all 0.35s ease;
}

.contact-box:hover .contact-box-icon {
  background: var(--gold2);
  color: #101010;
  transform: rotate(-6deg) scale(1.05);
}

.contact-box h4 {
  font-family: var(--font-tt-fors);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.contact-box p {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold2);
  line-height: 1.4;
}

.contact-box span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ============================================================
   FORM + HARİTA BÖLÜMÜ
   ============================================================ */
.contact-form-section {
  padding: 40px 0 80px;
  background: var(--navy);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 35px;
  align-items: stretch;
}

/* ----- FORM KARTI ----- */
.form-card {
  background: linear-gradient(150deg, #001d30 0%, #001522 100%);
  border: 1px solid rgba(246, 185, 31, 0.25);
  border-radius: 18px;
  padding: 45px 40px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold2), transparent);
}

.form-card-header {
  margin-bottom: 30px;
}

.form-card-header .hero-line {
  width: 48px;
  height: 4px;
  background: var(--gold);
  margin-bottom: 16px;
}

.form-card-title {
  font-family: var(--font-pompei);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.form-card-subtitle {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ----- FORM ELEMANLARI ----- */
.kutsan-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.kutsan-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.kutsan-form .form-row .form-group {
  margin-bottom: 0;
}

.kutsan-form label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.kutsan-form .form-control {
  width: 100%;
  background: rgba(0, 21, 34, 0.6);
  border: 1px solid rgba(246, 185, 31, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-family: var(--font-tt-fors);
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.kutsan-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.kutsan-form .form-control:focus {
  border-color: var(--gold2);
  background: rgba(0, 21, 34, 0.9);
  box-shadow: 0 0 0 3px rgba(246, 185, 31, 0.12);
}

.kutsan-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.kutsan-form .form-row-security {
  align-items: end;
}

.kutsan-form .security-image-group {
  justify-content: flex-end;
}

.kutsan-form .security-image-group #iletisimguvenlik img {
  border-radius: 12px;
  border: 1px solid rgba(246, 185, 31, 0.3);
  max-height: 52px;
}

.kutsan-form .form-submit {
  margin-top: 10px;
  margin-bottom: 0;
}

.kutsan-form .form-submit .btn {
  min-width: 220px;
  height: 58px;
  border-radius: 30px;
}

/* ----- HARİTA KARTI ----- */
.map-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(246, 185, 31, 0.25);
  min-height: 520px;
  position: relative;
  background: #001522;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
  transition: filter 0.4s ease;
}

.map-card:hover iframe {
  filter: grayscale(0) contrast(1);
}

/* ============================================================
   FORM MESAJLARI
   ============================================================ */
#form-messages {
  margin-bottom: 20px;
}

#form-messages .success,
#form-messages .error {
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

#form-messages .success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.5);
  color: #2ecc71;
}

#form-messages .error {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: #e74c3c;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 1200px */
@media (max-width: 1200px) {
  .container-contact { padding: 0 35px; }
  .contact-boxes-grid { gap: 22px; }
  .contact-form-grid { gap: 25px; }
  .form-card { padding: 35px 30px; }
}

/* 992px */
@media (max-width: 992px) {
  .page-hero { height: 300px; }
  .page-hero-content h1 { font-size: 46px; }

  .contact-boxes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-boxes-grid .contact-box:last-child {
    grid-column: 1 / -1;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .map-card { min-height: 380px; }
}

/* 800px - MOBIL */
@media (max-width: 800px) {
  .page-iletisim {
    height: auto !important;
    max-height: none !important;
    overflow: auto !important;
  }

  .page-iletisim .iletisim-main {
    display: block;
  }

  .container-contact { padding: 0 20px; }

  /* Page Hero */
  .page-hero { height: 260px; }
  .page-hero-content h1 { font-size: 36px; }
  .page-hero-content .hero-kicker { font-size: 12px; letter-spacing: 2.5px; }
  .page-hero-desc { font-size: 14px; }

  /* Bilgi Kartları */
  .contact-boxes-section { padding: 40px 0 10px; }

  .contact-boxes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-boxes-grid .contact-box:last-child {
    grid-column: auto;
  }

  .contact-box {
    padding: 28px 22px;
    border-radius: 16px;
  }
  .contact-box-icon {
    width: 58px;
    height: 58px;
    font-size: 22px;
    margin-bottom: 6px;
  }
  .contact-box h4 { font-size: 15px; }
  .contact-box p { font-size: 15px; }
  .contact-box span { font-size: 13px; }

  /* Form + Harita */
  .contact-form-section { padding: 30px 0 50px; }

  .form-card {
    padding: 28px 22px;
    border-radius: 16px;
  }
  .form-card-title { font-size: 24px; }
  .form-card-subtitle { font-size: 13px; }

  .kutsan-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .kutsan-form .form-control {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
  }

  .kutsan-form .form-row-security {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .kutsan-form .security-image-group {
    justify-content: flex-start;
  }

  .kutsan-form .form-submit .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .map-card {
    min-height: 300px;
    border-radius: 16px;
  }
}

/* 480px */
@media (max-width: 480px) {
  .page-hero { height: 230px; }
  .page-hero-content { padding: 0 20px; }
  .page-hero-content h1 { font-size: 30px; }
  .page-hero-content .hero-line { width: 42px; height: 3px; }

  .contact-box { padding: 24px 18px; }
  .contact-box-icon { width: 52px; height: 52px; font-size: 20px; }

  .form-card { padding: 24px 18px; }
  .form-card-title { font-size: 22px; }

  .kutsan-form .form-row-security {
    grid-template-columns: 1fr;
  }

  .map-card { min-height: 260px; }
}

/* 360px */
@media (max-width: 360px) {
  .page-hero-content h1 { font-size: 26px; }
  .form-card-title { font-size: 20px; }
  .contact-box h4 { font-size: 14px; }
  .contact-box p { font-size: 14px; }
  .contact-box span { font-size: 12px; }
}