/* ==========================================================================
   Keskintech — contact.css
   /iletisim/ sayfasına özel stiller.
   Hero zaten paylaşımlı (kt-hero-page).
   ========================================================================== */


/* ==========================================================================
   1. Channels (3 kart: e-posta, WhatsApp, ofis — telefon yok)
   ========================================================================== */

.kt-contact-channels { padding: 80px 0; }

.kt-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kt-channel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.kt-channel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.kt-channel-card-emerald:hover {
  border-color: var(--emerald);
}

.kt-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(37, 99, 235, .10);
  color: var(--blue);
  margin: 0 auto 18px;
}
.kt-channel-card-emerald .kt-channel-icon {
  background: rgba(16, 185, 129, .14);
  color: var(--emerald-2);
}

.kt-channel-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.kt-channel-desc {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.kt-channel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue);
  font-size: 15px;
  word-break: break-all;
  transition: color var(--t-fast);
}
.kt-channel-link:hover { color: var(--emerald); }
.kt-channel-card-emerald .kt-channel-link { color: var(--emerald-2); }
.kt-channel-link-muted {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  cursor: default;
}


/* ==========================================================================
   2. Form section + sidebar
   ========================================================================== */

.kt-contact-form-section { padding: 80px 0; }

.kt-contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: flex-start;
  max-width: 1120px;
  margin: 0 auto;
}

.kt-contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.kt-contact-form .kt-quote-block { margin-bottom: 22px; }
.kt-contact-form .kt-form-grid { margin-bottom: 22px; }

.kt-contact-foot {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

/* Form genel hata kutusu */
.kt-form-general-error {
  margin: 16px 0;
  padding: 12px 16px;
  background: #FEE2E2;
  border-left: 3px solid var(--rose);
  border-radius: 8px;
  color: #7F1D1D;
  font-size: 14px;
  line-height: 1.5;
}

/* Başarı kutusu */
.kt-contact-success {
  text-align: center;
  padding: 48px 32px;
}
.kt-contact-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 16px 0 8px;
}
.kt-contact-success p {
  color: var(--muted);
  margin: 0;
}


/* Sidebar */
.kt-contact-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kt-sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.kt-sidebar-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

.kt-sidebar-text {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Çalışma saatleri listesi */
.kt-hours-list {
  display: flex;
  flex-direction: column;
}
.kt-hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.kt-hours-list li:last-child { border-bottom: none; }
.kt-hours-list li.is-today {
  font-weight: 600;
  color: var(--ink);
}

.kt-hours-day {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
}
.kt-hours-list li:not(.is-today) .kt-hours-day { color: var(--muted); }

.kt-hours-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--emerald);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kt-hours-time {
  color: var(--muted);
  font-size: 13.5px;
  font-family: var(--font-mono);
}
.kt-hours-list li.is-today .kt-hours-time { color: var(--ink-2); }

/* WhatsApp sidebar kart */
.kt-sidebar-wa {
  background: linear-gradient(135deg, rgba(16, 185, 129, .08), rgba(16, 185, 129, .02));
  border-color: rgba(16, 185, 129, .25);
  text-align: center;
}
.kt-sidebar-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  color: var(--emerald);
  margin: 0 auto 14px;
  box-shadow: var(--shadow-sm);
}


/* ==========================================================================
   3. Map
   ========================================================================== */

.kt-contact-map {
  position: relative;
}

.kt-map-wrap {
  position: relative;
  height: 420px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}

.kt-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.kt-map-overlay {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 1;
  pointer-events: none;
}
.kt-map-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  max-width: 320px;
  pointer-events: auto;
}
.kt-map-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(16, 185, 129, .14);
  color: var(--emerald-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.kt-map-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}
.kt-map-addr {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13.5px;
}


/* ==========================================================================
   4. Mini SSS bölümü
   ========================================================================== */

.kt-contact-faq-section { padding: 80px 0; }


/* ==========================================================================
   5. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .kt-channels-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .kt-contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .kt-contact-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 720px) {
  .kt-contact-channels { padding: 56px 0; }
  .kt-contact-form-section { padding: 56px 0; }
  .kt-contact-faq-section { padding: 56px 0; }

  .kt-contact-form-wrap { padding: 24px 22px; }
  .kt-channel-card { padding: 28px 22px; }

  .kt-contact-foot { justify-content: stretch; }
  .kt-contact-foot .kt-btn { width: 100%; justify-content: center; }

  .kt-map-wrap { height: 320px; }
  .kt-map-overlay { top: 12px; left: 12px; right: 12px; }
  .kt-map-card { max-width: none; }
}
