/* assets/css/style.css */
:root {
  --kktc-red: #c0392b;
  --kktc-dark: #242933;
  --kktc-nav: #1e2430;
  --kktc-border: #e0e0e0;
  --kktc-bg: #f5f6f7;
  --kktc-text: #333;
}

* { box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 13px; color: var(--kktc-text); background: var(--kktc-bg); margin: 0; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--kktc-red); }

/* ── HEADER ── */
.ust_banner { background: var(--kktc-dark); height: 6px; }
header { background: #fff; position: sticky; top: 0; z-index: 500; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.ust { background: #fff; border-bottom: 1px solid var(--kktc-border); padding: 6px 0; font-size: 12px; }
.ust_menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.ust_menu li a { color: #555; }
.ust_menu li a:hover { color: var(--kktc-red); }

#pc { background: #fff; border-bottom: 1px solid var(--kktc-border); padding: 10px 0; }



#pc .ara input { border: 1px solid var(--kktc-border); border-right: none; padding: 7px 12px; font-size: 12px; width: 220px; outline: none; border-radius: 4px 0 0 4px; }
#pc .ara button { background: var(--kktc-red); color: #fff; border: none; padding: 7px 14px; border-radius: 0 4px 4px 0; cursor: pointer; }
.bildirim button { background: none; border: 1px solid var(--kktc-border); color: #555; padding: 6px 10px; border-radius: 4px; margin-left: 4px; cursor: pointer; }
.uyelik { background: var(--kktc-bg); border: 1px solid var(--kktc-border); border-radius: 4px; font-size: 12px; }
.uyelik a { color: var(--kktc-red); font-weight: 600; }

.nav-alt { background: var(--kktc-nav); }
.nav-alt ul { list-style: none; margin: 0; padding: 0; }
.nav-alt ul li > a { display: block; color: #ddd; font-size: 12px; font-weight: 600; padding: 13px 16px; transition: background 0.15s; }
.nav-alt ul li > a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.acilir { position: relative; }
.acilir .mega_menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--kktc-border); box-shadow: 0 6px 24px rgba(0,0,0,0.13); z-index: 999; padding: 18px 20px; min-width: 400px; border-top: 3px solid var(--kktc-red); }
.acilir:hover .mega_menu { display: block; }
.mega_menu > ul { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 0; padding: 0; list-style: none; }
.mega_menu > ul li a { color: #444; font-size: 12px; }
.mega_menu > ul li a:hover { color: var(--kktc-red); }
.btn-kktc { background: var(--kktc-red); color: #fff !important; border: none; padding: 8px 16px; border-radius: 4px; font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-kktc:hover { background: #a93226; }

/* ── HERO ── */
.hero-slider { background: linear-gradient(135deg, #1a1f2e 0%, #2d3446 50%, #1a1f2e 100%); height: 327px; display: flex; align-items: center; justify-content: center; }
.hero-text { color: #fff; text-align: center; }
.hero-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.hero-text p { font-size: 14px; color: #aaa; }

/* ── SEARCH FORM ── */
.hizli_ara_form { background: #fff; border-radius: 6px 6px 0 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); margin-top: -107px; position: relative; z-index: 10; }
.hizli_ara_form .nav { border-bottom: 1px solid var(--kktc-border); background: #f0f1f3; padding: 0 16px; display: flex; list-style: none; margin: 0; }
.hizli_ara_form .nav-link { font-size: 12px; font-weight: 600; color: #666; border: none; padding: 10px 16px; border-bottom: 3px solid transparent; border-radius: 0; background: none; cursor: pointer; }
.hizli_ara_form .nav-link.active { color: var(--kktc-red); border-bottom-color: var(--kktc-red); background: #fff; }
.hizli_ara_form .tab-content { padding: 16px; }
.hizli_ara_form .tab-pane { display: none; }
.hizli_ara_form .tab-pane.show.active { display: block; }
.hizli_ara_form select, .hizli_ara_form input[type=text] { width: 100%; border: 1px solid var(--kktc-border); border-radius: 4px; padding: 9px 12px; font-size: 12px; outline: none; }
.hizli_ara_form button[type=submit] { width: 100%; background: var(--kktc-red); color: #fff; border: none; border-radius: 4px; padding: 10px; font-size: 12px; font-weight: 600; cursor: pointer; }

/* ── STATS ── */
.istatistik .card { border: 1px solid var(--kktc-border); border-radius: 6px; transition: box-shadow 0.2s; cursor: pointer; }
.istatistik .card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.istatistik .card-body { padding: 14px 16px; }
.istatistik .fas { font-size: 22px; color: var(--kktc-red); }
.istatistik .fal { font-size: 18px; color: #ccc; }
.istatistik .anahtar { font-size: 10px; font-weight: 700; color: #888; letter-spacing: 0.5px; }
.istatistik .deger { font-size: 22px; font-weight: 700; color: var(--kktc-dark); }

/* ── SECTIONS ── */
.bolum_baslik { border-bottom: 2px solid var(--kktc-border); padding-bottom: 10px; }
.bolum_baslik .baslik { font-size: 17px; font-weight: 700; color: var(--kktc-dark); margin: 0; }
.bolum_baslik a { font-size: 12px; color: var(--kktc-red); font-weight: 600; }

/* ── LISTING CARDS ── */
.ilan { display: block; border: 1px solid var(--kktc-border); border-radius: 6px; overflow: hidden; transition: box-shadow 0.2s, transform 0.15s; background: #fff; }
.ilan:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); color: inherit; }
.ilan .resim { position: relative; overflow: hidden; background: linear-gradient(135deg, #e8eaed, #d0d3d8); height: 130px; display: flex; align-items: center; justify-content: center; }
.ilan .resim .img-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ilan .resim .img-placeholder i { font-size: 28px; color: #aaa; }
.ilan .resim .img-placeholder span { font-size: 10px; color: #999; text-align: center; }
.ilan .resim > span { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.55); color: #fff; font-size: 10px; padding: 3px 6px; font-weight: 600; }
.ilan h3 { font-size: 11px; color: #444; margin: 0; padding: 6px 8px 2px; line-height: 1.35; }
.ilan .fiyat { font-size: 13px; font-weight: 700; color: var(--kktc-dark); padding: 2px 8px 8px; }
.vitrin-call-price { color: var(--kktc-red); font-size: 11px; font-weight: 600; }

/* ── DETAIL PAGE ── */
.gallery-main { background: #1a1a2e; border-radius: 6px; overflow: hidden; position: relative; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.gallery-main .img-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #666; }
.gallery-main .img-placeholder i { font-size: 52px; color: #444; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; width: 100%; padding: 0 10px; pointer-events: none; }
.gallery-nav button { pointer-events: all; background: rgba(0,0,0,0.45); color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.gallery-thumbs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.gallery-thumbs .thumb { width: 68px; height: 50px; border-radius: 4px; overflow: hidden; background: linear-gradient(135deg, #d0d3d8, #bbbec4); border: 2px solid transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gallery-thumbs .thumb.active { border-color: var(--kktc-red); }
.photo-count { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 3px; }

.card.style-2 { border: 1px solid var(--kktc-border); border-radius: 6px; overflow: hidden; background: #fff; }
.card.style-2 .card-header { background: var(--kktc-bg); border-bottom: 1px solid var(--kktc-border); font-size: 13px; font-weight: 700; color: var(--kktc-dark); padding: 10px 16px; }
.card.style-2 .card-body { padding: 16px; }

.genel_bakis .card-body ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.genel_bakis .card-body li { background: var(--kktc-bg); border: 1px solid var(--kktc-border); border-radius: 5px; padding: 8px 12px; }
.genel_bakis .card-body .baslik { font-size: 10px; color: #888; font-weight: 600; display: block; text-transform: uppercase; }
.genel_bakis .card-body .deger { font-size: 13px; font-weight: 700; color: var(--kktc-dark); }

.butonlar { padding: 10px 8px; border-top: 1px solid var(--kktc-border); display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.butonlar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: #666; padding: 6px 10px; border-radius: 4px; border: 1px solid var(--kktc-border); background: #fff; }
.butonlar a:hover { background: var(--kktc-bg); color: var(--kktc-red); border-color: var(--kktc-red); }
.butonlar a i { font-size: 14px; }

.sag.iletisim .iletisim { display: flex; align-items: center; justify-content: space-between; background: var(--kktc-bg); border: 1px solid var(--kktc-border); border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; }
.sag.iletisim .iletisim:hover { border-color: var(--kktc-red); background: #fff5f5; }
.sag.iletisim .iletisim .baslik { font-size: 10px; color: #999; display: block; }
.sag.iletisim .iletisim .telefon { font-size: 14px; font-weight: 700; color: var(--kktc-dark); display: block; }
.firma-logo-placeholder { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #e8eaed, #d0d3d8); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.firma-logo-placeholder i { font-size: 28px; color: #aaa; }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: 12px; background: none; padding: 0; margin: 0; }
.breadcrumb-item + .breadcrumb-item::before { content: ">"; color: #aaa; }
.breadcrumb-item a { color: #666; }
.breadcrumb-item a:hover { color: var(--kktc-red); }

/* ── FOOTER ── */
footer { background: #1e2430; color: #aaa; margin-top: 32px; }
footer .ust { background: #262d3d; padding: 28px 0; border-bottom: none; }
footer .baslik { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,0.1); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 6px; }
footer ul li a { color: #999; font-size: 12px; }
footer ul li a:hover { color: var(--kktc-red); }
footer .orta { background: #1a2030; padding: 16px 0; font-size: 11px; color: #666; line-height: 1.7; }
footer .orta p { margin: 0 0 6px; }
footer .alt { background: #141820; padding: 12px 0; }

@media (max-width: 767px) {
  body { padding-bottom: 70px; }
  footer { display: none; }
}

/* ══════════════════════════════════════
   MOBILE HEADER STYLES
   Add these to the bottom of style.css
══════════════════════════════════════ */

/* Top bar */
.mobil-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #242933;
  padding: 10px 14px;
  gap: 10px;
}

.mobil-menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  padding: 4px 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.mobil-logo {
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  flex: 1;
  text-align: center;
}
.mobil-logo:hover { color: #fff; }

.mobil-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.mobil-icon-btn:hover { color: #fff; background: rgba(255,255,255,0.2); }

/* Search bar */
.mobil-search {
  background: #fff;
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;
}
.mobil-search .form-control {
  font-size: 13px;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 4px 0 0 4px;
  height: 38px;
}
.mobil-search .form-control:focus { box-shadow: none; border-color: #c0392b; }

/* Category pills */
.mobil-cats {
  background: #fff;
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid #e0e0e0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobil-cats::-webkit-scrollbar { display: none; }

.cat-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #f5f6f7;
  border: 1px solid #e0e0e0;
  color: #555;
  flex-shrink: 0;
}
.cat-pill:hover { border-color: #c0392b; color: #c0392b; }
.cat-pill.active { background: #c0392b; color: #fff; border-color: #c0392b; }

/* Off-canvas slide menu */
.mobil-offcanvas {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 1050;
  transition: left 0.28s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}
.mobil-offcanvas.open { left: 0; }

.mobil-offcanvas-header {
  background: #242933;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  position: sticky;
  top: 0;
}
.mobil-offcanvas-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
}

.mobil-offcanvas-body { padding-bottom: 40px; }

.offcanvas-user {
  background: #f5f6f7;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}

.offcanvas-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.offcanvas-menu > li > a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
  font-weight: 500;
}
.offcanvas-menu > li > a:hover { background: #f5f6f7; color: #c0392b; }
.offcanvas-menu > li > a i { color: #c0392b; width: 20px; }

.offcanvas-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fafafa;
}
.offcanvas-submenu li a {
  display: block;
  padding: 9px 16px 9px 40px;
  font-size: 12px;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
}
.offcanvas-submenu li a:hover { color: #c0392b; }

.offcanvas-divider {
  height: 8px;
  background: #f0f1f3;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

/* Overlay */
.mobil-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
}
.mobil-overlay.open { display: block; }

/* Sticky header on mobile */
@media (max-width: 767.98px) {
  header {
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
  body { padding-bottom: 70px; }
  footer { display: none !important; }
}

/* ── LOGO FIX — add to bottom of style.css ── */

/* Desktop logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  height: 42px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

/* Mobile logo */
.mob-logo-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mob-logo-wrap img {
  height: 30px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
}