/* Teklif Alın — görsel + form (anaTitle, support-section ile uyumlu) */

.teklif-page {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 4rem);
  width: 100%;
}

.teklif-page .projectName {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
  margin-bottom: -2rem;
}

.teklif-page .projectName img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.teklif-page .projectName .bannerText {
  z-index: 3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
}

.teklif-page .projectName .bannerText .title h1 {
  color: whitesmoke;
  font-size: 2.5rem;
  margin: 0;
  text-align: center;
}

.teklif-page .projectName .bannerText .title .projectName__tagline {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.85);
  text-align: center;
  line-height: 1.4;
}

.teklif-page .projectName .background {
  z-index: 2;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .teklif-page .projectName {
    height: 250px;
  }

  .teklif-page .projectName .bannerText .title h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 425px) {
  .teklif-page .projectName {
    height: 200px;
  }

  .teklif-page .projectName .bannerText .title h1 {
    font-size: 1.5rem;
  }
}

.kullanim {
  width: 100%;
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: stretch;
}

.support-image {
  position: relative;
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.support-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.support-form {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.support-form .anaTitle {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.support-form .anaTitle .title {
  color: #0f172a;
}

.support-form .anaTitle .desc {
  color: #64748b;
  line-height: 1.55;
  margin-top: 0.35rem;
}

.support-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.support-form .form-field {
  width: 100%;
}

.support-form .form-field input,
.support-form .form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  font-family: var(--theme-font-family, Inter, sans-serif);
  font-size: 0.95rem;
  line-height: 1.45;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-form .form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.support-form .form-field input::placeholder,
.support-form .form-field textarea::placeholder {
  color: #94a3b8;
}

.support-form .form-field input:hover,
.support-form .form-field textarea:hover {
  border-color: #cbd5e1;
}

.support-form .form-field input:focus,
.support-form .form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent, #8a7355);
  box-shadow: 0 0 0 3px rgba(138, 115, 85, 0.18);
  background: #fff;
}

.support-form button[type="submit"] {
  margin-top: 0.25rem;
  align-self: flex-start;
  padding: 0.8rem 1.75rem;
  font-family: var(--theme-font-family, Inter, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--btn-ink, #3f372f);
  background: var(--btn-surface, rgba(241, 233, 220, 0.92));
  border: 1px solid var(--btn-border-light, rgba(63, 55, 47, 0.16));
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--btn-shadow, 0 1px 3px rgba(0, 0, 0, 0.08));
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease,
    transform 0.15s ease;
}

.support-form button[type="submit"]:hover {
  background: var(--btn-surface-hover, rgba(248, 242, 232, 0.98));
  border-color: var(--btn-border-light-hover, rgba(63, 55, 47, 0.28));
  box-shadow: var(--btn-shadow-hover, 0 3px 14px rgba(0, 0, 0, 0.12));
  color: var(--btn-ink-hover, #322920);
}

.support-form button[type="submit"]:focus-visible {
  outline: 2px solid var(--color-accent, #8a7355);
  outline-offset: 2px;
}

@media (max-width: 932px) {
  /* Negatif marj banner ile form alanını bindirir; mobilde görsel üst öğeye yapışmasın */
  .teklif-page .projectName {
    margin-bottom: 0;
  }

  .kullanim {
    padding-top: clamp(1rem, 3vw, 1.75rem);
  }

  .support-section {
    grid-template-columns: 1fr;
  }

  .support-image {
    min-height: 240px;
    order: -1;
  }

  .support-image img {
    min-height: 240px;
  }
}
