/* Yaren Özkök Tema · İletişim · v0.1.0 */

.yil {
  margin: 0 24px;
  padding: 100px 32px;
}
.yil-ic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  max-width: 1313px;
  margin: 0 auto;
}

/* ── BİLGİ ── */
.yil-ust {
  display: block;
  margin-bottom: 24px;
  color: #355E54;
  font-family: var(--yz-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.yil-h2 {
  margin: 0;
  color: #1B2E28;
  font-family: var(--yz-font);
  font-size: clamp(28px, 2.9vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.033em;
}
.yil-metin {
  max-width: 58ch;
  margin: 24px 0 0;
  color: #333;
  font-family: var(--yz-font);
  font-size: 16px;
  line-height: 1.6;
}

.yil-liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  font-style: normal;
}
.yil-liste a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #F1F7F4;
  color: #1B2E28;
  font-family: var(--yz-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background .18s;
}
.yil-liste a:hover { background: #E6F1EC; }
.yil-liste a:focus-visible { outline: 2px solid #1E4D40; outline-offset: 2px; }
.yil-liste small {
  display: block;
  margin-bottom: 2px;
  color: #4A6B60;
  font-size: 12.5px;
  font-weight: 600;
}
.yil-ikon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2F6F5E;
  color: #fff;
}

.yil-harita {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #E6F1EC;
  aspect-ratio: 625 / 440;
}
.yil-harita iframe { display: block; width: 100%; height: 100%; border: 0; }

.yil-yol {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #2F6F5E;
  font-family: var(--yz-font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.yil-yol:hover { color: #1E4D40; text-decoration: underline; text-underline-offset: 3px; }

.yil-ulasim {
  margin-top: 32px;
  padding: 24px 26px;
  border: 1px solid #DDE7E3;
  border-radius: 12px;
}
.yil-ulasim-baslik {
  margin: 0 0 14px;
  color: #1B2E28;
  font-family: var(--yz-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.yil-ulasim ul {
  margin: 0;
  padding-left: 18px;
  color: #333;
  font-family: var(--yz-font);
  font-size: 15px;
  line-height: 1.65;
}
.yil-ulasim li + li { margin-top: 8px; }
.yil-ulasim li::marker { color: #2F6F5E; }

/* ── FORM ── */
.yrf {
  padding: 32px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(22, 36, 31, .07);
  scroll-margin-top: 112px;
}
.yrf-baslik {
  margin: 0;
  color: #1B2E28;
  font-family: var(--yz-font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}
.yrf-metin {
  margin: 8px 0 0;
  color: #4A5C57;
  font-family: var(--yz-font);
  font-size: 14.5px;
  line-height: 1.55;
}

.yrf-durum {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-family: var(--yz-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.yrf-durum.is-ok { background: #E6F1EC; color: #1E4D40; }
.yrf-durum.is-hata { background: #FCEBEA; color: #8C1D18; }

.yrf-form { margin-top: 24px; }

.yrf-tuzak {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.yrf-izgara {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
.yrf-alan { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.yrf-alan--genis { grid-column: 1 / -1; }

.yrf-alan label {
  color: #1E4D40;
  font-family: var(--yz-font);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}
.yrf-alan label span,
.yrf-onay label > span { color: #B3261E; margin-left: 2px; }
.yrf-alan label small { color: #4A6B60; font-size: 12.5px; font-weight: 500; }

.yrf-alan input,
.yrf-alan select,
.yrf-alan textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #DDE7E3;
  border-radius: 8px;
  background: #F1F7F4;
  color: #1E4D40;
  font-family: var(--yz-font);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .18s, background .18s;
  appearance: none;
}
.yrf-alan select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232F6F5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.yrf-alan textarea { min-height: 150px; resize: vertical; }
.yrf-alan input::placeholder,
.yrf-alan textarea::placeholder { color: #6A837A; }
.yrf-alan input:hover,
.yrf-alan select:hover,
.yrf-alan textarea:hover { border-color: #BFD3CA; }
.yrf-alan input:focus,
.yrf-alan select:focus,
.yrf-alan textarea:focus {
  border-color: #2F6F5E;
  background: #fff;
  outline: 2px solid rgba(47, 111, 94, .22);
  outline-offset: 1px;
}
.yrf-alan [aria-invalid="true"] { border-color: #B3261E; background: #FFF8F7; }

.yrf-hata {
  margin: 0;
  color: #B3261E;
  font-family: var(--yz-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.yrf-onaylar { display: grid; gap: 12px; margin-top: 22px; }
.yrf-onay {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
}
.yrf-onay input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #2F6F5E;
  cursor: pointer;
}
.yrf-onay label {
  color: #3A4F47;
  font-family: var(--yz-font);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.yrf-onay a { color: #1E4D40; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.yrf-onay .yrf-hata { grid-column: 2; }

.yrf-turnstile { margin-top: 20px; }

.yrf-gonder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 24px;
  padding: 14px 24px;
  border: 0;
  border-radius: 8px;
  background: #2F6F5E;
  color: #fff;
  font-family: var(--yz-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .18s;
}
.yrf-gonder:hover { background: #1E4D40; }
.yrf-gonder:focus-visible { outline: 2px solid #1E4D40; outline-offset: 3px; }
.yrf-gonder[disabled] { cursor: progress; opacity: .85; }
.yrf-gonder-yukleniyor {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: yrf-don .8s linear infinite;
}
.yrf-gonder.is-yukleniyor .yrf-gonder-yukleniyor { display: block; }
@keyframes yrf-don { to { transform: rotate(360deg); } }

/* ── DUYARLI ── */
@media (max-width: 1100px) {
  .yil-ic { gap: 40px; }
  .yil-liste { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
  .yil-ic { grid-template-columns: 1fr; gap: 48px; }
  .yil-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .yil { margin: 0 16px; padding: 56px 20px; }
}

@media (max-width: 640px) {
  .yil-liste { grid-template-columns: 1fr; }
  .yrf-izgara { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .yil { padding: 44px 4px; }
  .yrf { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .yil-liste a, .yrf-alan input, .yrf-alan select, .yrf-alan textarea, .yrf-gonder { transition: none; }
  .yrf-gonder-yukleniyor { animation-duration: 2s; }
}
