/* DÜZELTİLMİŞ ve ÇAKIŞMALARI GİDERİLMİŞ CONTACT.CSS */

/* Geliştirilmiş Modern İletişim Sayfası Stili */
.contact-section {
  padding: 70px 20px;
  background: linear-gradient(135deg, #eef2f7, #fafbfd);
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.contact-container {
  max-width: 950px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #e6e6e6;
  animation: fadeIn 0.5s ease;
}

/* Başlık */
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-size: 2.4rem;
  color: #0d0d0d;
  font-weight: 600;
}

.contact-header p {
  color: #555;
  font-size: 1.1rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d4d4d4;
  background: #fafafa;
  font-size: 16px;
  transition: all 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #0a74ff;
  background: #fff;
  box-shadow: 0 0 8px rgba(10,116,255,0.25);
  outline: none;
}

.btn-submit {
  background: linear-gradient(135deg, #0a74ff, #005ad1);
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* İletişim Bilgileri */
.contact-info {
  margin-top: 50px;
  padding: 30px;
  background: #f1f5fb;
  border-radius: 15px;
  border-left: 5px solid #0a74ff;
}

.contact-info h2 {
  margin-bottom: 15px;
  color: #0d0d0d;
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-info ul {
  padding: 0;
  list-style: none;
  font-size: 1.05rem;
  color: #444;
}

.contact-info li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Global link stili */
a {
  color: #222;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.8;
}

/* İletişim kutusundaki standart linkleri düzenleme */
.contact-info a {
  color: #0a74ff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Telefon ve Mail daha belirgin olsun */
.contact-info a[href^="tel"],
.contact-info a[href^="mailto"] {
  color: #003b99; /* Daha koyu ve okunaklı */
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Harita */
.map-container {
  margin-top: 45px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Animasyon */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   MOBİL DÜZEN — İLETİŞİM BİLGİLERİ (≤ 768px)
================================================= */
@media (max-width: 768px) {

  /* Kart sağ-sol boşlukları */
  .contact-info {
    padding: 22px 18px;
    margin-top: 35px;
    border-left-width: 4px;
  }

  /* Başlık küçültme */
  .contact-info h2 {
    font-size: 1.35rem;
    text-align: left;
  }

  /* Liste elemanlarını düzgün hizalama */
  .contact-info ul {
    font-size: 1rem;
  }

  .contact-info li {
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
  }

  /* Telefon & Mail link satır kaymasını düzelt */
  .contact-info a[href^="tel"],
  .contact-info a[href^="mailto"] {
    font-size: 1.03rem;
    white-space: nowrap;          /* Kaymayı engeller */
    display: inline-block;
  }
}

/* =================================================
   KÜÇÜK EKRANLAR — (≤ 480px)
================================================= */
@media (max-width: 480px) {

  .contact-container {
    padding: 20px;
  }

  .contact-info {
    padding: 20px 16px;
    border-left-width: 4px;
  }

  .contact-info h2 {
    font-size: 1.25rem;
  }

  .contact-info li {
    font-size: .95rem;
    gap: 8px;
  }

  .contact-info a[href^="tel"],
  .contact-info a[href^="mailto"] {
    font-size: .97rem;
  }
}
