/* =========================
   CONTACT PAGE
========================= */

/* =========================
   CONTACT PAGE HEADER
========================= */

.page-header {
  background-color: #002147;
  /* Yeni ana bej rengin */
  padding: 40px 0;
  /* Equal top and bottom padding */
  border-bottom: 1px solid rgba(0, 33, 71, 0.1);
}

.page-header .header-content {
  max-width: 1200px;
  /* Match the contact container width */
  margin: 0 auto;
  width: 92%;
  padding-left: 60px;
  /* Align with the white frame content */
}

.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  /* Kibar ve profesyonel boyut */
  font-weight: 800;
  color: #DAD3C7;
  /* Yazı artık lacivert */
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.page-header p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #DAD3C7;
  /* Yumuşak bir gri */
  line-height: 1.5;
  max-width: 600px;
}

/* Mobilde ortalayalım */
@media (max-width: 768px) {
  .page-header {
    text-align: center;
    padding: 30px 0;
  }

  .page-header .header-content {
    padding-left: 0;
  }
}

/* İletişim İçerik Bölümü */
.contact {
  padding: 40px 0 80px 0;
  background: #DAD3C7;
}

.contact .container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: #FAFAFA;
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* İletişim Formu */
.contact-form h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #002147;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #002147;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #e0ddd5;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #333;
  background: #ffffff;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #002147;
  box-shadow: 0 0 0 3px rgba(0, 33, 71, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: #002147;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 40px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #003d6b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 33, 71, 0.25);
}

/* İletişim Bilgileri */
.contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #002147;
  margin-bottom: 20px;
}

.contact-info p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 35px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.contact-info ul li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #333;
  background: #ffffff;
  padding: 20px 24px;
  margin-bottom: 16px;
  border-radius: 12px;
  border-left: 4px solid #002147;
  transition: all 0.3s ease;
}

.contact-info ul li:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 33, 71, 0.12);
}

.contact-info ul li strong {
  font-family: 'Montserrat', sans-serif;
  display: block;
  font-size: 13px;
  color: #002147;
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info ul li a {
  color: #003d6b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info ul li a:hover {
  color: #002147;
  text-decoration: underline;
}

/* Harita */
.contact-map {
  margin-top: 0;
}

.contact-map iframe {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 33, 71, 0.12);
  width: 100%;
  height: 280px;
  border: none;
}

/* Pop-up Arka Plan (Karartma) */
.modal-overlay {
  display: none;
  /* Başlangıçta gizli */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 33, 71, 0.6);
  /* Lacivert transparan karartma */
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  /* Arka planı hafif bulandırır (Premium efekt) */
}

/* Pop-up Kutusu */
.modal-content {
  background: #FAFAFA;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-icon {
  font-size: 50px;
  color: #002147;
  margin-bottom: 20px;
}

.modal-content h2 {
  font-family: 'Montserrat', sans-serif;
  color: #002147;
  margin-bottom: 10px;
}

.modal-content p {
  font-family: 'Inter', sans-serif;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Kapat Butonu */
.modal-btn {
  background: #002147;
  color: #DAD3C7;
  border: none;
  padding: 12px 35px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.modal-btn:hover {
  background: #003d6b;
}

/* Sosyal Medya Liste Elemanı */
.social-media-item {
  display: flex;
  flex-direction: column;
  align-items: left;
  /* Başlık ve ikon grubunu dikey eksende ortalar */
  margin-top: 20px;
  padding: 15px 0;
  margin-bottom: 15px;
}

/* Başlık stili (Opsiyonel: İkonlara yakınlığı için) */
.social-media-item strong {
  display: block;
  margin-bottom: 15px;
  color: #002147;
  font-size: 16px;
}

/* İkon Konteynırı */
.contact-social {
  display: flex;
  justify-content: center;
  /* İkonları yatayda tam ortalar */
  align-items: center;
  gap: 25px;
  /* İkonlar arasındaki boşluğu artırdık */
  width: 100%;
}

/* İkonların Genel Tasarımı */
.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  /* Biraz daha büyütüldü */
  height: 42px;
  background: rgba(0, 33, 71, 0.08);
  border-radius: 50%;
  /* Kare yerine yuvarlak daha modern durabilir */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-social svg {
  width: 22px;
  height: 22px;
  fill: #002147;
  transition: fill 0.3s ease;
}

/* Hover Efektleri */
.contact-social a:hover {
  background: #002147;
  transform: translateY(-5px);
  /* Daha belirgin yükselme */
  box-shadow: 0 10px 20px rgba(0, 33, 71, 0.15);
}

.contact-social a:hover svg {
  fill: #DAD3C7;
}



/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media (max-width: 1024px) {
  .page-header {
    padding: 35px 0;
  }

  .page-header .header-content {
    padding-left: 40px;
  }

  .page-header h1 {
    font-size: 30px;
  }

  .page-header p {
    font-size: 15px;
  }

  .contact {
    padding: 35px 0 70px 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 50px 45px;
    gap: 50px;
  }

  .contact-form h2,
  .contact-info h2 {
    font-size: 28px;
  }

  .contact-map iframe {
    height: 300px;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  .page-header {
    text-align: center;
    padding: 30px 0;
  }

  .page-header .header-content {
    padding-left: 0;
  }

  .page-header h1 {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .page-header p {
    font-size: 14px;
    max-width: 100%;
  }

  .contact {
    padding: 30px 0 60px 0;
  }

  .contact .container {
    width: 95%;
  }

  .contact-wrapper {
    padding: 40px 30px;
    gap: 40px;
    border-radius: 16px;
  }

  .contact-form h2,
  .contact-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group textarea {
    padding: 13px 16px;
    font-size: 14px;
    border-radius: 8px;
  }

  .form-group textarea {
    min-height: 120px;
  }

  .submit-btn {
    padding: 14px 30px;
    font-size: 15px;
    border-radius: 8px;
  }

  .contact-info p {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .contact-info ul li {
    padding: 16px 20px;
    font-size: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .contact-info ul li strong {
    font-size: 12px;
  }

  .contact-map iframe {
    height: 250px;
    border-radius: 10px;
  }

  .contact-social {
    gap: 20px;
  }

  .contact-social a {
    width: 40px;
    height: 40px;
  }

  .contact-social svg {
    width: 20px;
    height: 20px;
  }

  /* Modal mobile */
  .modal-content {
    padding: 30px 25px;
    border-radius: 16px;
    max-width: 350px;
  }

  .modal-icon {
    font-size: 40px;
    margin-bottom: 15px;
  }

  .modal-content h2 {
    font-size: 22px;
  }

  .modal-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .modal-btn {
    padding: 11px 28px;
    font-size: 14px;
  }
}

/* Mobile Portrait */
@media (max-width: 576px) {
  .page-header {
    padding: 25px 0;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .page-header p {
    font-size: 13px;
  }

  .contact {
    padding: 25px 0 50px 0;
  }

  .contact .container {
    width: 92%;
  }

  .contact-wrapper {
    padding: 30px 20px;
    gap: 35px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  }

  .contact-form h2,
  .contact-info h2 {
    font-size: 22px;
    text-align: center;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .submit-btn {
    padding: 13px 25px;
    font-size: 14px;
  }

  /* Disable hover transform on touch */
  .submit-btn:hover {
    transform: none;
  }

  .contact-info p {
    font-size: 13px;
    text-align: center;
  }

  .contact-info ul li {
    padding: 14px 16px;
    font-size: 13px;
    margin-bottom: 10px;
  }

  .contact-info ul li:hover {
    transform: none;
  }

  .contact-info ul li strong {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .contact-map iframe {
    height: 220px;
  }

  .social-media-item strong {
    font-size: 14px;
    text-align: center;
  }

  .contact-social {
    gap: 18px;
  }

  .contact-social a {
    width: 38px;
    height: 38px;
  }

  .contact-social a:hover {
    transform: none;
  }

  .contact-social svg {
    width: 18px;
    height: 18px;
  }

  /* Modal small screen */
  .modal-content {
    padding: 25px 20px;
    max-width: 300px;
  }

  .modal-icon {
    font-size: 36px;
  }

  .modal-content h2 {
    font-size: 20px;
  }

  .modal-content p {
    font-size: 13px;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .page-header {
    padding: 20px 0;
  }

  .page-header h1 {
    font-size: 20px;
  }

  .page-header p {
    font-size: 12px;
  }

  .contact {
    padding: 20px 0 40px 0;
  }

  .contact-wrapper {
    padding: 25px 15px;
  }

  .contact-form h2,
  .contact-info h2 {
    font-size: 20px;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 13px;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .contact-info ul li {
    padding: 12px 14px;
    font-size: 12px;
  }

  .contact-info ul li strong {
    font-size: 10px;
  }

  .contact-map iframe {
    height: 180px;
  }

  .contact-social a {
    width: 34px;
    height: 34px;
  }

  .contact-social svg {
    width: 16px;
    height: 16px;
  }

  .modal-content {
    padding: 20px 15px;
  }

  .modal-content h2 {
    font-size: 18px;
  }

  .modal-content p {
    font-size: 12px;
  }

  .modal-btn {
    padding: 10px 22px;
    font-size: 13px;
  }
}