/* İletişim sayfası (Views/Contact/Index.cshtml). Stiller .ts-contact altında. */
.ts-contact {
  --red: #b4221c;
  --red-dark: #8f1a15;
  --cream: #fff8f0;
  --brown: #492e1d;
  --muted: #6b5a4e;
  --line: #e8d9c8;
  --display: 'Please Display', 'Archivo Black', sans-serif;

  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 5vw, 64px) clamp(56px, 7vw, 96px);
  color: var(--brown);
  font-family: 'Archivo', system-ui, sans-serif;
}

/* ---------- Başlık ---------- */
.ts-contact .contact-head {
  text-align: center;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.ts-contact .contact-eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: clamp(13px, 1.7vw, 19px);
  font-weight: 500;
  letter-spacing: 1px;
}

.ts-contact .contact-title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 900;
  color: var(--red);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
  letter-spacing: 1px;
}

.ts-contact .contact-lead {
  margin: 0 auto;
  max-width: 34em;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
  color: var(--muted);
}

.ts-contact .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

/* ---------- Form ---------- */
.ts-contact .contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 1px 2px rgba(73, 46, 29, 0.08), 0 8px 24px rgba(73, 46, 29, 0.06);
}

.ts-contact .contact-card-title {
  margin: 0 0 24px;
  font-family: var(--display);
  font-weight: 900;
  color: var(--red);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
}

.ts-contact .contact-success {
  margin-bottom: 24px;
  padding: 14px 18px;
  border-radius: 10px;
  background: #eaf5ec;
  color: #1f5b2c;
  font-size: 15px;
}

.ts-contact .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.ts-contact .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ts-contact label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brown);
}

.ts-contact .optional {
  font-weight: 400;
  color: var(--muted);
}

.ts-contact input:not([type="checkbox"]),
.ts-contact textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--brown);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.15s, background-color 0.15s;
}

.ts-contact textarea {
  resize: vertical;
  min-height: 140px;
}

.ts-contact input:not([type="checkbox"]):focus,
.ts-contact textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}

.ts-contact .input-validation-error {
  border-color: var(--red) !important;
}

.ts-contact .field-error {
  font-size: 13px;
  color: var(--red);
}

.ts-contact .field-error:empty {
  display: none;
}

.ts-contact .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.ts-contact .consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

/* Spam botları için gizli alan */
.ts-contact .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ts-contact .contact-submit {
  margin-top: 6px;
  padding: 14px 40px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s;
}

.ts-contact .contact-submit:hover,
.ts-contact .contact-submit:focus-visible {
  background: var(--red-dark);
}

/* ---------- Bilgiler ---------- */
.ts-contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: clamp(0px, 1vw, 12px);
}

.ts-contact .info-block {
  border-bottom: 2px solid var(--red);
  padding-bottom: 20px;
}

.ts-contact .info-label {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ts-contact .info-value {
  font-family: var(--display);
  font-weight: 900;
  color: var(--brown);
  font-size: clamp(18px, 1.9vw, 24px);
  word-break: break-word;
}

.ts-contact .info-value:hover {
  color: var(--red);
}

.ts-contact .info-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ts-contact .info-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--red);
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
}

.ts-contact .info-cat {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin: 8px 0 0 auto;
}

@media (max-width: 860px) {
  .ts-contact .contact-grid {
    grid-template-columns: 1fr;
  }

  .ts-contact .info-cat {
    display: none;
  }
}

@media (max-width: 520px) {
  .ts-contact .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ts-contact .contact-submit {
    width: 100%;
  }
}
