:root {
  --cimen: #2F6B3A;
  --cimen-koyu: #24552D;
  --cimen-acik: #DCE8D6;
  --gunes: #E9A72C;
  --gunes-koyu: #D8961E;
  --file: #24292E;
  --sabah: #F5F7F1;
  --pembe: #F3B7C3;
  --beyaz: #FFFFFF;
  --gri: #5E655E;
  --cizgi: #DDE3D8;

  --baslik: "Baloo 2", system-ui, sans-serif;
  --metin: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --kap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--sabah);
  color: var(--file);
  font-family: var(--metin);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cimen); }

h1, h2, h3 {
  font-family: var(--baslik);
  line-height: 1.05;
  margin: 0 0 .4em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; color: var(--cimen); }
h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }

.kap { width: 100%; max-width: var(--kap); margin: 0 auto; padding: 0 20px; }
.kap.dar { max-width: 760px; }

/* Düğmeler */
.dugme {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--cimen); color: var(--beyaz);
  font-family: var(--baslik); font-weight: 700; font-size: 1.15rem;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.dugme:hover { background: var(--cimen-koyu); }
.dugme:active { transform: scale(.97); }
.dugme:focus-visible { outline: 3px solid var(--gunes); outline-offset: 3px; }
.dugme-kucuk { min-height: 42px; padding: 0 20px; font-size: 1rem; }
.dugme-sari { background: var(--gunes); color: var(--file); }
.dugme-sari:hover { background: var(--gunes-koyu); }
.dugme[disabled] { opacity: .6; cursor: progress; }

/* Üst bar */
.ust {
  position: sticky; top: 0; z-index: 10;
  background: rgb(245 247 241 / .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}
.ust-ic { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 52px; width: auto; }

/* Hero */
.hero { padding: 40px 0 72px; overflow: hidden; }
.hero-ic { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.rozet {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--beyaz); border: 1px solid var(--cizgi);
  padding: 6px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--cimen);
}
.nokta { width: 8px; height: 8px; border-radius: 50%; background: var(--gunes); box-shadow: 0 0 0 0 rgb(233 167 44 / .6); animation: nabiz 2s infinite; }
@keyframes nabiz { 70% { box-shadow: 0 0 0 8px rgb(233 167 44 / 0); } 100% { box-shadow: 0 0 0 0 rgb(233 167 44 / 0); } }
.vurgu { position: relative; white-space: nowrap; }
.vurgu::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .16em; height: .14em;
  background: var(--gunes); border-radius: 99px; z-index: -1; opacity: .85;
}
.giris { font-size: 1.2rem; color: #3b423b; max-width: 34ch; }
.hero-eylem { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.not { color: var(--gri); font-size: .95rem; }

.sahne { position: relative; }
.sahne-svg { width: 100%; height: auto; }

/* Yuvarlanma animasyonu */
.yuvarlanan { animation: git 6s ease-in-out infinite; }
.golge { animation: git 6s ease-in-out infinite; transform-origin: 260px 332px; }
.ic-cember { animation: don 1.5s linear infinite; transform-box: fill-box; transform-origin: center; }
.bacak-a { animation: adim .5s ease-in-out infinite alternate; }
.bacak-b { animation: adim .5s ease-in-out infinite alternate-reverse; }
@keyframes git {
  0%, 100% { transform: translateX(-60px); }
  50% { transform: translateX(60px); }
}
@keyframes don {
  0% { transform: scaleX(1); }
  50% { transform: scaleX(-1); }
  100% { transform: scaleX(1); }
}
@keyframes adim { from { transform: translateY(0); } to { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .yuvarlanan, .golge, .ic-cember, .bacak-a, .bacak-b, .nokta { animation: none; }
}

/* Bölümler */
.bolum { padding: 88px 0; }
.bolum-acik { background: var(--beyaz); }
.bolum-yesil { background: var(--cimen); color: var(--sabah); }
.bolum-yesil h2 { color: var(--beyaz); }
.bolum-yesil .ust-baslik { color: var(--gunes); }
.bolum-yesil .giris { color: rgb(245 247 241 / .85); max-width: none; }

.ust-baslik {
  font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cimen); margin-bottom: .6em;
}

.adimlar {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.adimlar li {
  background: var(--beyaz); border: 1px solid var(--cizgi); border-radius: var(--radius);
  padding: 28px 24px;
}
.bolum-acik .adimlar li { background: var(--sabah); }
.adimlar p { margin: 0; color: #3b423b; }
.no {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--cimen); color: var(--beyaz);
  font-family: var(--baslik); font-weight: 800; font-size: 1.2rem;
}

.iki-sutun { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.olcu { display: flex; align-items: flex-end; gap: 40px; margin: 24px 0 20px; }
.olcu figure { margin: 0; text-align: center; }
.olcu-kure { width: 150px; }
.olcu-disk { width: 100px; margin: 0 auto 12px; }
.olcu figcaption { margin-top: 6px; color: var(--gri); }
.olcu strong { font-family: var(--baslik); font-size: 1.5rem; color: var(--cimen); display: block; line-height: 1.1; }

.etiketler { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.etiketler li {
  border: 2px solid var(--cimen); color: var(--cimen); border-radius: 999px;
  padding: 4px 16px; font-weight: 700; font-size: 1rem;
}

.renkler { list-style: none; padding: 0; margin: 36px 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.renkler li { text-align: center; }
.renkler svg { width: 100%; max-width: 160px; margin: 0 auto 10px; transition: transform .3s ease; }
.renkler li:hover svg { transform: translateY(-6px) rotate(-6deg); }
.renkler span { font-family: var(--baslik); font-weight: 700; font-size: 1.2rem; }

.kucuk-not { font-size: .9rem; color: var(--gri); }
.orta { text-align: center; }

/* SSS */
.sss { margin-top: 28px; border-top: 1px solid var(--cizgi); }
.sss details { border-bottom: 1px solid var(--cizgi); }
.sss summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--baslik); font-weight: 700; font-size: 1.2rem;
}
.sss summary::-webkit-details-marker { display: none; }
.sss summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--cimen); transition: transform .2s ease;
}
.sss details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sss summary:focus-visible { outline: 3px solid var(--gunes); outline-offset: 2px; }
.sss details p { margin: 0 0 20px; color: #3b423b; }

/* Form */
.form {
  margin-top: 32px; background: var(--sabah); color: var(--file);
  border-radius: 24px; padding: 32px;
  display: grid; gap: 22px;
}
.satir.iki { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.alan { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.alan > span, .alan legend { font-weight: 700; font-size: 1rem; padding: 0; margin-bottom: 8px; }
.alan legend { margin-bottom: 10px; }
.alan em, .onay em { font-style: normal; font-weight: 400; color: var(--gri); }
.alan input[type=text], .alan input[type=email], .alan input[type=tel], .alan select {
  width: 100%; min-height: 50px; padding: 0 14px;
  font: inherit; font-size: 16px; color: var(--file);
  background: var(--beyaz); border: 1.5px solid var(--cizgi); border-radius: 12px;
  appearance: none; -webkit-appearance: none;
}
.alan select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232F6B3A' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.alan input:focus, .alan select:focus { outline: none; border-color: var(--cimen); box-shadow: 0 0 0 3px rgb(47 107 58 / .18); }
.alan input[aria-invalid=true], .alan select[aria-invalid=true] { border-color: #C2412D; }

.secenekler { display: flex; flex-wrap: wrap; gap: 8px; }
.secenekler label { position: relative; cursor: pointer; }
.secenekler input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.secenekler span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  background: var(--beyaz); border: 1.5px solid var(--cizgi); border-radius: 999px;
  font-size: 1rem; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.secenekler label:hover span { border-color: var(--cimen); }
.secenekler input:checked + span { background: var(--cimen); border-color: var(--cimen); color: var(--beyaz); font-weight: 600; }
.secenekler input:focus-visible + span { outline: 3px solid var(--gunes); outline-offset: 2px; }
.secenekler i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px var(--beyaz); }
fieldset[data-gecersiz] .secenekler span { border-color: #E0A79D; }

.onaylar { display: grid; gap: 12px; padding-top: 6px; border-top: 1px solid var(--cizgi); }
.onay { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.45; cursor: pointer; padding-top: 8px; }
.onay input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--cimen); }
.onay input[aria-invalid=true] { outline: 2px solid #C2412D; outline-offset: 2px; }

.hata { margin: 0; color: #A8321F; font-weight: 600; }
.form .dugme { width: 100%; min-height: 58px; font-size: 1.25rem; }

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

.tesekkur { margin-top: 32px; text-align: center; padding: 40px 24px; border: 2px dashed rgb(245 247 241 / .35); border-radius: 24px; }
.tesekkur:focus { outline: none; }
.tesekkur h3 { font-size: 2.2rem; color: var(--beyaz); }
.tesekkur a { color: var(--gunes); font-weight: 700; }
.tesekkur-kure { width: 110px; margin: 0 auto 16px; animation: zipla .6s ease-out; }
@keyframes zipla { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* Alt */
.alt { background: var(--cimen-koyu); color: rgb(245 247 241 / .8); padding: 48px 0 40px; }
.alt-ic { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.alt-logo { height: 56px; width: auto; }
.alt nav { display: flex; gap: 24px; flex-wrap: wrap; }
.alt a { color: var(--sabah); text-decoration: none; font-weight: 600; }
.alt a:hover { text-decoration: underline; }
.alt .kucuk-not { color: rgb(245 247 241 / .6); margin: 0; width: 100%; }

/* Mobil */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .kap { padding: 0 16px; }
  .ust-ic { height: 64px; }
  .logo img { height: 44px; }
  .hero { padding: 16px 0 48px; }
  .hero-ic { grid-template-columns: 1fr; gap: 8px; }
  .sahne { order: -1; margin: 0 -16px; }
  .giris { max-width: none; }
  .bolum { padding: 64px 0; }
  .adimlar { grid-template-columns: 1fr; gap: 12px; }
  .iki-sutun { grid-template-columns: 1fr; gap: 56px; }
  .renkler { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 22px 18px; margin-left: -4px; margin-right: -4px; }
  .satir.iki { grid-template-columns: 1fr; }
}
