/* ============================================================
   NOVA GAYRİMENKUL — style.css
   Temel: değişkenler, reset, tipografi, yerleşim, header, footer
   ============================================================ */

:root{
  /* Renk */
  --bg:#FFFFFF;
  --surface:#F5F5F7;
  --surface-2:#EEEEF2;
  --line:#E3E3E8;
  --line-soft:#EFEFF3;

  --ink:#131619;
  --ink-2:#41464C;
  --muted:#676C71;   /* AA: beyaz 5.30 · yüzey 4.91 · yüzey-2 4.57 */

  --brand:#16202B;
  --brand-dark:#0E161E;
  --brand-soft:#F2F3F4;
  --focus:#16202B;
  --focus-on-dark:#FFFFFF;

  --head-top-h:66px;

  --ok:#2F6F4E;

  /* Ölçü */
  --wrap:1240px;
  --pad:28px;
  --radius:12px;
  --radius-sm:8px;
  --sec:clamp(64px,8vw,112px);

  --shadow:none;
  --shadow-h:0 10px 40px rgba(19,22,25,.10);

  --font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --ease:cubic-bezier(.4,0,.2,1);
}

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

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  font-size:16px;
  line-height:1.62;
  color:var(--ink-2);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
body.is-locked{overflow:hidden}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
ul,ol{margin:0;padding:0;list-style:none}
figure{margin:0}

h1,h2,h3,h4,h5{
  margin:0;
  color:var(--ink);
  font-weight:600;
  line-height:1.16;
  letter-spacing:-.025em;
  text-wrap:balance;
}
h1{font-size:clamp(32px,4vw,52px);letter-spacing:-.035em}
h2{font-size:clamp(24px,2.6vw,36px);letter-spacing:-.03em}
h3{font-size:clamp(17px,1.5vw,20px)}
h4{font-size:16px}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--pad)}
.section{padding-block:var(--sec)}
.section--surface{background:var(--surface)}
.section--tight{padding-block:clamp(40px,5vw,60px)}

.muted{color:var(--muted)}
.small{font-size:14px}
.lead{font-size:17px;color:var(--muted);max-width:62ch}
.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}

/* Bölüm başlığı — her yerde aynı ritim */
.shead{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px;flex-wrap:wrap}
.shead h2{margin-bottom:10px}
.shead p{margin:0;color:var(--muted);font-size:16px;max-width:56ch}
.eyebrow{
  display:inline-block;font-size:12px;font-weight:600;letter-spacing:.12em;
  text-transform:uppercase;color:var(--muted);margin-bottom:14px;
}
.shead__link{
  display:inline-flex;align-items:center;gap:8px;
  font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap;
  padding-bottom:3px;border-bottom:1px solid var(--line);
  transition:border-color .2s var(--ease);
}
.shead__link:hover{border-color:var(--ink);text-decoration:none}
.shead__link svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   Başlık — iki satır: üstte kimlik ve iletişim, altta gezinme.
   Gezinme şeridi yapışkan; tek satıra sıkıştırınca öğeler
   birbirine giriyordu.
   ------------------------------------------------------------ */
/* Başlığın tamamı yapışkan ama üst satırı kadar yukarı çekilir:
   sayfa kayınca yalnız gezinme şeridi ekranda kalır. */
.head{background:#fff;position:sticky;top:calc(-1 * var(--head-top-h));z-index:100}
.head__top-in{display:flex;align-items:center;justify-content:space-between;gap:24px;height:var(--head-top-h)}
.brand{display:flex;align-items:center;gap:10px;flex:none}
/* İki logo da DOM'da durur, hangisinin görüneceğini zemin belirler:
   böylece kaydırırken yanıp sönme olmaz. */
.brand__logo{display:block;max-height:50px;width:auto}
.brand__logo--on-dark{display:none}
.brand__mark{
  font-size:23px;font-weight:600;letter-spacing:-.04em;color:var(--ink);white-space:nowrap;
}
.brand__mark span{color:var(--brand)}

.head__util{display:flex;align-items:center;gap:14px;flex:none;min-width:0}
.head__hours{font-size:13px;color:var(--muted);white-space:nowrap}
.head__tel{
  display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;
  color:var(--ink);white-space:nowrap;padding-right:14px;border-right:1px solid var(--line);
}
.head__tel svg{width:16px;height:16px;stroke:var(--brand);fill:none;stroke-width:1.8}

.head__bar{
  background:#fff;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  transition:box-shadow .25s var(--ease);
}
.head__bar-in{display:flex;align-items:center;justify-content:space-between;gap:24px;height:52px}
/* Kaydırınca gezinme şeridi içerikten gölgeyle ayrılır */
.head.is-stuck .head__bar{box-shadow:0 1px 12px rgba(19,22,25,.07)}

.nav{display:flex;flex-wrap:nowrap;align-items:center;gap:30px;min-width:0}
.nav a{
  font-size:14.5px;color:var(--ink-2);white-space:nowrap;
  padding-block:16px;position:relative;transition:color .2s var(--ease);
}
.nav a:hover{color:var(--ink)}
.nav a.is-active{color:var(--ink);font-weight:500}
.nav a.is-active::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink);
}

.head__cta{
  display:inline-flex;align-items:center;height:36px;padding:0 18px;flex:none;
  background:var(--brand);color:#fff;font-size:14px;font-weight:500;white-space:nowrap;
  transition:background .2s var(--ease);
}
.head__cta:hover{background:#000}

/* Fotoğraf hero'sunun üstünde: başlık akıştan çıkar, içerik beyaz.
   Sayfa kaydırılınca beyaz zemine ve koyu yazıya döner. */
.head--over{position:absolute;top:0;left:0;right:0;background:transparent}
.head--over.is-fixed{position:fixed;background:#fff;animation:headDrop .28s var(--ease)}
@keyframes headDrop{from{transform:translateY(-100%)}to{transform:translateY(0)}}

.head--over:not(.is-fixed) .head__bar{border-color:rgba(255,255,255,.22);background:transparent}
.head--over:not(.is-fixed) .head__top{background:transparent}
.head--over:not(.is-fixed) .brand__logo--on-light{display:none}
.head--over:not(.is-fixed) .brand__logo--on-dark{display:block}
.head--over:not(.is-fixed) .brand__mark,
.head--over:not(.is-fixed) .brand__mark span,
.head--over:not(.is-fixed) .head__tel,
.head--over:not(.is-fixed) .nav a.is-active{color:#fff}
.head--over:not(.is-fixed) .nav a{color:rgba(255,255,255,.82)}
.head--over:not(.is-fixed) .nav a:hover{color:#fff}
.head--over:not(.is-fixed) .nav a.is-active::after{background:#fff}
.head--over:not(.is-fixed) .head__hours{color:rgba(255,255,255,.72)}
.head--over:not(.is-fixed) .head__tel{border-right-color:rgba(255,255,255,.28)}
.head--over:not(.is-fixed) .head__tel svg{stroke:#fff}
.head--over:not(.is-fixed) .iconbtn,
.head--over:not(.is-fixed) .burger{border-color:rgba(255,255,255,.3);color:#fff}
.head--over:not(.is-fixed) .iconbtn:hover,
.head--over:not(.is-fixed) .burger:hover{border-color:#fff;background:rgba(255,255,255,.1)}
.head--over:not(.is-fixed) .burger svg{stroke:#fff}
.head--over:not(.is-fixed) .head__cta{background:#fff;color:var(--ink)}
.head--over:not(.is-fixed) .head__cta:hover{background:rgba(255,255,255,.86)}
.head--over:not(.is-fixed) :focus-visible{outline-color:var(--focus-on-dark)}

.iconbtn{
  position:relative;width:40px;height:40px;display:grid;place-items:center;
  border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink-2);
  transition:border-color .2s var(--ease),color .2s var(--ease);
}
.iconbtn:hover{border-color:var(--ink);color:var(--ink)}
.iconbtn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6}
.badge{
  position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;
  background:var(--brand);color:#fff;border-radius:9px;
  font-size:11px;font-weight:600;line-height:18px;text-align:center;
  opacity:0;transform:scale(.6);transition:.2s var(--ease);
}
.badge.on{opacity:1;transform:scale(1)}
.burger{display:none;width:40px;height:40px;border:1px solid var(--line);border-radius:var(--radius-sm);place-items:center}
.burger svg{width:20px;height:20px;stroke:var(--ink);fill:none;stroke-width:1.6}

/* ------------------------------------------------------------
   Footer — sitenin çizgi dilini sürdürür: açık zemin, kalın üst
   kural, hizalı sütunlar. Koyu blok yerine yapısal bir kapanış.
   ------------------------------------------------------------ */
.foot{
  background:var(--surface);color:var(--ink-2);font-size:15px;
  border-top:1px solid var(--ink);
  border-top: 1px solid #0000000f;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.foot__head{
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);
  gap:clamp(28px,5vw,80px);
  padding:clamp(36px,4vw,56px) 0 clamp(28px,3.5vw,44px);
}
.foot__logo{display:block;max-height:55px;width:auto}
.foot__brand .brand__mark{font-size:23px;color:var(--ink)}
.foot__brand .brand__mark span{color:var(--brand)}
.foot__brand p{
  margin:16px 0 0;font-size:15px;line-height:1.7;color:var(--muted);max-width:52ch;text-wrap:pretty;
}
.foot__addr{
  font-style:normal;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);
  font-size:14.5px;line-height:1.6;color:var(--ink-2);max-width:34ch;
}

.foot__news h5{
  margin:0 0 6px;font-size:16px;font-weight:600;color:var(--ink);letter-spacing:-.01em;
}
.foot__news p{margin:0 0 16px;font-size:14.5px;color:var(--muted);max-width:44ch}
.foot__news form{display:flex;gap:0;max-width:440px}
.foot__news input{
  flex:1;min-width:0;height:48px;border:1px solid var(--line);border-right:0;
  background:#fff;padding:0 14px;font-size:15px;color:var(--ink);
}
.foot__news input::placeholder{color:var(--muted)}
.foot__news .btn{height:48px;border-radius:0;padding-inline:24px;flex:none}

.foot__grid{
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,1.05fr);
  gap:clamp(24px,3vw,48px);
  padding:clamp(30px,3.5vw,44px) 0;border-top:1px solid var(--line);
}
.foot h5{
  margin:0 0 16px;font-size:11.5px;font-weight:500;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink);
}
.foot__col ul{list-style:none;margin:0;padding:0}
.foot__col li{margin-bottom:11px}
.foot__col a{color:var(--ink-2)}
.foot__col a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.foot__col li a{display:inline-flex;align-items:baseline;gap:8px}
.foot__count{
  font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;
}

.foot__contact li{display:flex;flex-direction:column;gap:2px;margin-bottom:15px}
.foot__contact li > span:first-child{font-size:12.5px;color:var(--muted)}
.foot__contact li > :last-child{color:var(--ink);font-size:14.5px}

.foot__social{display:flex;gap:10px;margin-top:20px}
.foot__social a{
  width:40px;height:40px;display:grid;place-items:center;
  border:1px solid var(--line);color:var(--ink-2);
  transition:border-color .2s var(--ease),color .2s var(--ease);
}
.foot__social a:hover{border-color:var(--ink);color:var(--ink)}
.foot__social svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.6}

.foot__bar{
  border-top:1px solid var(--line);padding:18px 0 22px;
  display:flex;justify-content:space-between;gap:14px 28px;flex-wrap:wrap;
  font-size:13px;color:var(--muted);
}
.foot__legal{display:flex;flex-wrap:wrap;gap:8px 22px}
.foot__legal a{color:var(--muted)}
.foot__legal a:hover{color:var(--ink)}

/* Klavye odağı — her etkileşimli öğede görünür */
:focus-visible{
  outline:2px solid var(--focus);
  outline-offset:2px;
  border-radius:3px;
}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible,
.frange input:focus-visible,.sortx select:focus-visible,.searchbar__f select:focus-visible,
.foot__news input:focus-visible,.ovl__top input:focus-visible{
  outline:2px solid var(--focus);
  outline-offset:1px;
}
.plot__link:focus-visible{outline-offset:4px}

/* Koyu zeminlerde marka rengi halka görünmez kalıyor (1.11:1) */
.mnav :focus-visible{outline-color:var(--focus-on-dark)}

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

/* İçeriğe atla — yalnız klavye odağında görünür */
.skip{
  position:absolute;left:-9999px;top:0;z-index:9999;
  padding:12px 20px;background:var(--brand);color:#fff;border-radius:0 0 8px 0;
  font-size:14px;font-weight:500;text-decoration:none;
}
.skip:focus{left:0}
#icerik:focus{outline:none}
