/* ═══════════════════════════════════════════
   Ürün Talep Formu – ASAŞ (Figma Contact)
═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #101828;
  background: #fff;
  margin: 0;
  padding: 0;
}

:root { --asas-gutter: 48px; }
@media (max-width: 1199.98px) { :root { --asas-gutter: 32px; } }
@media (max-width: 991.98px) { :root { --asas-gutter: 24px; } }
@media (max-width: 767.98px) { :root { --asas-gutter: 16px; } }

/* Breadcrumb */
.bc-wrapper {
  width: 100%;
  padding-left: 123px;
  padding-right: 123px;
  padding-top: 30px;
  padding-bottom: 0;
}
@media (max-width: 991.98px) {
  .bc-wrapper { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 767.98px) {
  .bc-wrapper { padding-left: 24px; padding-right: 24px; }
}
.slide-breadcrumb {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  height: 25px;
  width: auto;
}
.bc-item {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0px;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
}
.bc-item:hover { text-decoration: underline; }
.bc-current {
  color: #000000;
  font-weight: 500;
  text-transform: uppercase;
}
.bc-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.bc-more {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  width: 24px;
  height: 24px;
  background: #6D7175;
  border-radius: 35px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.bc-more:hover { background: #555; }

/* Contact page section */
.contact-page {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 96px 0;
  gap: 64px;
  width: 100%;
  background: #FFFFFF;
}
.contact-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 0 32px;
  width: 100%;
  max-width: 1280px;
}
.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 24px;
  width: 100%;
  max-width: 1216px;
}

/* Heading */
.contact-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 24px;
  gap: 24px;
  width: 100%;
}
.contact-heading h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.02em;
  color: #101828;
  margin: 0;
}
.contact-heading .supporting {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #667085;
  margin: 0;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 32px;
  width: 100%;
}
.form-fields {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 24px;
  width: 100%;
}

/* Input group (label + input) */
.field-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 6px;
  width: 100%;
}
.field-group label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #344054;
  margin: 0;
}
.field-group .input-wrap {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid #D0D5DD;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  display: flex;
  align-items: center;
}
.field-group input[type="text"],
.field-group input[type="email"],
.field-group input[type="tel"],
.field-group select {
  width: 100%;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #101828;
  background: transparent;
}
.field-group input::placeholder,
.field-group select option[value=""] { color: #667085; }

/* Two columns (Ülke/Şehir, Telefon/Faks) */
.form-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  gap: 24px;
  width: 100%;
}
.form-row .field-group {
  flex: 1;
  min-width: 0;
}

/* Phone input with country code */
.phone-input-wrap {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: 48px;
  background: #FFFFFF;
  border: 1px solid #D0D5DD;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
}
.phone-input-wrap .country {
  display: flex;
  align-items: center;
  padding: 12px 12px 12px 16px;
  gap: 4px;
  border-right: 1px solid #D0D5DD;
  background: #fff;
}
.phone-input-wrap .country select {
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #101828;
  cursor: pointer;
  outline: none;
}
.phone-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #101828;
}
.phone-input-wrap input::placeholder { color: #667085; }

/* Select with chevron */
.select-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #D0D5DD;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  cursor: pointer;
  position: relative;
}
.select-wrap select {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #101828;
  appearance: none;
  cursor: pointer;
  padding-right: 36px;
}
.select-wrap .chevron {
  display: block;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('/img/asaskompozit/chevron-down.svg') center center / 20px 20px no-repeat;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.2s ease;
}
.select-wrap.is-open .chevron {
  transform: translateY(-50%) rotate(180deg);
}

/* Talep Tipi (sol) + Yaklaşık İhtiyaç Miktarı (sağ) – üstteki satırla aynı hiza ve boyut */
.talep-miktar-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.talep-miktar-row .field-group {
  width: auto;
}
.talep-miktar-row .talep-tipi {
  flex: 1 1 0;
  min-width: 0;
}
/* Sağ sütun: üstteki Ülke/Şehir/Telefon/Faks ile aynı genişlik (form-row yarısı) ve 48px yükseklik */
.talep-miktar-row #yaklasikMiktarGroup {
  flex: 1 1 0;
  min-width: 0;
}
.talep-miktar-row #yaklasikMiktarGroup .input-wrap {
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
}
.talep-miktar-row #yaklasikMiktarGroup.is-hidden {
  display: none !important;
}
@media (max-width: 767.98px) {
  .talep-miktar-row {
    flex-direction: column;
  }
  .talep-miktar-row #yaklasikMiktarGroup {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
}

/* Talep Tipi – checkboxes */
.talep-tipi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}
.talep-tipi .field-group label { margin-bottom: 0; }
.checkbox-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.checkbox-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.checkbox-item input {
  width: 20px;
  height: 20px;
  border: 1px solid #D0D5DD;
  border-radius: 4px;
  background: #FFFFFF;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.checkbox-item input::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.12s ease-in-out;
  clip-path: polygon(14% 44%, 0 59%, 41% 100%, 100% 16%, 84% 0, 40% 62%);
  background: #FFFFFF;
}
.checkbox-item input:hover {
  border-color: #bfc5cf;
}
.checkbox-item input:checked {
  background: #D1000F;
  border-color: #D1000F;
}
.checkbox-item input:checked::before {
  transform: scale(1);
}
.checkbox-item input:focus-visible {
  outline: 2px solid rgba(209, 0, 15, 0.25);
  outline-offset: 2px;
}
.checkbox-item span {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #344054;
}

/* Textarea */
.field-group textarea {
  width: 100%;
  min-height: 128px;
  padding: 12px 14px;
  border: 1px solid #D0D5DD;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #101828;
  resize: vertical;
  outline: none;
}
.field-group textarea::placeholder { color: #667085; }

/* Yaklaşık ihtiyaç miktarı – nota göre Numune Talep seçiliyken gizlenir */
/* Yaklaşık ihtiyaç miktarı: Numune Talep seçiliyken gizlenir (JS .is-hidden ekler) */
.field-group.is-hidden,
#yaklasikMiktarGroup.is-hidden {
  display: none !important;
}

/* KVKK consent */
.kvkk-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}
.kvkk-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid #D0D5DD;
  border-radius: 4px;
  background: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  transition: all 0.15s ease;
}
.kvkk-row input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.12s ease-in-out;
  clip-path: polygon(14% 44%, 0 59%, 41% 100%, 100% 16%, 84% 0, 40% 62%);
  background: #FFFFFF;
}
.kvkk-row input[type="checkbox"]:checked {
  background: #D1000F;
  border-color: #D1000F;
}
.kvkk-row input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.kvkk-row input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(209, 0, 15, 0.25);
  outline-offset: 2px;
}
.kvkk-row label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #838383;
  cursor: pointer;
  margin: 0;
}

/* Footer: recaptcha + button */
.form-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 0 20px;
  gap: 16px;
  width: 100%;
}
.form-footer .g-recaptcha {
  align-self: flex-start;
}
.recaptcha-placeholder {
  box-sizing: border-box;
  min-width: 302px;
  min-height: 76px;
  background: #F9F9F9;
  border: 1px solid #D3D3D3;
  box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #555555;
}
.btn-submit {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px 29px;
  width: 312px;
  height: 60px;
  background: #D1000F;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 20px;
  color: #FFFFFF;
  text-transform: uppercase;
  transition: background 0.2s;
}
.btn-submit:hover { background: #b0000c; }

@media (max-width: 991.98px) {
  .contact-page { padding: 48px 0; }
  .form-row { flex-direction: column; }
}
@media (max-width: 767.98px) {
  .contact-heading h1 { font-size: 32px; line-height: 40px; }
  .contact-heading .supporting { font-size: 18px; }
  .btn-submit { width: 100%; max-width: 312px; }
  .form-footer { flex-direction: column; align-items: stretch; }
}
