/* =========================================================================
   MERIDYEN GAYRİMENKUL — Stil sayfası
   Estetik: Sessiz lüks / sinematik editoryal — kömür siyahı, fildişi, pirinç
   Fontlar: Cormorant (başlık) + Manrope (gövde)
   ========================================================================= */

:root {
  --bg:        #0e0d0b;
  --bg-2:      #131110;
  --surface:   #1a1714;
  --surface-2: #221d18;
  --ink:       #f4f0e7;
  --ink-soft:  #d8d1c4;
  --muted:     #a39a8a;
  --line:      rgba(244,240,231,.12);
  --line-soft: rgba(244,240,231,.07);

  --gold:      #c4a26b;
  --gold-2:    #dcc08a;
  --gold-deep: #a8854c;

  --rent:      #8fb6a6;   /* kiralık rozet tonu */

  --font-display: "Cormorant", Georgia, "Times New Roman", serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow:    0 24px 60px -28px rgba(0,0,0,.7);
  --shadow-lg: 0 48px 110px -45px rgba(0,0,0,.85);

  --container: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: #1a1410; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--gold); color: #1a1410;
  padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 700; z-index: 200; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* film grenli doku */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ----------------------------- Düzen ---------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 60px); }
.section { padding-block: clamp(64px, 9vw, 140px); position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(196,162,107,.18); }

.section__head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
  line-height: 1.02; letter-spacing: -.01em;
  margin-top: 16px;
}
.section__title em { font-style: italic; color: var(--gold); }
.section__lead { color: var(--muted); font-size: 1.05rem; margin-top: 18px; max-width: 56ch; }

/* ----------------------------- Butonlar ---------------------------- */
.btn {
  --bg-btn: var(--gold); --fg-btn: #1a1410;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--bg-btn); color: var(--fg-btn);
  padding: 12px 24px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--solid { --bg-btn: var(--gold); --fg-btn: #1a1410; box-shadow: 0 14px 34px -16px rgba(196,162,107,.7); }
.btn--solid:hover { --bg-btn: var(--gold-2); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost-light { --bg-btn: transparent; --fg-btn: var(--ink); border-color: rgba(244,240,231,.35); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold); background: rgba(196,162,107,.06); }

/* ----------------------------- Header ---------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-color: var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand__mark { color: var(--gold); display: grid; place-items: center; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.36rem; letter-spacing: .04em; }
.brand__name span { color: var(--gold); font-weight: 500; letter-spacing: .02em; }
.brand__name--lg { font-size: 1.9rem; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; font-weight: 500; font-size: .94rem; color: var(--ink-soft); padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__cta { display: flex; gap: 10px; }
.header__cta .btn { padding: 10px 18px; }

.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px clamp(20px,5vw,60px) 22px; border-top: 1px solid var(--line); background: var(--bg-2); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 13px 4px; font-weight: 500; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); }
.mobile-nav a.btn { margin-top: 12px; justify-content: center; border-bottom: none; color: #1a1410; }

/* ----------------------------- Hero ---------------------------- */
.hero { position: relative; min-height: clamp(580px, 92vh, 940px); display: flex; align-items: center; overflow: hidden; z-index: 2; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translateY(-1.5%); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,7,6,.92) 0%, rgba(8,7,6,.6) 42%, rgba(8,7,6,.15) 72%, transparent 100%),
    linear-gradient(0deg, rgba(8,7,6,.85), transparent 38%);
}
.hero__inner { position: relative; padding-block: clamp(90px, 14vh, 150px); max-width: 760px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
  line-height: 1.0; letter-spacing: -.015em;
  margin: 18px 0 8px;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: var(--ink-soft); max-width: 48ch; margin-top: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__stats { display: flex; gap: clamp(24px, 5vw, 56px); margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__stats dt { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; color: var(--gold); line-height: 1; }
.hero__stats dd { font-size: .8rem; color: var(--muted); margin-top: 6px; letter-spacing: .02em; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(244,240,231,.4); border-radius: 14px; display: grid; justify-items: center; padding-top: 8px; z-index: 3; }
.hero__scroll span { width: 3px; height: 8px; border-radius: 3px; background: var(--gold); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: 0; } }

/* ----------------------------- Marquee ---------------------------- */
.marquee { overflow: hidden; background: var(--bg-2); border-block: 1px solid var(--line); padding: 14px 0; position: relative; z-index: 2; }
.marquee__track { display: inline-flex; align-items: center; gap: 30px; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); }
.marquee .sep { color: var(--gold); font-style: normal; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------- Portföy ---------------------------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.filters__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.filters__selects { display: flex; flex-wrap: wrap; gap: 10px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.filters__selects select {
  appearance: none; -webkit-appearance: none;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 11px 40px 11px 18px; font: inherit; font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: border-color .25s ease, box-shadow .2s ease;
}
.filters__selects select:hover { border-color: var(--gold); }
.filters__selects select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,162,107,.16); }
.filters__selects select:disabled { opacity: .45; cursor: not-allowed; }
.grid__count { color: var(--muted); font-size: .85rem; margin-bottom: 26px; }
.filter {
  padding: 10px 20px; border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--ink-soft);
  font-weight: 600; font-size: .9rem;
  transition: color .25s ease, background .3s var(--ease), border-color .25s ease;
}
.filter:hover { color: var(--ink); border-color: var(--gold); }
.filter.is-active { background: var(--gold); color: #1a1410; border-color: transparent; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(20px, 2.4vw, 30px); }
.grid__empty { text-align: center; color: var(--muted); padding: 40px 0; }

.prop {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s ease;
}
.prop:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
.prop.is-hidden { display: none; }

.prop__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.prop__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prop:hover .prop__media img { transform: scale(1.07); }
.prop__badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--gold); color: #1a1410;
}
.prop__badge--rent { background: var(--rent); }
.prop__type {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  font-size: .7rem; font-weight: 600; letter-spacing: .03em;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--bg) 55%, transparent); color: var(--ink);
  backdrop-filter: blur(6px); border: 1px solid rgba(244,240,231,.18);
}

.prop__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prop__loc { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--gold); font-weight: 600; }
.prop__name { font-family: var(--font-display); font-weight: 600; font-size: 1.42rem; line-height: 1.12; letter-spacing: -.01em; }
.prop__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.prop__specs span { font-size: .76rem; color: var(--ink-soft); padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--r-pill); }
.prop__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prop__price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--gold); }
.prop__price small { font-size: .6em; font-weight: 500; color: var(--muted); }
.prop__cta { font-size: .86rem; font-weight: 600; color: var(--ink); white-space: nowrap; transition: color .2s ease; }
.prop__cta:hover { color: var(--gold); }

/* ----------------------------- Hizmetler ---------------------------- */
.services { background: var(--bg-2); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.svc {
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; transition: transform .4s var(--ease), border-color .3s ease;
}
.svc:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.svc__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.svc h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 18px 0 8px; }
.svc p { color: var(--muted); font-size: .94rem; }

/* ----------------------------- Hakkımızda ---------------------------- */
.about__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.about__badge { position: absolute; right: -16px; bottom: 24px; background: var(--gold); color: #1a1410; border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow); text-align: center; }
.about__badge strong { font-family: var(--font-display); font-size: 2.1rem; display: block; line-height: 1; font-weight: 700; }
.about__badge span { font-size: .74rem; line-height: 1.2; display: block; margin-top: 4px; font-weight: 600; }
.about__copy p { color: var(--ink-soft); margin-top: 16px; max-width: 54ch; }
.about__points { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.about__points li { display: inline-flex; align-items: center; gap: 11px; font-weight: 500; color: var(--ink); }
.about__points span { color: var(--gold); }

/* ----------------------------- Kredi hesaplama ---------------------------- */
.calc { background: var(--bg-2); }
.calc__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.calc__card {
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: .01em; }
.field label strong { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; font: inherit; font-size: .98rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,162,107,.16); }
.field textarea { resize: vertical; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 5px; padding: 0; background: var(--line); border-radius: 999px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid var(--bg); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid var(--bg); }
.calc__out { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.calc__out > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc__out span { color: var(--muted); font-size: .9rem; }
.calc__out strong { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.calc__out-main strong { font-size: 2.2rem; color: var(--gold); }
.calc__note { margin-top: 16px; font-size: .76rem; color: var(--muted); }

/* ----------------------------- Yorumlar ---------------------------- */
.quotes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.quote { background: linear-gradient(170deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 6px; left: 20px; font-family: var(--font-display); font-size: 4rem; color: var(--gold); opacity: .35; line-height: 1; }
.quote blockquote { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; line-height: 1.4; color: var(--ink); position: relative; }
.quote figcaption { margin-top: 18px; }
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption span { font-size: .84rem; color: var(--gold); }

/* ----------------------------- İletişim / Lead ---------------------------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: start; }
.contact__copy > p { color: var(--ink-soft); margin-top: 16px; max-width: 48ch; }
.contact__agent { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.contact__agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.contact__agent strong { display: block; }
.contact__agent span { display: block; font-size: .84rem; color: var(--muted); margin: 2px 0 4px; }
.contact__phone { color: var(--gold); font-weight: 700; }
.contact__rows { display: grid; gap: 10px; margin-top: 18px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: transform .25s var(--ease), border-color .25s ease; }
.contact-row:hover { transform: translateX(4px); border-color: var(--gold); }
.contact-row__ic { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold); }
.contact-row small { display: block; font-size: .74rem; color: var(--muted); }
.contact-row strong { font-size: .96rem; font-weight: 600; }

.lead { background: linear-gradient(170deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.lead__title { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; margin-bottom: 20px; }
.lead__submit { width: 100%; margin-top: 6px; }
.lead__ok { margin-top: 14px; padding: 12px 16px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--rent) 18%, transparent); border: 1px solid color-mix(in srgb, var(--rent) 40%, transparent); color: var(--ink); font-size: .9rem; }
.lead__legal { margin-top: 14px; font-size: .76rem; color: var(--muted); text-align: center; }
.hidden-field { position: absolute; left: -9999px; }

/* ----------------------------- Son CTA ---------------------------- */
.cta { position: relative; z-index: 2; overflow: hidden; background: var(--bg-2); border-top: 1px solid var(--line); }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 130% at 50% -10%, rgba(196,162,107,.18), transparent 60%); }
.cta__inner { position: relative; text-align: center; padding-block: clamp(60px, 8vw, 100px); }
.cta h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -.01em; }
.cta p { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ----------------------------- Footer ---------------------------- */
.site-footer { background: #0a0908; position: relative; z-index: 2; padding-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 42px; }
.footer__brand p { margin-top: 14px; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.footer__col h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 14px; font-weight: 600; }
.footer__col a, .footer__col p { display: block; color: var(--muted); font-size: .9rem; padding: 5px 0; transition: color .2s ease; }
.footer__col a:hover { color: var(--gold); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 22px; border-top: 1px solid var(--line-soft); font-size: .8rem; color: var(--muted); }

/* ----------------------------- İlan detay modal ---------------------------- */
.prop { cursor: pointer; }
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: clamp(10px, 3vw, 40px); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,5,4,.8); backdrop-filter: blur(6px); animation: mfade .3s ease; }
@keyframes mfade { from { opacity: 0; } }
.modal__panel {
  position: relative; z-index: 1; width: min(960px, 100%); max-height: 92vh; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr;
  background: linear-gradient(170deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); animation: mpop .4s var(--ease);
}
@keyframes mpop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 6; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(6,5,4,.55); color: var(--ink);
  border: 1px solid rgba(244,240,231,.2); backdrop-filter: blur(6px);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.modal__close:hover { background: var(--gold); color: #1a1410; transform: rotate(90deg); }

.modal__gallery { display: flex; flex-direction: column; background: #0c0b0a; min-width: 0; }
.m-stage { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.m-stage img { width: 100%; height: 100%; object-fit: cover; }
.m-stage img.kb { animation: mkb 6s ease-in-out infinite alternate; }
@keyframes mkb { from { transform: scale(1.02); } to { transform: scale(1.13); } }
.m-badge { position: absolute; top: 14px; left: 14px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); background: var(--gold); color: #1a1410; }
.m-badge.rent { background: var(--rent); }
.m-nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%; background: rgba(6,5,4,.5); color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(4px); transition: background .2s ease, color .2s ease; }
.m-nav:hover { background: var(--gold); color: #1a1410; }
.m-prev { left: 12px; } .m-next { right: 12px; }
.m-tour-btn { position: absolute; bottom: 14px; left: 14px; padding: 9px 16px; border-radius: var(--r-pill); background: rgba(6,5,4,.6); color: #fff; font-weight: 600; font-size: .82rem; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); transition: background .2s ease, color .2s ease; }
.m-tour-btn:hover, .m-tour-btn.playing { background: var(--gold); color: #1a1410; }
.m-counter { position: absolute; bottom: 16px; right: 16px; font-size: .78rem; color: #fff; background: rgba(6,5,4,.55); padding: 4px 10px; border-radius: var(--r-pill); }
.m-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none; }
.m-thumbs::-webkit-scrollbar { display: none; }
.m-thumbs img { width: 66px; height: 48px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .5; border: 2px solid transparent; transition: opacity .2s ease, border-color .2s ease; flex-shrink: 0; }
.m-thumbs img.active, .m-thumbs img:hover { opacity: 1; border-color: var(--gold); }

.modal__body { padding: clamp(22px, 3vw, 34px); overflow-y: auto; }
.m-loc { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--gold); font-weight: 600; }
.m-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin: 8px 0 10px; }
.m-price { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--gold); margin-bottom: 16px; }
.m-price small { font-size: .55em; font-weight: 500; color: var(--muted); }
.m-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.m-specs span { font-size: .8rem; color: var(--ink-soft); padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); }
.m-desc { color: var(--ink-soft); font-size: .96rem; margin-bottom: 20px; }
.m-sub { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 10px; }
.m-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 22px; }
.m-features li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.m-features li::before { content: "✦"; color: var(--gold); font-size: .8em; }

.m-ai { border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line)); border-radius: var(--r); padding: 16px; margin-bottom: 22px; background: color-mix(in srgb, var(--gold) 6%, transparent); }
.m-ai__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.m-ai__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); flex-shrink: 0; }
.m-ai__head strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.m-ai__head span { display: block; font-size: .82rem; color: var(--muted); }
.m-ai__btn { width: 100%; }
.m-ai__note { margin-top: 12px; font-size: .84rem; color: var(--ink-soft); padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); line-height: 1.5; }
.m-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.m-actions .btn { flex: 1; min-width: 150px; }

body.modal-open { overflow: hidden; }

@media (max-width: 820px) {
  .modal__panel { grid-template-columns: 1fr; max-height: 94vh; }
  .m-stage { aspect-ratio: 16/10; }
  .m-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .m-features { grid-template-columns: 1fr; }
}

/* ----------------------------- Reveal ---------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ----------------------------- Responsive ---------------------------- */
@media (max-width: 980px) {
  .about__inner, .calc__inner, .contact__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .hero__stats { flex-wrap: wrap; gap: 20px 32px; }
}
@media (max-width: 620px) {
  .filters { flex-direction: column; align-items: stretch; }
  .filters__selects { width: 100%; }
  .select-wrap { flex: 1 1 0; }
  .filters__selects select { width: 100%; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
}

/* ----------------------------- Reduced motion ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track, .hero__media img { animation: none; }
}
