/* ============================================================
   PELI WEBSITE – iletisim.css
   ============================================================ */

/* ── Main Layout ─────────────────────────────────────────────── */
.iletisim-main {
  margin-top: var(--nav-h);
  display: grid;
  grid-template-columns: 460px 1fr;
  min-height: calc(100vh - var(--nav-h) - 52px);
}

/* ── Sol: Görsel ─────────────────────────────────────────────── */
.il-image-col {
  position: sticky;
  top: var(--nav-h);
  height: 520px;
  overflow: visible;        /* gölgenin görünmesi için */
  padding: 24px 20px 20px 32px;  /* sol boşluk + gölge payı */
}

.il-image-wrap {
  width: 100%;
  height: 100%;
  box-shadow: 14px 14px 0 var(--red);  /* kırmızı çerçeve */
  overflow: hidden;
}

.il-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Sağ: İçerik ─────────────────────────────────────────────── */
.il-right-col {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 420px;
  overflow-y: auto;
}

/* İletişim bilgileri sol sütun */
.il-info-card {
  padding: 48px 40px 48px;
  overflow-y: auto;
}

/* Harita sağ sütun — tam yükseklik */
.il-map-card {
  position: sticky;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── İletişim Kartı ──────────────────────────────────────────── */
.il-info-card {
  border-right: 1px solid #efefef;
}

.il-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--gray-text);
  margin-bottom: 12px;
}

.il-subtitle {
  font-size: 0.875rem;
  color: #777;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}

.il-dept {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-text);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

/* ── Liste ───────────────────────────────────────────────────── */
.il-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.il-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.il-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.il-icon-pin  { background: var(--red); color: #fff; }
.il-icon-phone{ background: var(--red); color: #fff; }
.il-icon-mail { background: var(--red); color: #fff; }

.il-text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #555;
}

.il-link {
  color: var(--red);
  transition: opacity 0.2s;
  font-weight: 600;
}

.il-link:hover { opacity: 0.75; }

/* ── Form ────────────────────────────────────────────────────── */
.il-form-wrap {}

.il-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.form-group input,
.form-group textarea {
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 11px 14px;
  font-size: 0.85rem;
  font-family: 'Open Sans', sans-serif;
  color: var(--gray-text);
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: #fff;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e53e3e;
  background: #fff5f5;
}

.form-submit {
  align-self: flex-start;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 13px 32px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
}

.form-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

/* ── Harita Kartı ────────────────────────────────────────────── */
.il-map-card {
  border-left: 3px solid var(--red);
  overflow: hidden;
}

.map-topbar {
  padding: 12px 18px;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.map-open-link {
  font-size: 0.8rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: #1a73e8;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.map-open-link:hover { opacity: 0.75; }

.il-map {
  width: 100%;
  flex: 1;
  min-height: 100%;
  border: none;
  display: block;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .iletisim-main {
    grid-template-columns: 1fr;
  }

  .il-image-col {
    position: relative;
    height: 220px;
    top: 0;
  }

  .il-right-col {
    grid-template-columns: 1fr;
  }

  .il-info-card {
    border-right: none;
    border-bottom: 1px solid #efefef;
  }

  .il-map-card {
    border-left: none;
    border-top: 3px solid var(--red);
    height: 300px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .il-title { font-size: 1.4rem; }
  .il-right-col { padding: 28px 16px 40px; }
}
