/* ==========================================================================
   Emlak Sitesi - Ana stil dosyası
   Renkler :root içinde, vurgu ve koyu renk yönetim panelinden değiştirilebilir.
   ========================================================================== */

/* Yazı tipleri (yerel, Google Fonts'a bağlanmaz) */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(../fonts/sourcesans3-latin-ext.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url(../fonts/sourcesans3-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600 700; font-display: swap;
    src: url(../fonts/playfair-latin-ext.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600 700; font-display: swap;
    src: url(../fonts/playfair-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --accent: #c8783a;
    --dark: #1d2b36;
    --text: #2a3540;
    --muted: #6b7680;
    --line: #e4e1dc;
    --bg-soft: #f6f4f0;
    --white: #fff;
    --success: #2e7d4f;
    --danger: #b3261e;
    --radius: 6px;
    --shadow: 0 2px 14px rgba(20, 30, 40, .07);
    --font: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Playfair Display", Georgia, serif;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--dark); }
h1, h2 { font-family: var(--font-head); font-weight: 700; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--accent); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--dark); }
.btn-whatsapp { background: #25a35a; color: #fff; }
.btn-whatsapp:hover { background: #1c8447; color: #fff; }

/* ---------- Üst bar ve menü ---------- */
.topbar { background: var(--dark); color: rgba(255,255,255,.75); font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact a, .topbar-contact span { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social .icon { color: rgba(255,255,255,.75); }
.topbar-social a:hover .icon { color: #fff; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 46px; height: 46px; flex-shrink: 0; }
.logo-text { font-family: var(--font); font-size: 24px; font-weight: 700; color: var(--dark); line-height: 1.05; letter-spacing: -.2px; }
.logo-text small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: .3px; }
.logo:hover .logo-text { color: var(--dark); }
.logo-light .logo-text { color: #fff; }
.logo-img { max-height: 56px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav ul a { font-weight: 600; font-size: 15px; padding: 28px 0; position: relative; }
.main-nav ul a.active, .main-nav ul a:hover { color: var(--accent); }
.main-nav ul a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; padding: 6px; color: var(--dark); }
.nav-toggle .icon { width: 28px; height: 28px; }

/* ---------- Uyarılar ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius); margin: 16px 0; font-size: 15px; }
.alert-success { background: #e8f4ec; border: 1px solid #b9dcc6; color: #1e5c38; }
.alert-error { background: #fdecea; border: 1px solid #f3c1bb; color: #8a1c14; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,22,30,.78) 0%, rgba(15,22,30,.45) 60%, rgba(15,22,30,.25) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.hero h1 { color: #fff; font-size: 52px; max-width: 680px; margin-bottom: 16px; }
.hero p { font-size: 19px; max-width: 600px; color: rgba(255,255,255,.88); margin-bottom: 36px; }

.search-box { background: #fff; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.2); color: var(--text); max-width: 1040px; }
.search-tabs { display: flex; border-bottom: 1px solid var(--line); }
.search-tabs label { padding: 14px 24px; font-weight: 600; cursor: pointer; position: relative; color: var(--muted); }
.search-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.search-tabs label:has(input:checked) { color: var(--dark); }
.search-tabs label:has(input:checked)::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; background: var(--accent); }
.search-fields { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; padding: 20px; align-items: end; }
.search-fields .btn { height: 46px; padding: 0 30px; }

/* ---------- Form alanları ---------- */
.field { display: block; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px; }
.field input, .field select, .field textarea {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #d5d9dd;
    border-radius: var(--radius);
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: var(--text);
}
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,120,58,.15); }
.field-row { display: flex; gap: 8px; }
.field-row { flex-wrap: wrap; }
.field-row input { min-width: 0; flex: 1 1 0; }
.field .field-row .currency-select { flex: 1 0 100%; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.field-full { grid-column: 1 / -1; }
.message-form.compact .form-grid { grid-template-columns: 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 16px; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--accent); }
.check a { color: var(--accent); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Bölümler ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 40px 0 70px; }
.section-muted { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; gap: 20px; }
.section-head.center { display: block; text-align: center; }
.section-head h2 { font-size: 36px; margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.link-more:hover { color: var(--dark); }
.tab-links { display: flex; gap: 8px; }
.tab-links a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 30px; font-weight: 600; font-size: 14px; }
.tab-links a:hover { border-color: var(--accent); }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- İlan kartı ---------- */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.listing-card { transition: transform .25s, box-shadow .25s; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(20,30,40,.12); }
.card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e6eaee; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.listing-card:hover .card-media img { transform: scale(1.05); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 3px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #fff; }
.card-media .badge { position: absolute; top: 14px; left: 14px; }
.card-media .badge-featured { left: auto; right: 14px; background: var(--dark); }
.badge-satilik { background: var(--accent); }
.badge-kiralik { background: #2f6f8f; }
.badge-light { background: var(--bg-soft); color: var(--dark); }
.badge-sold { background: var(--danger); }
.sold-ribbon { position: absolute; inset: auto 0 0 0; background: rgba(179,38,30,.9); color: #fff; text-align: center; font-weight: 700; padding: 6px; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.card-body { padding: 20px 20px 14px; flex: 1; }
.card-price { font-size: 22px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.card-price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.card-title { font-family: var(--font); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card-location { margin: 0; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 5px; }
.card-location .icon { width: 15px; height: 15px; }
.card-meta { list-style: none; margin: 0; padding: 12px 20px; border-top: 1px solid var(--line); display: flex; gap: 18px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.card-meta li { display: flex; align-items: center; gap: 6px; }
.card-meta .icon { width: 16px; height: 16px; color: var(--dark); }

/* ---------- Kategoriler ---------- */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.category-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: border-color .2s, box-shadow .2s; }
.category-item .icon { width: 38px; height: 38px; color: var(--accent); margin-bottom: 10px; }
.category-item strong { color: var(--dark); font-size: 16px; }
.category-item span { font-size: 14px; color: var(--muted); }
.category-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }

/* ---------- Hakkımızda bölümü ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.about-badge { position: absolute; right: -20px; bottom: -20px; background: var(--accent); color: #fff; padding: 20px 26px; border-radius: var(--radius); display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.about-badge strong { font-size: 46px; font-weight: 700; line-height: 1; }
.about-badge span { font-size: 14px; line-height: 1.3; }
.about-text h2 { font-size: 36px; }
.why-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 14px; }
.why-list .icon { width: 42px; height: 42px; padding: 10px; background: var(--bg-soft); border-radius: 50%; color: var(--accent); }
.why-list strong { display: block; color: var(--dark); }
.why-list span { font-size: 15px; color: var(--muted); }

.stats-band { background: var(--dark); color: #fff; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stats-grid strong { display: block; font-size: 44px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.stats-grid span { color: rgba(255,255,255,.75); }

/* ---------- Danışman kartları ---------- */
.agent-card .agent-photo { aspect-ratio: 6 / 7; overflow: hidden; background: #e6eaee; }
.agent-card .agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-info { padding: 18px 20px 20px; text-align: center; }
.agent-info h3 { font-family: var(--font); font-size: 19px; margin-bottom: 2px; }
.agent-title { display: block; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.agent-links { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.agent-links a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); color: var(--dark); }
.agent-links a:hover { background: var(--accent); color: #fff; }
.agent-listings { font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.agent-listings .icon { width: 15px; height: 15px; }

.agent-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.agent-row { flex-direction: row; }
.agent-row-photo { width: 220px; flex-shrink: 0; }
.agent-row-photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-row-body { padding: 24px; }
.agent-row-body h2 { font-family: var(--font); font-size: 22px; margin-bottom: 2px; }
.agent-row-body p { font-size: 15px; color: var(--muted); }
.agent-contact { list-style: none; padding: 0; margin: 0 0 16px; font-size: 15px; display: grid; gap: 4px; }
.agent-contact .icon { width: 15px; height: 15px; color: var(--accent); }
.agent-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Müşteri yorumları ---------- */
.testimonial { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; display: flex; flex-direction: column; }
.testimonial .quote-mark { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; color: var(--bg-soft); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars .icon { width: 17px; height: 17px; color: var(--line); }
.stars .icon.on { color: #e0a82e; }
.testimonial blockquote { margin: 0 0 20px; color: #3f4a54; font-size: 16px; flex: 1; }
.testimonial figcaption strong { display: block; color: var(--dark); }
.testimonial figcaption span { font-size: 14px; color: var(--muted); }

/* ---------- Çerez bildirimi ---------- */
.cookie-notice { position: fixed; left: 20px; bottom: 20px; max-width: 420px; background: var(--dark); color: rgba(255,255,255,.85); padding: 18px 20px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 70; font-size: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; }
.cookie-notice a { color: #fff; text-decoration: underline; }

/* ---------- Demo modu ---------- */
.demo-bar { background: #fff3cd; color: #664d03; border-bottom: 1px solid #f1d98b; text-align: center; font-size: 14px; padding: 8px 16px; line-height: 1.45; }
.demo-bar a { color: #664d03; font-weight: 700; text-decoration: underline; margin-left: 6px; white-space: nowrap; }

.is-demo .card-media::after,
.is-demo .gallery-main::after,
.is-demo .about-media::after,
.is-demo .agent-photo::after,
.is-demo .agent-row-photo::after,
.is-demo .lightbox::after,
.is-demo .hero::before {
    content: "DEMO AMAÇLIDIR\A Görseller temsilidir";
    white-space: pre;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-14deg);
    padding: 6px 16px;
    background: rgba(15, 20, 25, .5);
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.35;
    text-align: center;
    pointer-events: none;
    z-index: 3;
}
.is-demo .gallery-main::after,
.is-demo .lightbox::after { font-size: 20px; padding: 10px 26px; letter-spacing: 4px; }
.is-demo .agent-photo, .agent-row-photo { position: relative; }
.is-demo .hero::before { content: "DEMO AMAÇLIDIR · Görseller temsilidir"; white-space: nowrap; left: auto; top: auto; right: 16px; bottom: 10px; transform: none; font-size: 11px; padding: 4px 10px; letter-spacing: 1px; }
.is-demo .lightbox::after { position: fixed; background: rgba(15, 20, 25, .35); }

/* ---------- CTA ---------- */
.cta { background: var(--accent); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta h2 { color: #fff; font-size: 30px; margin-bottom: 6px; }
.cta p { margin: 0; color: rgba(255,255,255,.9); }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cta .btn-accent { background: var(--dark); }
.cta .btn-accent:hover { background: #fff; color: var(--dark); }

/* ---------- Sayfa başlığı ---------- */
.page-header { background: var(--bg-soft); padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: 38px; margin: 0; }
.page-header-sm { padding: 18px 0; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.page-header-sm .breadcrumb { margin: 0; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; opacity: .6; }

/* ---------- İlan listesi ---------- */
.listing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.filter-panel { position: sticky; top: 100px; }
.filter-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; }
.filter-form .field input, .filter-form .field select { height: 42px; }
.filter-toggle { display: none; }
.reset-link { text-align: center; font-size: 14px; color: var(--muted); text-decoration: underline; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; }
.results-bar p { margin: 0; }
.sort-form select { height: 40px; border: 1px solid #d5d9dd; border-radius: var(--radius); padding: 0 10px; font: inherit; font-size: 14px; background: #fff; }
.listing-results .grid-3 { gap: 24px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 15px; }
.pagination a:hover { border-color: var(--accent); }
.pagination .current { background: var(--dark); border-color: var(--dark); color: #fff; }
.pagination .dots { border: 0; }

.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state .icon { width: 48px; height: 48px; color: var(--line); margin-bottom: 12px; }

/* ---------- İlan detay ---------- */
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.detail-head h1 { font-size: 34px; margin: 10px 0 6px; }
.detail-badges { display: flex; gap: 6px; }
.detail-location { color: var(--muted); margin: 0; display: flex; align-items: center; gap: 6px; }
.detail-price { text-align: right; flex-shrink: 0; }
.detail-price strong { display: block; font-size: 34px; color: var(--accent); line-height: 1.1; }
.detail-price span { font-size: 14px; color: var(--muted); }

.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.detail-side { position: sticky; top: 100px; display: grid; gap: 20px; }

.gallery { margin-bottom: 20px; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; background: #e6eaee; border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--dark); display: grid; place-items: center; }
.gallery-nav:hover { background: #fff; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 3px 10px; border-radius: 20px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-top: 8px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 2; background: none; opacity: .7; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--accent); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.lightbox { position: fixed; inset: 0; background: rgba(10,14,18,.94); z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; padding: 12px; }
.lightbox .icon { width: 32px; height: 32px; }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

.quick-facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); }
.quick-facts li { padding: 16px; display: grid; justify-items: center; text-align: center; border-right: 1px solid var(--line); }
.quick-facts li:last-child { border-right: 0; }
.quick-facts .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 6px; }
.quick-facts span { font-size: 13px; color: var(--muted); }
.quick-facts strong { color: var(--dark); }

.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.detail-side .box { margin: 0; }
.box-title { font-family: var(--font); font-size: 20px; font-weight: 700; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.text-content p { color: #3f4a54; }
.text-content h3 { margin-top: 1.5em; font-size: 19px; }

.detail-table { display: grid; grid-template-columns: 1fr 1fr; margin: 0; column-gap: 32px; }
.detail-table div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.detail-table dt { color: var(--muted); }
.detail-table dd { margin: 0; font-weight: 600; color: var(--dark); text-align: right; }

.feature-group { font-family: var(--font); font-size: 15px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 18px 0 10px; }
.feature-group:first-of-type { margin-top: 0; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; font-size: 15px; }
.feature-list li { display: flex; align-items: center; gap: 8px; }
.feature-list .icon { width: 16px; height: 16px; color: var(--success); }

.map-wrap { aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; background: #e6eaee; }
.map-wrap iframe, .map-full iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-full { height: 420px; }

.agent-box { display: grid; gap: 10px; }
.agent-mini { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.agent-mini img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.agent-mini strong { display: block; color: var(--dark); font-size: 18px; }
.agent-mini span { font-size: 14px; color: var(--muted); }

.share-box { display: flex; align-items: center; gap: 8px; padding: 16px 20px; }
.share-box > span { font-weight: 600; margin-right: auto; }
.share-box a, .share-box button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); border: 0; color: var(--dark); }
.share-box a:hover, .share-box button:hover { background: var(--accent); color: #fff; }

/* ---------- Hizmetler ---------- */
.service-item { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.service-item:hover { box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 58px; height: 58px; background: var(--bg-soft); border-radius: 50%; margin-bottom: 18px; }
.service-icon .icon { width: 28px; height: 28px; color: var(--accent); }
.service-item h3 { font-family: var(--font); font-size: 19px; }
.service-item p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- İletişim ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 32px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list strong { display: block; color: var(--dark); }
.ci-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; background: var(--bg-soft); border-radius: 50%; color: var(--accent); }
.contact-form-box { margin: 0; padding: 32px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 40px 0; }
.error-code { font-size: 110px; font-weight: 700; color: var(--accent); line-height: 1; }
.error-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a:hover { color: #fff; }
.footer-about p { margin: 18px 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); }
.footer-social a:hover { background: var(--accent); }
.footer-contact p { display: flex; gap: 10px; }
.footer-contact .icon { color: var(--accent); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 14px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #fff; }

.wa-float { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 60; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .main-nav { gap: 18px; }
    .main-nav ul { gap: 18px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .detail-layout { grid-template-columns: 1fr 320px; }
    .feature-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: 290px; background: #fff; flex-direction: column; align-items: stretch; padding: 80px 24px 24px; box-shadow: -8px 0 30px rgba(0,0,0,.15); transform: translateX(100%); transition: transform .3s; z-index: 100; }
    .main-nav.open { transform: none; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .main-nav ul a.active::after { display: none; }
    .nav-toggle[aria-expanded="true"] { position: relative; z-index: 101; }

    .hero { min-height: 0; }
    .hero h1 { font-size: 38px; }
    .search-fields { grid-template-columns: 1fr 1fr; }
    .search-fields .btn { grid-column: 1 / -1; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .about-split { grid-template-columns: 1fr; gap: 40px; }
    .about-badge { right: 16px; bottom: -16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .listing-layout { grid-template-columns: 1fr; }
    .filter-panel { position: static; }
    .filter-toggle { display: flex; }
    .filter-form { display: none; margin-top: 12px; }
    .filter-form.open { display: grid; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .agent-rows { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .container { padding: 0 16px; }
    .hide-sm, .topbar-social { display: none; }
    .topbar-contact { gap: 14px; font-size: 13px; }
    .header-inner { min-height: 66px; }
    .logo-text { font-size: 21px; }
    .logo-text small { display: none; }
    .logo-mark { width: 40px; height: 40px; }
    .hero-content { padding-top: 40px; padding-bottom: 40px; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 16px; margin-bottom: 24px; }
    .search-tabs label { padding: 12px 14px; flex: 1; text-align: center; }
    .search-fields { grid-template-columns: 1fr; padding: 16px; }
    .section { padding: 56px 0; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .section-head h2, .about-text h2 { font-size: 28px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stats-grid strong { font-size: 34px; }
    .page-header { padding: 28px 0; }
    .page-header h1 { font-size: 28px; }
    .detail-head { flex-direction: column; align-items: flex-start; }
    .detail-head h1 { font-size: 26px; }
    .detail-price { text-align: left; }
    .detail-price strong { font-size: 28px; }
    .detail-table { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr 1fr; font-size: 14px; }
    .box { padding: 20px; }
    .quick-facts { grid-template-columns: repeat(3, 1fr); }
    .quick-facts li { border-right: 0; padding: 12px 6px; }
    .cookie-notice { left: 12px; right: 12px; bottom: 12px; max-width: none; }
    .logo-img { max-height: 44px; }
    .form-grid { grid-template-columns: 1fr; }
    .agent-row { flex-direction: column; }
    .agent-row-photo { width: 100%; height: 280px; }
    .cta-actions { flex-direction: column; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .results-bar { flex-direction: column; align-items: flex-start; }
    .map-full { height: 300px; }
}

@media print {
    .topbar, .site-header, .site-footer, .wa-float, .detail-side, .gallery-thumbs, .gallery-nav, .section-muted { display: none !important; }
    .detail-layout { grid-template-columns: 1fr; }
    .box { border: 0; padding: 0; }
}
