/* ==========================================================================
   İLETİŞİM SAYFASI STİLLERİ
   ========================================================================== */

/* --------------------------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: #071D49;
  min-height: 75vh;
  padding-top: 110px;
  padding-bottom: 32px;
  position: relative;
  overflow: hidden;
}

/* Arka plan görseli - pseudo element ile */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../../img/iletisim-3d.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Gradient overlay */
.contact-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(7, 29, 73, 0.1) 0%,
    rgba(7, 29, 73, 0.5) 40%,
    rgba(7, 29, 73, 0.85) 70%,
    rgba(7, 29, 73, 0.95) 100%
  );
  z-index: 1;
}

.contact-section > .container {
  position: relative;
  z-index: 2;
}

/* Sol Taraf */
.contact-left {
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-left-content {
  position: relative;
  z-index: 2;
}

.contact-left .breadcrumb-nav {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.contact-left .breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.contact-left .breadcrumb-nav a:hover {
  color: #fff;
}

.contact-left .breadcrumb-nav span {
  color: #fff;
  font-weight: 500;
}

.contact-title {
  font-size: 4.5rem; /* Increased size */
  font-weight: 300;
  margin-bottom: 3rem;
  color: #fff;
  line-height: 1;
}

.contact-info-row {
  display: flex;
  gap: 4rem;
  margin-bottom: 2rem;
}

.contact-info-col {
  min-width: 0;
}

.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-info-value {
  font-size: 1rem;
  color: #fff;
}

.contact-address-box {
  margin-bottom: 2rem;
  max-width: 300px;
}

.contact-address-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* 3D Image */
.contact-3d-image {
  position: absolute;
  top: 100%; /* Position below text content */
  left: -10%;
  transform: translateY(-50%);
  z-index: 1;
  width: 120%; /* Allow it to extend */
  pointer-events: none;
  margin-top: 2rem;
}

.contact-3d-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

/* Sağ Taraf - Form Card */
.contact-form-card {
  background: #fff;
  padding: 2rem 1.8rem; /* More compact padding */
  position: relative;
  z-index: 5;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.form-title {
  font-size: 1.2rem; /* Compact title */
  font-weight: 500;
  color: #071D49;
  margin-bottom: 1rem; /* Reduced margin */
  text-align: center; /* Optional: Center title for better balance */
}

.contact-form .form-group {
  margin-bottom: 0.7rem; /* Very tight spacing */
}

.contact-form label {
  display: block;
  font-size: 0.7rem; /* Smaller labels */
  color: #999;
  margin-bottom: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form .form-control {
  width: 100%;
  padding: 0.2rem 0; /* Minimal padding */
  border: none;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0;
  font-size: 0.85rem;
  color: #333;
  background: transparent;
  transition: border-color 0.3s ease;
  height: auto;
}

.contact-form .form-control:focus {
  outline: none;
  border-bottom-color: #071D49;
  box-shadow: none;
}

.contact-form textarea.form-control {
  resize: none;
  min-height: 40px; /* Reduced height */
}

/* Checkboxes */
.form-checkboxes {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 0;
}

.contact-form .form-check {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;   /* Checkbox ve ilk satırı hizala */
  padding-left: 0;
  margin-left: 0;
}

.contact-form .form-check-input {
  margin-top: 0;         /* Dikey ofseti kaldır */
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  float: none;
  margin-left: 0;
  margin-right: 0.5rem;  /* Metne aralık */
}

.contact-form .form-check-input:checked {
  background-color: #071D49;
  border-color: #071D49;
}

.contact-form .form-check-label {
  font-size: 0.65rem;    /* Üst inputlardan daha küçük */
  color: #777;
  line-height: 1.4;
  margin-top: 0;
}

.form-check-label a {
  color: #071D49;
  font-weight: 600;
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: #071D49;
  color: #fff;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border-radius: 6px; /* Rounded button */
}

.btn-submit:hover {
  background: #0a2a66;
  transform: translateY(-2px); /* Slight lift */
  box-shadow: 0 4px 12px rgba(7, 29, 73, 0.2);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .contact-section {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 4rem;
    /* Tablet için görsel yeniden konumlandırma */
    background-size: 100% 100%, auto 90%;
    background-position: center, left center;
  }
  
  .contact-left {
    margin-bottom: 3rem;
  }
  
  .contact-title {
    font-size: 3.5rem;
  }
  
  .contact-3d-image {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 80%;
    max-width: 400px;
    margin: 2rem auto 0;
  }
  
  .contact-form-card {
    padding: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .contact-section {
    /* Mobilde görsel daha küçük ve alta yaslanır */
    background-size: 100% 100%, auto 70%;
    background-position: center, left bottom;
  }
  
  .contact-info-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-title {
    font-size: 2.8rem;
  }
  
  .contact-form-card {
    padding: 2rem 1.5rem;
  }
}
