/* Ümit Kolca Emlak — site stilleri
   Sanat yönü: Ege kireçtaşı ve kum tonu zemin, zeytin yeşili vurgu,
   Newsreader serif başlıklar + Hanken Grotesk metin. Fotoğraf öncelikli, sakin. */

:root {
  --p-bg: #ddd6c6; --p-surface: #d2cab8; --p-ink: #2a2a26; --p-muted: #3f3d37;
  --p-accent: #4f6238; --p-accent-ink: #ffffff; --p-action: #4f6238; --p-action-ink: #ffffff;
  --p-inv-bg: #2a2a26; --p-inv-surface: #353430; --p-inv-ink: #ddd6c6; --p-inv-muted: #bdb8ab;
  --p-paper: #e8e2d6;
  --p-line: rgba(42, 42, 38, .16);
  --p-line-strong: rgba(42, 42, 38, .32);
  --wa: #1f7a4d;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-s: 6px; --r-m: 10px; --r-l: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--p-bg); color: var(--p-ink);
  font-family: var(--font-text); font-size: 17px; line-height: 1.6;
  font-feature-settings: "kern"; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.018em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.9rem); letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.2; }
p { margin: 0; }
.muted { color: var(--p-muted); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Odak halkası: her zaman görünür, klavye için */
:focus-visible { outline: 3px solid var(--p-accent); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--p-ink); color: var(--p-bg);
  padding: 12px 18px; border-radius: var(--r-s); text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-s);
  font-weight: 500; font-size: 16px; text-decoration: none; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, border-color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--p-action); color: var(--p-action-ink); }
.btn-primary:hover { background: #435431; box-shadow: 0 6px 18px -8px rgba(42,42,38,.5); }
.btn-ghost { background: transparent; border-color: var(--p-line-strong); color: var(--p-ink); }
.btn-ghost:hover { border-color: var(--p-ink); background: rgba(255,255,255,.18); }
.btn-ghost-inv { color: var(--p-inv-ink); border-color: rgba(221,214,198,.4); }
.btn-ghost-inv:hover { border-color: var(--p-inv-ink); background: rgba(221,214,198,.08); }
.btn-inv { background: var(--p-inv-ink); color: var(--p-ink); }
.btn-inv:hover { background: #fff; }

.link {
  text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: .4em;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .25s var(--ease); padding-block: 10px;
}
.link:hover { background-size: 100% 1px; }

/* ---------- Başlık / Navigasyon ---------- */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(221, 214, 198, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  isolation: isolate;
  border-bottom: 1px solid var(--p-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; letter-spacing: -0.01em; }
.brand-name small { display: block; font-family: var(--font-text); font-size: .72rem; letter-spacing: .02em; color: var(--p-muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  text-decoration: none; padding: 10px 12px; border-radius: var(--r-s); font-size: 15.5px; font-weight: 500; color: var(--p-ink);
  transition: background-color .15s;
}
.nav a:not(.btn):hover { background: rgba(42,42,38,.07); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.nav .btn { margin-left: 10px; min-height: 44px; padding: 10px 18px; font-size: 15px; }
.menu-btn {
  display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 12px;
  background: transparent; border: 1px solid var(--p-line-strong); border-radius: var(--r-s); cursor: pointer; font-weight: 500;
}
.menu-btn .bars { width: 18px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s var(--ease), top .2s; }
.menu-btn .bars::before { top: 1px; } .menu-btn .bars::after { top: 9px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--p-bg); flex-direction: column; align-items: stretch;
    padding: 24px var(--gutter) 40px; gap: 0; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s var(--ease), visibility 0s linear .2s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s var(--ease), visibility 0s; }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; padding: 14px 0; border-bottom: 1px solid var(--p-line); border-radius: 0; }
  .nav .btn { margin: 28px 0 0; min-height: 52px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Bölümler ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--p-muted); max-width: 46ch; }
.section-head .head-action { justify-self: end; }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--p-accent); margin-bottom: 14px; display: block; }
.band-dark { background: var(--p-inv-bg); color: var(--p-inv-ink); }
.band-dark .muted, .band-dark .section-head p { color: var(--p-inv-muted); }
.band-dark .eyebrow { color: #b9c59f; }
.band-paper { background: var(--p-paper); }
@media (max-width: 800px) {
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head .head-action { justify-self: start; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 88px); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 44ch; color: #3b3a35; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--p-line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--p-muted); }
.hero-meta strong { color: var(--p-ink); font-weight: 500; }
.hero-photo { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--p-surface); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { aspect-ratio: 4 / 3.2; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
}

/* Hero girişi (bir kez, yüklemede) */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] > * { animation: enter-up .9s var(--ease) both; }
  [data-enter] > *:nth-child(2) { animation-delay: .08s; }
  [data-enter] > *:nth-child(3) { animation-delay: .16s; }
  [data-enter] > *:nth-child(4) { animation-delay: .24s; }
  [data-enter] > *:nth-child(5) { animation-delay: .32s; }
  .hero-photo { animation: enter-photo 1.2s var(--ease) both .1s; }
  .hero-photo img { animation: enter-zoom 1.6s var(--ease) both .1s; }
}
@keyframes enter-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes enter-photo { from { clip-path: inset(8% 0 0 0 round 14px); opacity: 0; } to { clip-path: inset(0 0 0 0 round 14px); opacity: 1; } }
@keyframes enter-zoom { from { transform: scale(1.08); } to { transform: none; } }

/* ---------- Rozet ve yer tutucu ---------- */
.badge { white-space: nowrap; flex: none;
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
  padding: 5px 10px; border-radius: 999px; background: #f4efe4; color: #6a4b12; border: 1px solid #c9a865;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b0812a; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--p-ink); color: var(--p-bg); }
.tag.kiralik { background: var(--p-accent); color: #fff; }

.slot {
  border: 1.5px dashed #a8946a; border-radius: var(--r-m); background: repeating-linear-gradient(135deg, rgba(255,255,255,.22) 0 12px, transparent 12px 24px);
  padding: 18px 20px; color: #5d5032;
}
.slot-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; text-transform: none; color: #6a4b12; margin-bottom: 6px; }
.slot-label::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px dashed #a8946a; }
.slot p { font-size: 15px; }

.sample-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--p-muted); margin-bottom: 28px; max-width: 70ch; }

/* ---------- İlan kartları ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--p-paper); border-radius: var(--r-l); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(42,42,38,.55); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--p-surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-specs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14.5px; color: var(--p-muted); }
.card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--p-line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.price { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em; }
.price small { font-family: var(--font-text); font-size: 14px; color: var(--p-muted); }
.code { font-size: 13px; color: var(--p-muted); }

/* ---------- Bölgeler ---------- */
.regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.region figure { margin: 0 0 22px; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--p-surface); }
.region img { width: 100%; height: 100%; object-fit: cover; }
.region h3 { margin-bottom: 10px; font-size: clamp(1.6rem, 2.2vw, 2rem); }
.region p { color: var(--p-muted); font-size: 16px; }
.region .link { margin-top: 10px; }
@media (max-width: 860px) {
  .regions { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .region { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; align-items: start; }
  .region figure { margin: 0; aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) {
  .region { grid-template-columns: minmax(0, 1fr); }
  .region figure { aspect-ratio: 4 / 3; }
}
/* Bölüm anı: fotoğraflar görünür olunca netleşir (yalnızca bu bölümde) */
@media (prefers-reduced-motion: no-preference) {
  .js .regions[data-develop] img { transform: scale(1.06); filter: saturate(.55) brightness(1.06); transition: transform 1.4s var(--ease), filter 1.4s var(--ease); }
  .js .regions[data-develop].in img { transform: none; filter: none; }
  .js .regions[data-develop].in .region:nth-child(2) img { transition-delay: .12s; }
  .js .regions[data-develop].in .region:nth-child(3) img { transition-delay: .24s; }
}

/* ---------- Hizmetler ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--p-line); }
.service { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--p-line); }
.service:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--p-line); }
.service-ico { width: 40px; height: 40px; color: var(--p-accent); margin-bottom: 18px; }
.service h3 { font-size: 1.45rem; margin-bottom: 10px; }
.service p { color: var(--p-muted); font-size: 16px; }
@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .service:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--p-line); }
}
@media (max-width: 600px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .service:nth-child(even) { padding-left: 0; border-left: 0; }
  .service { padding-right: 0; }
}

/* ---------- Adımlar ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); counter-reset: step; }
.step { border-top: 1px solid rgba(221,214,198,.25); padding-top: 22px; }
.step-num { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: #b9c59f; display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--p-inv-muted); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hakkımda ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.portrait-slot { aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; }
.portrait-slot svg { width: 72px; height: 72px; color: #a8946a; margin-bottom: auto; }
.about-text h2 { margin-bottom: 20px; }
.about-text > p { font-size: 1.12rem; max-width: 52ch; margin-bottom: 24px; }
.about-slots { display: grid; gap: 14px; margin-bottom: 28px; }
@media (max-width: 860px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .portrait-slot { aspect-ratio: 16 / 10; max-width: 520px; }
}

/* ---------- SSS ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); }
.faq-head p { color: var(--p-muted); margin-top: 16px; }
.faq-list { border-top: 1px solid var(--p-line); }
.faq-list details { border-bottom: 1px solid var(--p-line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.3; min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-list summary:hover { color: var(--p-accent); }
.faq-answer { padding: 0 0 24px; max-width: 64ch; color: #3b3a35; }
.faq-answer p + p { margin-top: 10px; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- İletişim bloğu ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact h2 { margin-bottom: 18px; }
.contact-lead { font-size: 1.12rem; color: var(--p-inv-muted); max-width: 46ch; margin-bottom: 30px; }
.wa-number { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -0.02em; text-decoration: none; margin-bottom: 26px; line-height: 1.05; }
.wa-number:hover { color: #fff; }
.contact-slots { display: grid; gap: 14px; }
.band-dark .slot { border-color: #7d7360; color: #cfc6b2; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px); }
.band-dark .slot-label { color: #e0c88e; }
.band-dark .slot-label::before { border-color: #7d7360; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Altbilgi ---------- */
.site-footer { background: var(--p-inv-bg); color: var(--p-inv-ink); border-top: 1px solid rgba(221,214,198,.14); padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 32px; }
.site-footer .brand-name small { color: var(--p-inv-muted); }
.site-footer h2 { font-family: var(--font-text); font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--p-inv-muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { text-decoration: none; display: inline-block; padding: 8px 0; min-height: 44px; }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-desc { color: var(--p-inv-muted); margin-top: 16px; max-width: 40ch; font-size: 15.5px; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(221,214,198,.14); font-size: 13.5px; color: var(--p-inv-muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-legal a { color: inherit; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Mobil WhatsApp çubuğu ---------- */
.wa-bar { display: none; }
@media (max-width: 760px) {
  .wa-bar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
    min-height: 52px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; align-items: center; justify-content: center; gap: 10px;
    font-weight: 600; box-shadow: 0 10px 28px -10px rgba(0,0,0,.55); transition: transform .25s var(--ease), opacity .25s;
  }
  .wa-bar svg { width: 22px; height: 22px; }
  .wa-bar.hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  body { padding-bottom: 80px; }
}

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-head { padding-block: clamp(44px, 6vw, 80px) clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); margin-bottom: 16px; }
.page-head p { color: var(--p-muted); max-width: 56ch; font-size: 1.08rem; }
.crumbs { font-size: 14px; color: var(--p-muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; padding-block: 12px; } .crumbs a:hover { text-decoration: underline; }

/* ---------- Filtreler ---------- */
.listings-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; padding-bottom: clamp(72px, 9vw, 120px); }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: var(--p-paper); border-radius: var(--r-l); padding: 22px; }
.filters h2 { font-family: var(--font-text); font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-size: 14px; font-weight: 500; }
.input, select.input, textarea.input {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--p-line-strong); border-radius: var(--r-s);
  background: rgba(255,255,255,.55); transition: border-color .15s, background-color .15s;
}
.input:hover { border-color: var(--p-ink); }
.input:focus-visible { outline-offset: 1px; background: #fff; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232a2a26' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
textarea.input { min-height: 130px; resize: vertical; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--p-line-strong); border-radius: var(--r-s); overflow: hidden; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 11px 4px; cursor: pointer; font-size: 14.5px; font-weight: 500; min-height: 44px; display: flex; align-items: center; justify-content: center; transition: background-color .15s; }
.seg label + input + label, .seg input + label ~ label { border-left: 1px solid var(--p-line-strong); }
.seg label:hover { background: rgba(42,42,38,.06); }
.seg input:checked + label { background: var(--p-ink); color: var(--p-bg); }
.seg input:focus-visible + label { outline: 3px solid var(--p-accent); outline-offset: -3px; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.filters .btn { width: 100%; margin-top: 4px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.results-bar .field { margin: 0; flex-direction: row; align-items: center; gap: 10px; }
.results-bar select.input { width: auto; min-width: 200px; }
.results-count { font-weight: 500; }
.filter-toggle { display: none; }
.empty { padding: clamp(32px, 5vw, 56px); border-radius: var(--r-l); background: var(--p-paper); text-align: left; }
.empty h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.empty p { color: var(--p-muted); margin-bottom: 22px; max-width: 50ch; }
.empty .hero-actions { gap: 10px; }
.listings .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1200px) { .listings .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .listings-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .listings .cards { grid-template-columns: minmax(0, 1fr); }
  .results-bar .field { width: 100%; }
  .results-bar select.input { flex: 1; min-width: 0; }
}

/* ---------- İlan detayı ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(72px, 9vw, 120px); }
.gallery-main { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--p-surface); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .card-tags { top: 16px; left: 16px; right: 16px; }
.gallery-nav { position: absolute; inset: auto 12px 12px auto; display: flex; gap: 8px; }
.gallery-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(42,42,38,.72); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .15s, transform .15s; }
.gallery-nav button:hover { background: rgba(42,42,38,.9); transform: translateY(-1px); }
.gallery-nav svg { width: 18px; height: 18px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--r-s); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--p-surface); }
.thumbs button[aria-current="true"] { border-color: var(--p-ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.thumbs button:hover img { transform: scale(1.03); }
.detail-aside { position: sticky; top: calc(var(--header-h) + 20px); background: var(--p-paper); border-radius: var(--r-l); padding: clamp(22px, 2.4vw, 30px); }
.detail-aside .price { font-size: 2.1rem; display: block; margin: 6px 0 4px; }
.detail-aside .btn { width: 100%; margin-top: 20px; }
.detail-aside .note { font-size: 14px; color: var(--p-muted); margin-top: 14px; }
.wa-btn { background: var(--wa); color: #fff; }
.wa-btn:hover { background: #18683f; box-shadow: 0 6px 18px -8px rgba(0,0,0,.5); }
.specs { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15.5px; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--p-line); vertical-align: top; }
.specs th { font-weight: 500; color: var(--p-muted); width: 46%; padding-right: 12px; }
.detail-body { margin-top: clamp(32px, 4vw, 48px); }
.detail-body h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 14px; }
.detail-body p { max-width: 64ch; margin-bottom: 12px; }
@media (max-width: 900px) {
  .detail { grid-template-columns: minmax(0, 1fr); }
  .detail-aside { position: static; }
}

/* ---------- İletişim sayfası ---------- */
.contact-page { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(72px, 9vw, 120px); }
.form-card { background: var(--p-paper); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); }
.form-card h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 8px; }
.form-card > p { color: var(--p-muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.req { color: #8a3b1c; }
.error { font-size: 14px; color: #8a2f12; min-height: 0; }
.error:empty { display: none; }
.input[aria-invalid="true"] { border-color: #8a2f12; background: #fbf1ec; }
.form-note { font-size: 14px; color: var(--p-muted); margin-top: 14px; }
.side-card { border-radius: var(--r-l); padding: clamp(22px, 3vw, 32px); background: var(--p-inv-bg); color: var(--p-inv-ink); margin-bottom: 20px; }
.side-card h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 10px; }
.side-card p { color: var(--p-inv-muted); margin-bottom: 18px; }
.side-card .wa-number { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.side-slots { display: grid; gap: 14px; }
.map-slot { aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: flex-end; }
@media (max-width: 900px) { .contact-page { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .form-card .btn { width: 100%; } }

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

/* Kart odak halkası: başlık bağlantısı tüm kartı kapladığı için halka kartın çevresine çizilir */
.card-title a:focus-visible { outline: 3px solid var(--p-accent); outline-offset: 2px; }
.card:focus-within { outline: 3px solid var(--p-accent); outline-offset: 3px; }
.input { min-width: 0; max-width: 100%; }
.wa-number { padding-block: 6px; overflow-wrap: anywhere; }
.band-dark :focus-visible, .site-footer :focus-visible, .side-card :focus-visible { outline-color: #e0c88e; }
@media (max-width: 760px) { html { scroll-padding-bottom: 100px; } }
.region figure { position: relative; }
.photo-badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
