:root {
  --sari: #ffe000;
  --sari-koyu: #f2d200;
  --lacivert: #1d3a6b;
  --mavi: #2556a8;
  --yazi: #222;
  --gri: #6b6b6b;
  --cizgi: #dcdcdc;
  --zemin: #f3f3f3;
  --beyaz: #fff;
  --yesil: #25a244;
  --kirmizi: #c0392b;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 Arial, Helvetica, sans-serif; color: var(--yazi); background: var(--zemin); }
a { color: var(--mavi); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--mavi); outline-offset: 2px; }

.kap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* üst şerit */
.serit { background: var(--lacivert); color: #dfe7f5; font-size: 13px; }
.serit .kap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.serit a { color: #fff; }

/* başlık */
.ust { background: var(--beyaz); border-bottom: 1px solid var(--cizgi); }
.ust .kap { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--lacivert); font-weight: 700; font-size: 22px; line-height: 1.1; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-img { width: 42px; height: 42px; flex: none; border-radius: 9px; }
.logo small { display: block; font-weight: 400; font-size: 12px; color: var(--gri); letter-spacing: .02em; }
.ara { flex: 1; display: flex; max-width: 560px; margin-left: auto; }
.ara input { flex: 1; min-width: 0; border: 2px solid var(--sari); border-right: 0; padding: 10px 12px; border-radius: 8px 0 0 8px; font-size: 15px; }
.ara input:focus { outline: 0; border-color: var(--sari-koyu); box-shadow: 0 0 0 3px rgba(255, 224, 0, .35); }
.ara button { border: 2px solid var(--sari); background: var(--sari); padding: 0 22px; font-weight: 700; cursor: pointer; border-radius: 0 8px 8px 0; color: #000; transition: background .15s; }
.ara button:hover { background: var(--sari-koyu); border-color: var(--sari-koyu); }
.ara button:active { transform: translateY(1px); }
.tel-ust { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 2px solid var(--lacivert); border-radius: 8px; color: var(--lacivert); line-height: 1.15; white-space: nowrap; transition: background .15s, color .15s; }
.tel-ust:hover { background: var(--lacivert); color: #fff; text-decoration: none; }
.tel-ust svg { width: 22px; height: 22px; flex: none; }
.tel-ust small { display: block; font-size: 11px; opacity: .75; }
.tel-ust b { font-size: 17px; }

.menu { background: var(--beyaz); border-bottom: 3px solid var(--sari); }
.menu .kap { display: flex; gap: 2px; overflow-x: auto; }
.menu a { padding: 11px 16px; color: var(--yazi); font-weight: 700; white-space: nowrap; transition: background .15s; }
.menu a:hover, .menu a.aktif { background: var(--sari); text-decoration: none; }

/* ana yerleşim */
.ana { display: grid; grid-template-columns: 230px 1fr; gap: 20px; padding-top: 18px; padding-bottom: 36px; align-items: start; }
.yan { background: var(--beyaz); border: 1px solid var(--cizgi); }
.yan h3 { margin: 0; padding: 10px 14px; background: #f7f7f7; border-bottom: 1px solid var(--cizgi); font-size: 14px; }
.yan ul { list-style: none; margin: 0; padding: 6px 0; }
.yan li a { display: flex; justify-content: space-between; padding: 6px 14px; color: var(--yazi); transition: background .12s; }
.yan li a:hover { background: #fffbe0; text-decoration: none; }
.yan li a.aktif { font-weight: 700; background: #fff6b3; }
.yan li a span { color: var(--gri); font-size: 13px; }
.yan form { padding: 12px 14px; display: grid; gap: 8px; }
.yan form label { font-size: 13px; color: var(--gri); }
.yan form input { width: 100%; padding: 9px; border: 1px solid var(--cizgi); border-radius: 6px; }
.yan form input:focus { outline: 0; border-color: var(--lacivert); }
.yan form .fiyat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-ara { background: var(--sari); border: 0; padding: 11px; font-weight: 700; cursor: pointer; border-radius: 8px; transition: background .15s, transform .1s; }
.btn-ara:hover { background: var(--sari-koyu); }
.btn-ara:active { transform: translateY(1px); }

.baslik-satir { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; flex-wrap: wrap; }
.baslik-satir h1, .baslik-satir h2 { margin: 0; font-size: 20px; color: var(--lacivert); }
.sayi { color: var(--gri); font-size: 14px; }

/* fotoğraflar kırpılmadan sığar */
.foto-kutu { background: #e8e8e8; overflow: hidden; display: grid; place-items: center; position: relative; isolation: isolate; }
.foto-kutu img { position: relative; width: 100%; height: 100%; object-fit: contain; }
/* kare dışında kalan boşluk, aynı fotoğrafın bulanık hali ile dolar (siyah bant yok) */
.foto-kutu::before, .galeri .buyuk::before, .kucukler button::before { content: ''; position: absolute; inset: -20px; background: var(--bg, none) center / cover no-repeat; filter: blur(18px) saturate(1.1); opacity: .9; z-index: -1; }

/* vitrin */
.vitrin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.kart { background: var(--beyaz); border: 1px solid var(--cizgi); display: block; color: var(--yazi); border-radius: 6px; overflow: hidden; transition: box-shadow .15s, border-color .15s, transform .15s; }
.kart:hover { text-decoration: none; border-color: #b9b9b9; box-shadow: 0 4px 14px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.kart .foto { aspect-ratio: 4 / 3; }
.kart .alt { padding: 10px; }
.kart .ad { font-size: 14px; line-height: 1.3; height: 2.6em; overflow: hidden; margin-bottom: 6px; }
.kart .fy { font-weight: 700; color: var(--kirmizi); }
.kart .yer { font-size: 12px; color: var(--gri); }

/* tablo liste (sahibinden tarzı) */
.liste { background: var(--beyaz); border: 1px solid var(--cizgi); width: 100%; border-collapse: collapse; }
.liste th { text-align: left; font-size: 13px; padding: 9px 10px; background: #f7f7f7; border-bottom: 1px solid var(--cizgi); color: var(--gri); font-weight: 700; }
.liste td { padding: 8px 10px; border-bottom: 1px solid #ececec; vertical-align: middle; }
.liste tr:hover td { background: #fffdf0; }
.liste .th-foto { width: 108px; }
.liste .th-foto .foto-kutu { width: 96px; height: 72px; border-radius: 4px; }
.liste .ad a { color: var(--mavi); font-weight: 700; }
.liste .ad small { display: block; color: var(--gri); font-weight: 400; margin-top: 2px; }
.liste .fy { font-weight: 700; color: var(--kirmizi); white-space: nowrap; }
.liste .sutun-m2, .liste .sutun-oda { white-space: nowrap; }
.liste .sag { white-space: nowrap; color: var(--gri); font-size: 13px; }
.etiket-satildi { display: inline-block; background: var(--kirmizi); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; margin-right: 6px; border-radius: 2px; vertical-align: 1px; }
.bos { background: var(--beyaz); border: 1px solid var(--cizgi); padding: 40px 20px; text-align: center; color: var(--gri); }

/* ilan detay */
.yol { font-size: 13px; color: var(--gri); margin-bottom: 8px; }
.detay-baslik { margin: 0 0 14px; font-size: 22px; color: var(--lacivert); }
.detay { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.galeri { background: var(--beyaz); border: 1px solid var(--cizgi); padding: 10px; border-radius: 6px; }
.galeri .buyuk { aspect-ratio: 4 / 3; background: #e8e8e8; display: grid; place-items: center; overflow: hidden; border-radius: 4px; position: relative; isolation: isolate; cursor: zoom-in; }
.galeri .buyuk img { position: relative; width: 100%; height: 100%; object-fit: contain; }
/* telefon: çift dokunuşta ve fotoğraf değiştirirken sayfa yakınlaşmasın; yatay kaydırma fotoğraf değiştirir */
.galeri, .galeri button, .kucukler button, .goruntuleyici button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.galeri .buyuk, .goruntuleyici { touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.galeri img, .goruntuleyici img { -webkit-user-drag: none; user-drag: none; }
.galeri .buyuk:focus-visible { outline: 3px solid var(--mavi); outline-offset: 2px; }
.galeri .ok { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); font-size: 22px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: background .15s; }
.galeri .ok:hover { background: #fff; }
.galeri .ok.geri { left: 10px; } .galeri .ok.ileri { right: 10px; }
.galeri .sayac { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.kucukler { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; }
.kucukler button { padding: 0; border: 2px solid transparent; background: #e8e8e8; cursor: pointer; flex: none; width: 84px; height: 62px; border-radius: 4px; overflow: hidden; position: relative; isolation: isolate; transition: border-color .12s; }
.kucukler button:hover { border-color: #bbb; }
.kucukler button.sec { border-color: var(--sari); }
.kucukler img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.kutu { background: var(--beyaz); border: 1px solid var(--cizgi); margin-bottom: 14px; border-radius: 6px; overflow: hidden; }
.kutu .fyb { padding: 14px; font-size: 26px; font-weight: 700; color: var(--kirmizi); border-bottom: 1px solid var(--cizgi); }
.kutu dl { margin: 0; padding: 6px 14px; }
.kutu dl div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dotted var(--cizgi); gap: 12px; }
.kutu dl div:last-child { border: 0; }
.kutu dt { color: var(--gri); }
.kutu dd { margin: 0; font-weight: 700; text-align: right; }
.kutu .govde { padding: 14px; white-space: pre-wrap; }
.kutu h3 { margin: 0; padding: 10px 14px; background: #f7f7f7; border-bottom: 1px solid var(--cizgi); font-size: 14px; }
.iletisim { padding: 14px; display: grid; gap: 10px; }

/* butonlar */
.btn { display: flex; align-items: center; justify-content: center; gap: 9px; text-align: center; padding: 14px; font-weight: 700; border-radius: 8px; border: 0; cursor: pointer; font-size: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); transition: background .15s, box-shadow .15s, transform .1s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { text-decoration: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-ara-tel { background: var(--sari); color: #000; }
.btn-ara-tel:hover { background: var(--sari-koyu); }
.btn-wa { background: var(--yesil); color: #fff; }
.btn-wa:hover { background: #1f8c3a; }
.btn-sahibinden { background: var(--beyaz); color: var(--mavi); border: 1px solid var(--mavi); box-shadow: none; }
.btn-sahibinden:hover { background: #f0f5ff; }
.satildi-bant { background: var(--kirmizi); color: #fff; padding: 10px 14px; font-weight: 700; margin-bottom: 14px; border-radius: 6px; }

/* büyük fotoğraf görüntüleyici */
.goruntuleyici { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 20px; }
.goruntuleyici img { max-width: 100%; max-height: 100%; object-fit: contain; }
.goruntuleyici button { position: absolute; border: 0; background: rgba(255, 255, 255, .16); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.goruntuleyici button:hover { background: rgba(255, 255, 255, .3); }
.goruntuleyici .kapat { top: 16px; right: 16px; } .goruntuleyici .g { left: 16px; top: 50%; } .goruntuleyici .i { right: 16px; top: 50%; }

/* alt */
.alt-bolum { background: var(--lacivert); color: #cdd8ee; padding: 26px 0; font-size: 14px; }
.alt-bolum .kap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.alt-bolum h4 { margin: 0 0 8px; color: #fff; }
.alt-bolum a { color: #fff; }
.alt-bolum p { margin: 0 0 4px; }
.telif { background: #14284b; color: #93a3c4; text-align: center; padding: 10px; font-size: 12px; }
.telif a { color: #93a3c4; }

/* mobil */
.yan-ac { display: none; }
@media (max-width: 860px) {
  .ust .kap { flex-wrap: wrap; gap: 10px; }
  .ara { order: 3; max-width: none; flex-basis: 100%; margin: 0; }
  .tel-ust { margin-left: auto; padding: 8px 12px; }
  .ana { grid-template-columns: minmax(0, 1fr); }
  .ana > * { min-width: 0; }
  .serit .kap span:last-child { display: none; }
  .logo { white-space: normal; }
  .yan-ac { display: block; width: 100%; padding: 12px; font-weight: 700; background: var(--beyaz); border: 1px solid var(--cizgi); border-radius: 8px; cursor: pointer; text-align: left; }
  .yan { display: none; }
  .yan.acik { display: block; }
  .vitrin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detay { grid-template-columns: minmax(0, 1fr); }
  .detay > * { min-width: 0; }
  .detay > div:first-child { display: contents; }
  .detay .galeri { order: 1; }
  .detay > div:last-child { order: 2; }
  .detay .kutu.aciklama { order: 3; margin-top: 0 !important; }
  .alt-bolum .kap { grid-template-columns: minmax(0, 1fr); }
  .liste thead { display: none; }
  .liste, .liste tbody { display: block; }
  .liste tr { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 0 10px; padding: 8px; border-bottom: 1px solid #ececec; }
  .liste td { display: block; border: 0; padding: 0; }
  .liste td.th-foto { grid-row: 1 / span 3; }
  .liste td.th-foto .foto-kutu { width: 96px; height: 76px; }
  .liste .sutun-m2, .liste .sutun-oda { display: none; }
  .liste td.fy { margin-top: 4px; }
  .liste td.sag { margin-top: 2px; }
}
@media (max-width: 480px) { .logo { font-size: 18px; } .tel-ust small { display: none; } .tel-ust b { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
