/* =====================================================================
   ImmobiVista — Ortak stiller
   Modern / minimal. Roma emlak + 360° sanal tur.
   Palette: mürekkep lacivert (#1B2A4A), kiremit aksan (#C4563B),
            kemik beyazı zemin (#FAF8F4), sıcak gri metin.
   Type: Fraunces (display, karakterli serif) + Inter (gövde).
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #1B2A4A;
  --ink-soft: #3A4A6B;
  --tile: #C4563B;
  --tile-dark: #A8472F;
  --bone: #FAF8F4;
  --bone-2: #F2EEE6;
  --line: #E2DCD0;
  --text: #2A2A28;
  --text-soft: #6B6960;
  --white: #FFFFFF;
  --ok: #2E7D58;
  --warn: #B5532A;
  --err: #B23A3A;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(27,42,74,.04), 0 8px 24px rgba(27,42,74,.06);
  --shadow-lg: 0 4px 12px rgba(27,42,74,.08), 0 16px 48px rgba(27,42,74,.10);
  --maxw: 1120px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Tipografi ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tile); }

/* ---- Butonlar ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 13px 26px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: all .18s ease; white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-1px); }
.btn-tile { background: var(--tile); color: var(--white); }
.btn-tile:hover { background: var(--tile-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---- Form alanları ---- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.input, textarea.input {
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .15s, box-shadow .15s; width: 100%;
}
.input:focus, textarea.input:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(27,42,74,.10);
}
textarea.input { resize: vertical; min-height: 110px; }

/* ---- Bildirim kutusu ---- */
.notice { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin: 12px 0; display: none; }
.notice.show { display: block; }
.notice-ok { background: #E8F3EC; color: var(--ok); border: 1px solid #BFE0CC; }
.notice-err { background: #F8EAEA; color: var(--err); border: 1px solid #E8C5C5; }
.notice-info { background: var(--bone-2); color: var(--ink-soft); border: 1px solid var(--line); }

/* ---- Header (üst bar) ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250,248,244,.85);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); }
.logo .mark {
  width: 30px; height: 30px; border-radius: 7px; background: var(--ink);
  display: grid; place-items: center; color: var(--white); font-size: 15px; flex-shrink: 0;
}
.logo .mark span { display: block; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 80px; color: var(--text-soft); font-size: 14px; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---- Genel yardımcılar ---- */
.center { text-align: center; }
.muted { color: var(--text-soft); }
.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
