/* Esila Group v2: black, gold, cream, deep emerald and sea. Shared by index.html and ilan.html. */
:root {
  --ink: #14110d; --ink-2: #1f1a14; --ink-3: #2c261e;
  --gold: #c9a24a; --gold-l: #e6cc8a; --gold-d: #8c6a1f; --gold-g: linear-gradient(135deg, #e9d08e 0%, #c9a24a 45%, #9c7626 100%);
  --cream: #f6f0e4; --paper: #fbf8f2; --sand: #ebe0ca; --line: #e2d6bf;
  --emerald: #173a32; --emerald-2: #22503f; --sea: #1d4a55;
  --muted: #64594a; --muted-d: #b9ad97;
  --serif: "Newsreader", Georgia, serif; --sans: "Hanken Grotesk", system-ui, sans-serif;
  --r: 18px; --r-s: 12px; --kap: 1240px;
  --golge: 0 1px 2px rgba(20,17,13,.06), 0 12px 32px -12px rgba(20,17,13,.22);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.kap { width: min(var(--kap), 100% - 48px); margin-inline: auto; }
.altin { color: var(--gold); }
.ust-yazi { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); }
.ust-yazi::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.koyu .ust-yazi { color: var(--gold); }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* buttons */
.dg { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.dg svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dg--altin { background: var(--gold-g); color: #14110d; box-shadow: 0 8px 24px -10px rgba(201,162,74,.8); }
.dg--altin:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(201,162,74,.95); }
.dg--koyu { background: var(--ink); color: var(--cream); }
.dg--koyu:hover { background: var(--ink-3); }
.dg--cizgi { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.dg--cizgi:hover { background: rgba(201,162,74,.12); }
.dg--wa { background: #1f7a4d; color: #fff; }

/* header */
.bas { position: sticky; top: 0; z-index: 50; background: rgba(20,17,13,.94); backdrop-filter: blur(12px); color: var(--cream); border-bottom: 1px solid rgba(201,162,74,.22); }
.bas__ic { display: flex; align-items: center; gap: 32px; height: 76px; }
.bas__logo img { height: 52px; width: auto; }
.bas__nav { display: flex; gap: 4px; flex: 1; }
.bas__nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; color: rgba(246,240,228,.82); transition: color .2s, background .2s; }
.bas__nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.bas__sag { display: flex; align-items: center; gap: 10px; }
.bas__tel { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--gold-l); padding: 8px 10px; }
.bas__tel svg, .bas__fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.bas__fav { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--cream); text-decoration: none; background: rgba(255,255,255,.06); }
.bas__fav b { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--gold); color: #14110d; font-size: 12px; display: grid; place-items: center; padding: 0 5px; }
.bas__fav b:empty { display: none; }
.bas__menu { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255,255,255,.08); color: var(--cream); cursor: pointer; }
.bas__menu svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; }

/* listing card */
.ik { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--golge); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.ik:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20,17,13,.06), 0 24px 48px -18px rgba(20,17,13,.35); }
.ik__foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.ik__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ik:hover .ik__foto img { transform: scale(1.05); }
.ik__foto::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(20,17,13,.55)); pointer-events: none; }
.ik__rozet { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; z-index: 2; }
.rz { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--gold-g); color: #14110d; font: 700 12px/1.2 var(--sans); letter-spacing: .02em; }
.rz--koyu { background: rgba(20,17,13,.86); color: var(--cream); }
.rz--one { background: rgba(255,255,255,.92); color: var(--ink); }
.ik__fav { position: absolute; right: 12px; top: 12px; z-index: 4; width: 42px; height: 42px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.ik__fav:hover { transform: scale(1.08); }
.ik__fav svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.ik__fav[aria-pressed="true"] svg { fill: #c0392b; stroke: #c0392b; }
.ik__say { position: absolute; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-size: 13px; font-weight: 500; }
.ik__govde { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.ik__yer { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.ik__yer svg, .ik__bilgi svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-d); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ik__bas { font-size: 22px; line-height: 1.2; }
.ik__bas a { text-decoration: none; }
.ik__bas a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ik__bilgi { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 2px 0 0; padding: 0; font-size: 14px; color: var(--ink-3); }
.ik__bilgi li { display: flex; align-items: center; gap: 6px; }
.ik__alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.ik__fiyat { font: 500 24px/1.1 var(--serif); color: var(--ink); }
.ik__kars { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); cursor: pointer; min-height: 32px; }
.ik__kars input { width: 16px; height: 16px; accent-color: var(--gold-d); }
.ik--bitti .ik__foto img { filter: grayscale(.7); }
.ik--bitti .ik__fiyat { text-decoration: line-through; color: var(--muted); }

/* the drawn map */
.plan { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1000 / 620; background: #1b1814; box-shadow: var(--golge); }
.plan__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; transform: translate(-50%, -100%); border: 0; padding: 0; background: none; cursor: pointer; z-index: 2; }
.pin span { display: block; padding: 7px 12px; border-radius: 999px; background: var(--gold-g); color: #14110d; font: 700 13px/1 var(--sans); box-shadow: 0 6px 16px -4px rgba(0,0,0,.6); white-space: nowrap; transition: transform .2s; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: #b88f37; transform: translateX(-50%) rotate(45deg); z-index: -1; }
.pin--kira span { background: var(--cream); }
.pin--kira::after { background: var(--cream); }
.pin--bitti { opacity: .55; }
.pin:hover span, .pin.is-on span { transform: scale(1.12); }
.pin.is-on { z-index: 3; }
.pin.is-on span { background: #fff; outline: 2px solid var(--gold); }
.plan__kart { position: absolute; right: 16px; bottom: 16px; z-index: 5; width: min(360px, calc(100% - 32px)); display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px; background: var(--paper); border-radius: var(--r-s); box-shadow: 0 20px 40px -12px rgba(0,0,0,.6); }
.plan__kart[hidden] { display: none; }
.plan__kart img { width: 110px; height: 86px; object-fit: cover; border-radius: 8px; }
.plan__kart h3 { font-size: 18px; margin: 4px 0; }
.plan__kart h3 a { text-decoration: none; }
.plan__f { font-size: 14px; color: var(--muted); }
.plan__kapat { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 999px; background: var(--sand); cursor: pointer; }
.plan__not { position: absolute; left: 16px; top: 14px; z-index: 2; font-size: 12px; letter-spacing: .04em; color: rgba(246,240,228,.6); background: rgba(20,17,13,.6); padding: 5px 10px; border-radius: 999px; }

/* compare bar and dialog */
.kbar { position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--ink); color: var(--cream); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); transition: transform .35s cubic-bezier(.2,.7,.2,1); max-width: calc(100% - 32px); }
.kbar:not(.on) { visibility: hidden; }
.kbar.on { transform: translate(-50%, 0); }
.kbar__resim { display: flex; }
.kbar__resim img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; border: 2px solid var(--ink); margin-left: -8px; }
.kbar__resim img:first-child { margin-left: 0; }
.kbar .dg { min-height: 42px; padding: 0 18px; }
.kbar__sil { border: 0; background: none; color: var(--muted-d); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
dialog.kars { border: 0; padding: 0; border-radius: 22px; width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 32px); background: var(--paper); color: var(--ink); }
dialog.kars::backdrop { background: rgba(10,9,7,.6); backdrop-filter: blur(3px); }
.kars__ic { padding: 28px; }
.kars__ust { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.kars__ust h2 { font-size: 32px; }
.kars__kapat { width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--sand); cursor: pointer; font-size: 20px; }
.kars__tablo { overflow-x: auto; }
.kars table { width: 100%; border-collapse: collapse; min-width: 560px; }
.kars th, .kars td { padding: 12px 14px; text-align: left; border-top: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.kars th { width: 150px; color: var(--muted); font-weight: 500; }
.kars thead td { border-top: 0; }
.kars thead img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.kars thead a { font: 400 18px/1.2 var(--serif); text-decoration: none; }
.kars .iyi { color: #1f7a4d; font-weight: 600; }

/* footer */
.alt { background: var(--ink); color: rgba(246,240,228,.75); padding: 72px 0 28px; }
.alt__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.alt__logo img { height: 92px; width: auto; }
.alt p { font-size: 15px; margin-top: 16px; max-width: 34ch; }
.alt h3 { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.alt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.alt a { text-decoration: none; } .alt a:hover { color: var(--gold-l); }
.alt__dip { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(201,162,74,.2); font-size: 13px; color: rgba(246,240,228,.5); }

/* phone action bar */
.tel-bar { display: none; }
.toast { position: fixed; left: 50%; top: 92px; translate: -50% 0; z-index: 90; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 12px; font-size: 15px; box-shadow: 0 12px 24px -10px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .25s; border: 1px solid rgba(201,162,74,.4); }
.toast.on { opacity: 1; }

/* scroll reveal */
.gor { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.gor.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gor { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 1023px) {
  .bas__nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: var(--ink); padding: 12px 24px 24px; border-bottom: 1px solid rgba(201,162,74,.22); }
  .bas__nav.on { display: flex; }
  .bas__nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .bas__menu { display: grid; place-items: center; }
  .bas__tel span { display: none; }
  .alt__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .kap { width: calc(100% - 32px); }
  .bas__ic { height: 66px; gap: 12px; } .bas__nav { top: 66px; }
  .bas__logo img { height: 42px; }
  .bas__sag .dg { display: none; }
  .alt { padding: 56px 0 96px; } .alt__grid { grid-template-columns: 1fr; gap: 32px; }
  .tel-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(20,17,13,.96); border-top: 1px solid rgba(201,162,74,.3); }
  .tel-bar .dg { min-height: 46px; }
  .kbar { bottom: 84px; }
  .plan { aspect-ratio: 4 / 5; }
  .plan__kart { left: 12px; right: 12px; bottom: 12px; width: auto; grid-template-columns: 90px 1fr; }
  .plan__kart img { width: 90px; height: 72px; }
  .pin span { padding: 6px 9px; font-size: 12px; }
  .kars__ic { padding: 18px; }
}
