/* =========================================================
   Körfez Gayrimenkul — site stilleri
   Tasarım: Neva Web Dijital
   ========================================================= */

:root {
  --ink: #15202B;
  --paper: #FBFAF7;
  --card: #FFFFFF;
  --sea: #0F4C5C;
  --sea-deep: #0A3542;
  --sea-light: #E4EEF0;
  --mand: #EF8F2E;
  --mand-soft: #FDEBD6;
  --line: #DCD9D2;
  --muted: #656B72;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'Figtree', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --shadow: 0 1px 2px rgba(21,32,43,.06), 0 8px 24px rgba(21,32,43,.08);
  --shadow-lg: 0 2px 6px rgba(21,32,43,.08), 0 24px 48px rgba(21,32,43,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--mand); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sea); color: #fff; }
.btn-primary:hover { background: var(--sea-deep); box-shadow: 0 8px 20px rgba(15,76,92,.28); }
.btn-accent { background: var(--mand); color: var(--ink); }
.btn-accent:hover { background: #f59e3f; box-shadow: 0 8px 20px rgba(239,143,46,.32); }
.btn-ghost { border: 1.5px solid var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--sea); }
.btn-light:hover { background: var(--sea-light); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 32px; height: 72px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; line-height: 1; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--sea); border-radius: 9px; flex-shrink: 0; }
.brand-mark svg { width: 20px; height: 20px; }
.brand small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; color: var(--ink); transition: background .15s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sea-light); color: var(--sea); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--sea); }
.header-phone svg { width: 16px; height: 16px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: transform .2s, top .2s; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; min-height: 640px; }
.hero-map {
  position: absolute; inset: 0; left: 36%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}
.hero-map svg { width: 100%; height: 100%; }
.hero-map .parcel { fill: none; stroke: var(--sea); stroke-opacity: .28; stroke-width: 1; }
.hero-map .road { fill: none; stroke: var(--sea); stroke-opacity: .55; stroke-width: 2.2; stroke-linecap: round; }
.hero-map .road.main { stroke-width: 4; stroke-opacity: .4; }
.hero-map .coast { fill: var(--sea-light); stroke: var(--sea); stroke-opacity: .5; stroke-width: 1.5; }
.hero-map .pnum { font-family: var(--font-mono); font-size: 9px; fill: var(--sea); fill-opacity: .6; }
.hero-map .parcel, .hero-map .road, .hero-map .coast { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s var(--ease) forwards; }
.hero-map .road { animation-delay: .4s; }
.hero-map .pnum { opacity: 0; animation: fade .6s 1.6s forwards; }
.pin { opacity: 0; transform-origin: center bottom; animation: pop .5s var(--ease) forwards; pointer-events: auto; }
#pins > g:nth-child(1) .pin { animation-delay: 1.3s; }
#pins > g:nth-child(2) .pin { animation-delay: 1.55s; }
#pins > g:nth-child(3) .pin { animation-delay: 1.8s; }
#pins > g:nth-child(4) .pin { animation-delay: 2.05s; }
.pin circle.dot { fill: var(--mand); stroke: #fff; stroke-width: 2.5; }
.pin circle.ring { fill: none; stroke: var(--mand); stroke-opacity: .5; animation: ring 2.4s ease-out infinite; }
.pin rect { fill: var(--ink); }
.pin text { font-family: var(--font-mono); font-size: 11px; font-weight: 500; fill: #fff; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; transform: translateY(10px) scale(.6); } 100% { opacity: 1; transform: none; } }
@keyframes ring { 0% { r: 6; opacity: .8; } 100% { r: 22; opacity: 0; } }

.hero .container { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--sea); margin-bottom: 22px; }
.hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--mand); }
.hero h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 600; max-width: 12ch; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--sea); font-variation-settings: 'wdth' 90; font-weight: 500; }
.hero-lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 48ch; }
.hero-lead strong { color: var(--ink); font-weight: 600; }

/* Search */
.search { margin-top: 36px; max-width: 780px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.search-tabs { display: flex; gap: 2px; padding: 8px 8px 0; }
.search-tabs button { padding: 10px 18px; border-radius: 10px 10px 0 0; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; }
.search-tabs button[aria-selected="true"] { color: var(--sea); border-bottom-color: var(--sea); background: var(--sea-light); }
.search-form { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 0; padding: 8px; border-top: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 3px; padding: 10px 16px; border-right: 1px solid var(--line); }
.field:last-of-type { border-right: 0; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field select, .field input { border: 0; background: transparent; padding: 0; font-weight: 500; width: 100%; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23656B72' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 20px; }
.field select:focus, .field input:focus { outline: none; }
.search-form .btn { align-self: center; margin: 4px; }
.search-hint { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.search-hint a { color: var(--sea); font-weight: 500; border-bottom: 1px solid transparent; }
.search-hint a:hover { border-bottom-color: var(--sea); }

/* ---------- Fiyat şeridi (ticker) ---------- */
.ticker { border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.ticker-inner { display: flex; align-items: center; }
.ticker-label { flex: 0 0 auto; padding: 14px 20px; border-right: 1px solid var(--line); color: var(--muted); display: flex; align-items: center; gap: 8px; background: #fff; z-index: 1; }
.ticker-label i { width: 7px; height: 7px; border-radius: 50%; background: #2AA66A; box-shadow: 0 0 0 3px rgba(42,166,106,.18); }
.ticker-track { display: flex; gap: 0; white-space: nowrap; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 28px; border-right: 1px solid var(--line); font-size: 14px; }
.ticker-item b { font-weight: 600; }
.ticker-item .mono { color: var(--muted); }
.ticker-item .up { color: #1E8A55; font-weight: 600; }
.ticker-item .down { color: #C44536; font-weight: 600; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Bölümler ---------- */
.section { padding: 96px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.02em; max-width: 18ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--sea); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--mand); }
.section-head p { color: var(--muted); max-width: 44ch; }
.section-head .btn { flex-shrink: 0; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; transition: all .15s; }
.chip:hover { border-color: var(--sea); color: var(--sea); }
.chip[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }

/* Listing cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, var(--sea-light), #c9dbe0); display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.tag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 6px; background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.tag.hot { background: var(--mand); color: var(--ink); }
.tag.rent { background: var(--sea); }
.fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .15s; }
.fav:hover { transform: scale(1.08); }
.fav svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; }
.fav[aria-pressed="true"] svg { fill: #E0432F; stroke: #E0432F; }
.card-body { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-price { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.card-price small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.card-title { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.35; }
.card-loc { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 5px; }
.card-loc svg { width: 14px; height: 14px; flex-shrink: 0; }
.card-specs { display: flex; gap: 14px; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 500; }
.card-specs li { display: flex; align-items: center; gap: 5px; }
.card-specs svg { width: 15px; height: 15px; color: var(--sea); }
.card-meta { margin-top: auto; padding-top: 10px; color: var(--muted); display: flex; justify-content: space-between; }

/* ---------- Süreç (gerçek sıralı adımlar) ---------- */
.process { background: var(--ink); color: #fff; }
.process .eyebrow, .process .section-head p { color: rgba(255,255,255,.65); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.step { padding: 36px 28px 36px 0; border-right: 1px solid rgba(255,255,255,.14); position: relative; }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--mand); letter-spacing: .1em; }
.step-time { position: absolute; top: 36px; right: 28px; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .06em; }
.step:last-child .step-time { right: 0; }
.step h3 { font-size: 24px; font-weight: 600; margin: 18px 0 12px; }
.step p { color: rgba(255,255,255,.7); font-size: 15px; }
.step-line { height: 2px; background: rgba(255,255,255,.14); margin-top: 28px; position: relative; overflow: hidden; }
.step-line::after { content: ''; position: absolute; inset: 0; background: var(--mand); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.in-view .step:nth-child(1) .step-line::after { transform: scaleX(1); transition-delay: .1s; }
.in-view .step:nth-child(2) .step-line::after { transform: scaleX(1); transition-delay: .5s; }
.in-view .step:nth-child(3) .step-line::after { transform: scaleX(1); transition-delay: .9s; }
.in-view .step:nth-child(4) .step-line::after { transform: scaleX(1); transition-delay: 1.3s; }

/* ---------- Bölgeler ---------- */
.areas { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 240px; }
.area { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--sea), var(--sea-deep)); color: #fff; display: block; }
.area:first-child { grid-row: span 2; }
.area img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .7s var(--ease), opacity .3s; }
.area:hover img { transform: scale(1.04); opacity: .95; }
.area::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,30,40,.85)); }
.area-body { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.area h3 { font-size: 22px; font-weight: 600; }
.area:first-child h3 { font-size: 32px; }
.area p { font-size: 13px; opacity: .8; margin-top: 4px; }
.area .mono { padding: 6px 10px; background: rgba(255,255,255,.14); border-radius: 6px; white-space: nowrap; backdrop-filter: blur(6px); }

/* ---------- Değerleme bandı ---------- */
.valuation { background: var(--sea); color: #fff; position: relative; overflow: hidden; }
.valuation::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M0 40h50v80M50 40l70-20M50 70h70' fill='none' stroke='%23ffffff' stroke-opacity='.08'/%3E%3C/svg%3E"); }
.valuation .container { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.valuation h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -.02em; }
.valuation .lead { margin-top: 18px; color: rgba(255,255,255,.78); font-size: 17px; max-width: 44ch; }
.valuation ul.checks { margin-top: 24px; display: grid; gap: 10px; }
.valuation ul.checks li { display: flex; gap: 10px; align-items: start; font-size: 15px; }
.valuation ul.checks svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--mand); }
.val-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); }
.val-form h3 { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.val-form > p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.input { display: flex; flex-direction: column; gap: 6px; }
.input label { font-size: 13px; font-weight: 600; }
.input input, .input select, .input textarea { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s; }
.input input:focus, .input select:focus, .input textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(15,76,92,.15); }
.input select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23656B72' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.form-success { display: none; padding: 20px; border-radius: 12px; background: var(--sea-light); color: var(--sea); font-weight: 500; }
.form-success.show { display: block; }

/* ---------- Danışmanlar ---------- */
.agent-photo { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #d8e3e6, var(--sea-light)); position: relative; }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: filter .3s, transform .6s var(--ease); }
.agent:hover .agent-photo img { filter: saturate(1); transform: scale(1.03); }
.agent-area { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; background: rgba(255,255,255,.92); border-radius: 6px; color: var(--sea); }
.agent h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin-top: 16px; }
.agent p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.agent-actions { display: flex; gap: 8px; margin-top: 12px; }
.agent-actions a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--sea); padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 999px; transition: all .15s; }
.agent-actions a:hover { border-color: var(--sea); background: var(--sea-light); }
.agent-actions svg { width: 14px; height: 14px; }

/* ---------- Yorumlar ---------- */
.testimonials { background: #fff; border-block: 1px solid var(--line); }
.quote { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); display: flex; flex-direction: column; gap: 20px; }
.quote-mark { font-family: var(--font-display); font-size: 56px; line-height: .6; color: var(--mand); font-weight: 700; }
.quote p { font-size: 17px; line-height: 1.6; flex: 1; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.quote footer b { display: block; font-weight: 600; }
.quote footer span { color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sea); color: #fff; display: grid; place-items: center; font-weight: 600; font-family: var(--font-display); flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255,255,255,.5); }
.footer-about { margin-top: 16px; font-size: 15px; max-width: 36ch; }
.footer-cert { margin-top: 20px; display: inline-flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; font-size: 13px; }
.footer-cert .mono { color: var(--mand); }
.site-footer h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; font-size: 15px; }
.site-footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--mand); margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* =========================================================
   İlanlar sayfası
   ========================================================= */
.page-head { padding: 48px 0 28px; border-bottom: 1px solid var(--line); background: #fff; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--sea); }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -.02em; }
.page-head h1 span { color: var(--muted); font-weight: 400; }
.listing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 40px 0 96px; align-items: start; }
.filters { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters h2 { font-family: var(--font-body); font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.filters h2 button { font-size: 13px; color: var(--sea); font-weight: 500; }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; padding-bottom: 0; }
.filter-group > h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--sea); margin: 0; }
.check span.count { margin-left: auto; color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button { padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: #fff; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range input { padding: 9px 10px; border: 1.5px solid var(--line); border-radius: 8px; width: 100%; font-size: 14px; }
.range input:focus { outline: none; border-color: var(--sea); }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.results-bar p { color: var(--muted); font-size: 14px; }
.results-bar p b { color: var(--ink); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sort select { padding: 8px 32px 8px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23656B72' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.filters-toggle { display: none; }
.empty { grid-column: 1 / -1; padding: 56px 24px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 500; font-size: 14px; }
.pagination [aria-current] { background: var(--sea); border-color: var(--sea); color: #fff; }
.pagination a:hover { border-color: var(--sea); }

/* =========================================================
   İlan detay
   ========================================================= */
.detail-head { padding: 28px 0 20px; }
.detail-title { display: flex; justify-content: space-between; gap: 24px; align-items: end; flex-wrap: wrap; margin-bottom: 24px; }
.detail-title h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.02em; max-width: 24ch; }
.detail-title .card-loc { margin-top: 8px; font-size: 15px; }
.detail-price { text-align: right; }
.detail-price .card-price { font-size: 38px; }
.detail-price .mono { color: var(--muted); margin-top: 4px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 10px; border-radius: 18px; overflow: hidden; }
.gallery figure { position: relative; margin: 0; overflow: hidden; background: var(--sea-light); display: block; cursor: pointer; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery-count { position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; background: rgba(21,32,43,.85); color: #fff; border-radius: 8px; font-size: 13px; font-weight: 500; backdrop-filter: blur(6px); }
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 48px; padding: 40px 0 96px; align-items: start; }
.detail-main > section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.detail-main > section:first-child { padding-top: 0; }
.detail-main h2 { font-size: 24px; font-weight: 600; margin-bottom: 20px; }
.key-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.fact .mono { color: var(--muted); }
.fact b { display: block; font-size: 18px; font-weight: 600; margin-top: 6px; }
.specs-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.specs-table div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.specs-table span { color: var(--muted); }
.specs-table b { font-weight: 600; text-align: right; }
.prose p { margin-bottom: 14px; font-size: 16px; line-height: 1.7; color: #2b343c; }
.features { display: flex; flex-wrap: wrap; gap: 8px; }
.features li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.features svg { width: 15px; height: 15px; color: var(--sea); }
.loc-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; aspect-ratio: 16/8; position: relative; }
.loc-map svg { width: 100%; height: 100%; }
.loc-map .parcel { fill: none; stroke: var(--sea); stroke-opacity: .25; }
.loc-map .road { fill: none; stroke: var(--sea); stroke-opacity: .5; stroke-width: 2; }
.loc-map .here { fill: var(--mand); fill-opacity: .25; stroke: var(--mand); stroke-width: 2; }
.loc-map .pnum { font-family: var(--font-mono); font-size: 9px; fill: var(--sea); fill-opacity: .6; }
.loc-note { position: absolute; left: 14px; bottom: 14px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; box-shadow: var(--shadow); }
.loc-note b { display: block; font-weight: 600; }
.nearby { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.nearby li { display: flex; justify-content: space-between; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.nearby span { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.detail-side { position: sticky; top: 92px; display: grid; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.side-agent { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.side-agent img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--sea-light); }
.side-agent b { display: block; font-weight: 600; }
.side-agent span { font-size: 13px; color: var(--muted); }
.side-card .btn + .btn { margin-top: 8px; }
.side-card form { display: grid; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.side-meta { font-size: 13px; color: var(--muted); display: grid; gap: 8px; }
.side-meta div { display: flex; justify-content: space-between; }
.side-meta b { color: var(--ink); font-weight: 500; }
.mobile-cta { display: none; }

/* =========================================================
   Hareket azaltma
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-map .parcel, .hero-map .road, .hero-map .coast { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .hero-map .pnum, .pin { opacity: 1; animation: none; }
  .pin circle.ring { animation: none; opacity: 0; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .step-line::after { transition: none; }
  .card, .card-media img, .area img, .btn { transition: none; }
}

/* =========================================================
   Duyarlılık
   ========================================================= */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid rgba(255,255,255,.14); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(2n) .step-time { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .key-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open .nav { display: flex; flex-direction: column; position: absolute; top: 72px; left: -20px; right: -20px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px; box-shadow: var(--shadow); margin: 0; }
  .nav-open .nav a { padding: 12px; font-size: 17px; }
  .hero { padding: 48px 0 40px; min-height: 0; }
  .hero-map { left: 0; top: auto; height: 60%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%); mask-image: linear-gradient(180deg, transparent 0%, #000 40%); opacity: .55; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .field { border-right: 0; border-bottom: 1px solid var(--line); }
  .field:nth-child(odd) { border-right: 1px solid var(--line); }
  .search-form .btn { grid-column: 1 / -1; margin: 8px 4px 4px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .area:first-child { grid-column: span 2; }
  .valuation .container { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .listing-layout { grid-template-columns: 1fr; gap: 20px; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .detail-side { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:nth-child(n+4) { display: none; }
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); gap: 10px; box-shadow: 0 -8px 24px rgba(21,32,43,.08); }
  .mobile-cta .btn { flex: 1; }
  body.has-mobile-cta { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .site-header .container { height: 64px; }
  .nav-open .nav { top: 64px; left: -16px; right: -16px; }
  .hero h1 { font-size: 40px; }
  .section-head { flex-direction: column; align-items: start; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .area:first-child { grid-column: auto; grid-row: auto; }
  .process-steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding-right: 0; }
  .step + .step { padding-left: 0; }
  .step-time { right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .specs-table { grid-template-columns: 1fr; }
  .nearby { grid-template-columns: 1fr; }
  .detail-price { text-align: left; }
  .key-facts { grid-template-columns: 1fr 1fr; }
  .search-hint { font-size: 13px; }
}
