/*
Theme Name: Zemin Landing
Description: Tek sayfalık görsel landing + teklif formu. Görsellere tıklayınca form sayfasına yönlendirir. Başvurular panelde "Başvurular" menüsünde listelenir ve e-posta ile gönderilir.
Version: 1.0
Author: Can
Text Domain: zemin-landing
*/

:root {
  --brand: #e85d04;
  --brand-dark: #c24e00;
  --text: #1d1d1f;
  --muted: #6b7280;
  --bg: #f4f4f5;
  --card: #ffffff;
  --border: #d4d4d8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Landing ---------- */
.zl-landing {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding-bottom: 84px; /* sabit butonun altında içerik kalmasın */
}
.zl-landing a.zl-img-link { display: block; line-height: 0; }
.zl-landing img {
  width: 100%;
  height: auto;
  display: block;
}
.zl-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
}

/* Sabit alt buton */
.zl-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  z-index: 50;
}
.zl-sticky a {
  display: block;
  max-width: 688px;
  margin: 0 auto;
}

.zl-btn {
  display: inline-block;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.zl-btn:hover, .zl-btn:focus { background: var(--brand-dark); color: #fff; }

/* ---------- Form sayfası ---------- */
.zl-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.zl-back {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.zl-card {
  background: var(--card);
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
}
.zl-card h1 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.25;
}
.zl-card .zl-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.zl-field { margin-bottom: 16px; }
.zl-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 15px;
}
.zl-field label .opt { font-weight: 400; color: var(--muted); }
.zl-field input,
.zl-field select,
.zl-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px; /* iOS zoom engeli */
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
.zl-field textarea { min-height: 110px; resize: vertical; }
.zl-field select:disabled { background: #f4f4f5; color: var(--muted); }
.zl-field input:focus,
.zl-field select:focus,
.zl-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232,93,4,.15);
}
.zl-row { display: flex; gap: 12px; }
.zl-row .zl-field { flex: 1; min-width: 0; }
@media (max-width: 420px) {
  .zl-row { flex-direction: column; gap: 0; }
}

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

.zl-alert {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.5;
}
.zl-alert.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.zl-success { text-align: center; padding: 20px 0; }
.zl-success .icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 34px;
  line-height: 64px;
}
.zl-success h1 { font-size: 24px; margin-bottom: 8px; }
.zl-success p { color: var(--muted); line-height: 1.6; }
