/* ==========================================================================
   Ekol Koltuk — Ortak üst bar, header ve footer (iç sayfalar)
   Ana sayfadaki (home.css) görünümün birebir aynısı. style.css içindeki
   genel header/nav/footer/.btn kurallarıyla çakışmaması için tüm sınıflar
   "ek-" önekli ve öğeler <div role="..."> olarak işaretlendi.
   ========================================================================== */

.ek-scope {
  --ek-navy: #0a1d4e;
  --ek-navy-800: #102a6b;
  --ek-navy-900: #061334;
  --ek-gold: #c9a227;
  --ek-gold-100: #f6edd2;
  --ek-wa: #16a34a;
  --ek-wa-600: #128a3e;
  --ek-ivory: #f7f5f0;
  --ek-ink: #1a1a2e;
  --ek-muted: #5a6072;
  --ek-line: #e4e2dc;
  --ek-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --ek-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-family: var(--ek-body);
  line-height: 1.5;
}
.ek-scope *, .ek-scope *::before, .ek-scope *::after { box-sizing: border-box; }
.ek-scope a { position: static; transition: color .16s ease, background-color .16s ease; }
.ek-scope a::after { content: none; }
.ek-scope svg { display: block; flex: 0 0 auto; }

/* Eski sabit header için bırakılan boşlukları kapat (yeni header akışta, sticky) */
:root { --header-offset: 0px !important; }
body.inner-page, body.ek-has-chrome { padding-top: 0 !important; }

.ek-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.ek-sr {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.ek-skip:focus {
  position: fixed !important; top: 8px; left: 8px; z-index: 999; width: auto; height: auto;
  clip: auto; clip-path: none; padding: 10px 16px; background: #fff; color: #0a1d4e; border-radius: 8px;
}

/* Butonlar */
.ek-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border: 2px solid transparent; border-radius: 999px;
  font: 700 0.92rem/1.2 var(--ek-body); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.ek-btn:hover { transform: translateY(-2px); }
.ek-btn-gold { background: var(--ek-gold); color: var(--ek-navy-900); box-shadow: 0 10px 24px rgba(201,162,39,.34); }
.ek-btn-gold:hover { background: #d8b12f; color: var(--ek-navy-900); }
.ek-btn-wa { background: var(--ek-wa); color: #fff; box-shadow: 0 10px 24px rgba(22,163,74,.32); }
.ek-btn-wa:hover { background: var(--ek-wa-600); color: #fff; }

/* Üst bar */
.ek-topbar {
  background: var(--ek-navy-900); color: rgba(255,255,255,.86);
  font-size: 0.82rem; min-height: 38px; display: flex; align-items: center;
}
.ek-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.ek-topbar-left { display: flex; align-items: center; gap: 20px; }
.ek-tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.ek-tb-item svg { opacity: .72; }
.ek-topbar a { color: var(--ek-gold); text-decoration: none; font-weight: 600; }
.ek-topbar a:hover { color: #fff; }
@media (max-width: 860px) {
  .ek-topbar { font-size: 0.76rem; }
  .ek-topbar-left .ek-tb-item + .ek-tb-item { display: none; }
}
@media (max-width: 700px) {
  .ek-tb-long { display: none; }
  .ek-topbar { font-size: 0.72rem; }
  .ek-topbar-inner { gap: 10px; }
}

/* Header */
.ek-header {
  position: sticky; top: 0; z-index: 290;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ek-line);
  transition: box-shadow .2s ease;
}
.ek-header.is-stuck { box-shadow: 0 6px 22px rgba(10,29,78,.1); }
.ek-header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }

.ek-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.ek-brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(140deg, var(--ek-navy) 0%, var(--ek-navy-800) 100%);
  color: var(--ek-gold); display: grid; place-items: center;
  font: 700 1.16rem/1 var(--ek-head); flex: 0 0 auto;
}
.ek-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.ek-brand-name { font: 700 1.28rem/1.1 var(--ek-head); color: var(--ek-navy); white-space: nowrap; }
.ek-brand-name span { color: var(--ek-gold); }
.ek-brand-tag { font-size: 0.66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ek-muted); font-weight: 600; white-space: nowrap; }

.ek-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; justify-content: center; }
.ek-nav a {
  padding: 9px 11px; text-decoration: none; font-size: 0.91rem; font-weight: 600;
  color: var(--ek-ink); border-radius: 9px; white-space: nowrap;
}
.ek-nav a:hover { background: var(--ek-ivory); color: var(--ek-navy); }
.ek-nav a.is-current { color: var(--ek-navy); background: var(--ek-gold-100); }

.ek-header-cta { display: flex; align-items: center; gap: 10px; }
.ek-toggle {
  display: none; width: 46px; height: 46px; padding: 0; cursor: pointer;
  border: 1px solid var(--ek-line); border-radius: 11px; background: #fff; place-items: center;
  align-content: center; /* satırlar yayılmasın: X ikonu düzgün kesişsin */
}
.ek-toggle span { display: block; width: 20px; height: 2px; background: var(--ek-navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.ek-toggle span + span { margin-top: 5px; }
.ek-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ek-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ek-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Telefon numarası üst barda zaten var; dar masaüstünde menüye yer aç */
@media (max-width: 1440px) { .ek-header-cta .ek-btn-call { display: none; } }

@media (max-width: 1330px) {
  .ek-toggle { display: grid; }
  .ek-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--ek-line);
    box-shadow: 0 18px 34px rgba(10,29,78,.14);
    padding: 8px 20px 18px; display: none;
  }
  .ek-nav.is-open { display: flex; }
  .ek-nav a { padding: 13px 10px; border-radius: 10px; }
}
@media (max-width: 620px) {
  .ek-header-inner { gap: 10px; min-height: 64px; }
  .ek-brand-mark { width: 36px; height: 36px; font-size: 1.02rem; border-radius: 10px; }
  .ek-brand-name { font-size: 1.08rem; }
  .ek-brand-tag { font-size: 0.57rem; letter-spacing: .1em; }
  .ek-header-cta { gap: 8px; }
  .ek-header-cta .ek-btn { padding: 11px 14px; }
  .ek-header-cta .ek-btn-wa .ek-wa-txt { display: none; }
  .ek-toggle { width: 44px; height: 44px; flex: 0 0 auto; }
}

/* Footer */
.ek-footer { background: var(--ek-navy-900); color: rgba(255,255,255,.72); padding-top: 62px; margin-top: 0; }
.ek-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.ek-footer .ek-fh {
  margin: 0 0 18px; color: #fff; font: 800 0.8rem/1.3 var(--ek-body);
  letter-spacing: .14em; text-transform: uppercase;
}
.ek-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ek-footer li { margin: 0; padding: 0; }
.ek-footer li::before { content: none; }
.ek-footer a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 0.92rem; }
.ek-footer a:hover { color: var(--ek-gold); }
.ek-footer p { margin: 0; color: rgba(255,255,255,.72); font-size: 0.92rem; line-height: 1.72; }
.ek-footer-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; text-decoration: none; }
.ek-footer-brand .ek-brand-name { color: #fff; }
.ek-footer-brand .ek-brand-tag { color: rgba(255,255,255,.5); }
.ek-fc { display: grid; gap: 15px; }
.ek-fc-item { display: flex; gap: 12px; }
.ek-fc-icon {
  width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px;
  background: rgba(201,162,39,.16); color: var(--ek-gold); display: grid; place-items: center;
}
.ek-fc-item small { display: block; font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.ek-fc-item b, .ek-fc-item a { font-size: 0.94rem; color: #fff; font-weight: 600; }
.ek-fc-item a:hover { color: var(--ek-gold); }
.ek-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.84rem;
}
.ek-footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 980px) { .ek-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px) { .ek-footer-grid { grid-template-columns: 1fr; } }
/* Mobil alt teklif barı varken footer içeriği barın altında kalmasın */
body.has-mobile-lead-bar .ek-footer { padding-bottom: 72px; }

@media print { .ek-topbar, .ek-header, .ek-footer { display: none !important; } }

/* ==========================================================================
   Semt sayfası zenginleştirme blokları (ekz-)
   ========================================================================== */
.ekz { margin: 2.2rem 0; }
.ekz h2 { margin-top: 2.2rem; }
.ekz-kunye { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 1.2rem 0 0; }
.ekz-kunye > div { background: #fff; border: 1px solid #e4e2dc; border-radius: 14px; padding: 14px 16px; }
.ekz-kunye dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a6a12; margin-bottom: 4px; }
.ekz-kunye dd { margin: 0; color: #0a1d4e; font-weight: 600; font-size: .95rem; line-height: 1.5; }
.ekz-fiyat { background: #fff; border: 1px solid #e4e2dc; border-radius: 16px; padding: 6px 18px 14px; margin-top: 1rem; }
.ekz-fiyat table { width: 100%; border-collapse: collapse; }
.ekz-fiyat th, .ekz-fiyat td { padding: 13px 4px; border-bottom: 1px solid #eeebe3; text-align: left; font-size: .98rem; }
.ekz-fiyat thead th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #5a6072; }
.ekz-fiyat tbody th { font-weight: 600; color: #1a1a2e; }
.ekz-fiyat td { font-weight: 700; color: #0a1d4e; text-align: right; white-space: nowrap; }
.ekz-fiyat thead th:last-child { text-align: right; }
.ekz-not { margin: 12px 0 0 !important; font-size: .86rem !important; color: #5a6072 !important; line-height: 1.6; }
.ekz-fotolar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 1rem; }
.ekz-foto { margin: 0; }
.ekz-foto img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; display: block; }
.ekz-foto figcaption { font-size: .82rem; color: #5a6072; margin-top: 7px; line-height: 1.45; }
.ekz-yorumlar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1rem 0; }
.ekz-yorum { margin: 0 0 1rem; background: #fff; border: 1px solid #e4e2dc; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; }
.ekz-yorumlar .ekz-yorum { margin: 0; }
.ekz-yildiz { color: #c9a227; letter-spacing: 2px; margin-bottom: 8px; }
.ekz-yorum p { margin: 0 !important; color: #3d4354; font-size: .94rem; line-height: 1.6; font-style: italic; flex: 1; }
.ekz-yorum footer { display: flex; align-items: center; gap: 10px; margin-top: 14px; background: none; padding: 0; }
.ekz-yorum footer::before { content: none; }
.ekz-avatar { width: 36px; height: 36px; border-radius: 50%; background: #0a1d4e; color: #c9a227; display: grid; place-items: center; font-weight: 700; font-size: .78rem; flex: 0 0 auto; }
.ekz-yorum b { display: block; color: #0a1d4e; font-size: .92rem; }
.ekz-yorum small { color: #5a6072; font-size: .78rem; }
.ekz-glink { font-weight: 700; color: #0a1d4e; text-decoration: underline; text-underline-offset: 3px; }
.ekz-komsu { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ekz-komsu li { margin: 0; padding: 0; }
.ekz-komsu li::before { content: none; }
.ekz-komsu a { display: inline-block; padding: 8px 14px; border: 1px solid #e4e2dc; border-radius: 999px; background: #fff; color: #0a1d4e; font-size: .88rem; font-weight: 600; text-decoration: none; }
.ekz-komsu a:hover { border-color: #c9a227; background: #f6edd2; }
.ekz-ozet { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; margin: 1rem 0 1.4rem; }
@media (max-width: 800px) {
  .ekz-fotolar, .ekz-yorumlar, .ekz-ozet { grid-template-columns: 1fr; }
}
.ekz-yorum-foto { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 11px; margin-bottom: 14px; display: block; }
.ekz > .ekz-yorum .ekz-yorum-foto { max-width: 420px; }

/* Üst bar: Instagram bağlantısı (telefonun solunda, sağa yaslı) */
.ek-topbar a.ek-tb-ig { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-left: auto; color: #fff; opacity: .9; font-weight: 600; white-space: nowrap; text-decoration: none; }
.ek-topbar a.ek-tb-ig:hover, .ek-topbar a.ek-tb-ig:focus-visible { color: #c9a227; opacity: 1; }
.ek-tb-ig svg { flex: none; }
@media (max-width: 700px) {
  .ek-tb-ig span { display: none; }
  .ek-topbar a.ek-tb-ig { min-width: 32px; justify-content: center; }
}

/* Çok uzun dikey kare 16/10 kırpılırken sırtlık + oturum görünsün */
.ekz-foto img[src*="isler/deri-tekli-koltuk-siyah"] { object-position: center 18%; }

/* ---- logo (2026-11-13) ---- */
.ek-brand-logo { display: block; height: 48px; width: auto; }
.ek-brand-isaret { display: block; height: 44px; width: auto; flex: none; background: #fff; border-radius: 10px; padding: 4px 6px; }
@media (max-width: 620px) { .ek-brand-logo { height: 40px; } }

/* ---- yayın öncesi mobil düzeltmeler (2026-11-13) ---- */
@media (max-width: 768px) {
  /* alttaki "Hemen Ara / WhatsApp Teklif" çubuğu varken yüzen yuvarlak düğme içeriği kapatmasın */
  .sticky-whatsapp { display: none !important; }
}
.ek-brand-logo { height: 54px; }
@media (max-width: 620px) { .ek-brand-logo { height: 44px; } }

/* ---- menüye Fiyat Listesi eklendi: bağlantılar sıkılaştırıldı (2026-11-13) ---- */
@media (min-width: 1331px) { .ek-nav a { padding-inline: 8px; font-size: 0.88rem; } }

/* ---- hamburger yok: dar ekranda menü, logonun altında yana kayan tek satır (2026-11-13) ---- */
@media (max-width: 1330px) {
  .ek-toggle { display: none !important; }
  .ek-header-inner { flex-wrap: wrap; row-gap: 0; }
  .ek-nav {
    position: static !important; display: flex !important; flex-direction: row !important; align-items: center !important;
    order: 5; flex: 0 0 calc(100% + 40px); margin-inline: -20px; padding: 0 20px 8px !important; gap: 2px !important;
    justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain;
    background: none !important; border: 0 !important; box-shadow: none !important;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
  }
  .ek-nav::-webkit-scrollbar { display: none; }
  .ek-nav a { flex: none; padding: 9px 11px !important; font-size: 0.9rem; white-space: nowrap; border-radius: 9px; }
  .ek-nav a:last-child { margin-right: 24px; }
}
@media (min-width: 900px) and (max-width: 1330px) { .ek-nav { justify-content: center; -webkit-mask-image: none; mask-image: none; } }

/* ---- üst menü: aşağı kaydırınca gizlenir, yukarı kaydırınca döner (2026-11-13) ---- */
.ek-header { transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.ek-header.nav-gizli { transform: translateY(-105%); }
@media (prefers-reduced-motion: reduce) { .ek-header { transition: none; } }
