/* =============================================================
   AtakentOS Theme — assets/css/main.css
   Chatbot Merkezli Emlak Teması
   ============================================================= */

/* 1. RESET & VARIABLES */
:root {
  /* Monokrom Palet — introduce.com.tr tarzı siyah/beyaz tasarım */
  --gold: #111111;          /* Primary accent — butonlar, linkler, vurgu */
  --gold-light: #333333;    /* Primary hover */
  --gold-dark: #000000;     /* Secondary — tam siyah */
  --dark: #FFFFFF;          /* Body arka plan */
  --dark2: #FFFFFF;          /* İçerik arka plan */
  --dark3: #E5E5E5;          /* Border rengi */
  --card: #FFFFFF;
  --card-border: #E5E5E5;
  --text: #404040;           /* Paragraf / body yazı */
  --heading: #0A0A0A;        /* Başlık rengi */
  --text-muted: #737373;    /* Meta / gri yazı */
  --green: #111111;          /* Featured / success — monokrom */
  --blue: #111111;           /* Badge / highlight — monokrom */

  /* Monokrom değişkenler */
  --primary-color: #111111;
  --primary-hover: #333333;
  --secondary-color: #000000;
  --secondary-hover: #1A1A1A;
  --secondary-dark: #0A0A0A;
  --body-bg: #FFFFFF;
  --content-bg: #FFFFFF;
  --card-bg: #FFFFFF;
  --card-bg-soft: #FAFAFA;
  --heading-color: #0A0A0A;
  --body-color: #404040;
  --muted-color: #737373;
  --border-color: #E5E5E5;
  --footer-bg: #0A0A0A;
  --footer-bottom-bg: #000000;
  --footer-heading: #FFFFFF;
  --footer-text: #A3A3A3;
  --footer-link-hover: #FFFFFF;
  --success-color: #111111;
  --danger-color: #E74C3C;   /* Yalnızca form hata durumları için korunur */
  --light-blue-bg: #F5F5F5;
  --overlay-dark: rgba(0, 0, 0, 0.45);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.05);
  --shadow-dropdown: 0 8px 24px rgba(0, 0, 0, 0.10);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font: 'Inter', 'Roboto', 'Nunito', sans-serif;
  --font-display: 'Inter', 'Roboto', 'Nunito', sans-serif;
  --transition: 0.2s ease;
  --bottom-bar-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { color: var(--heading); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: var(--font); }

/* 2. LAYOUT */
.atakent-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .atakent-container { padding: 0 16px; }
}
.atakent-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.atakent-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
/* Responsive breakpoints: bkz. dosya sonu */

/* 3. TYPOGRAPHY */
.atakent-display {
  font-family: var(--font-display);
  letter-spacing: 1px;
  line-height: 1.1;
}
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; }
.section-title { font-size: 22px; font-weight: 800; color: var(--text); }
.section-sub { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.atakent-dropdown-item {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all .15s;
  white-space: normal;
  line-height: 1.4;
}
.atakent-dropdown-item:hover,
.atakent-dropdown-item.active {
  background: rgba(17,17,17,0.15);
  color: #111111;
  text-decoration: none;
}

/* 4. BUTTONS */
.atakent-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  border: none;
  transition: transform var(--transition), opacity var(--transition);
  cursor: pointer;
}
.atakent-btn:active { transform: scale(0.97); }
.atakent-btn-gold {
  background: var(--gold);
  color: #FFFFFF;
}
.atakent-btn-gold:hover { opacity: 0.9; }
.atakent-btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(17,17,17,.4);
}
.atakent-btn-outline:hover { background: rgba(17,17,17,.08); }
.atakent-btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--card-border);
}

/* 5. HERO SECTION */
.atakent-hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark2) 60%, var(--card) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.atakent-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.atakent-hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slider-overlay {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 20px 24px;
  background: rgba(3, 15, 24, 0.85); /* Depth color with opacity */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #ffffff;
  z-index: 2;
  text-align: center;
}
.hero-slider-overlay .overlay-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.hero-slider-overlay .overlay-sub {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 992px) {
  .atakent-hero-grid { grid-template-columns: 1fr; }
  .atakent-hero-slider { margin-top: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
  .atakent-hero { padding: 48px 0 40px; }
}
@media (max-width: 480px) {
  .atakent-hero { padding: 36px 0 32px; }
}
.atakent-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,17,17,.12), transparent 70%);
  pointer-events: none;
}
.atakent-hero::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -50px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,17,17,.06), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(17,17,17,.1);
  border: 1px solid rgba(17,17,17,.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 16px;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.7;
}
@media (max-width: 480px) {
  .hero-subtitle { font-size: 15px; margin-bottom: 24px; }
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .atakent-btn { width: 100%; justify-content: center; }
}
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--card-border);
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .hero-stats {
    gap: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
    padding-top: 20px;
  }
  .hero-stats > div {
    padding: 10px 0;
    border-right: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding-left: 12px;
  }
  .hero-stats > div:nth-child(2n) { border-right: none; }
  .hero-stats > div:nth-child(3),
  .hero-stats > div:nth-child(4) { border-bottom: none; }
}
.hero-stat-n {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}
@media (max-width: 480px) {
  .hero-stat-n { font-size: 26px; }
}
.hero-stat-l { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* 6. CARDS */
.atakent-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.atakent-card:hover { border-color: rgba(17,17,17,.4); transform: translateY(-2px); }

/* Site Kartı — Düzeltilmiş Layout */
.site-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--text);
  min-height: 220px;
}
.site-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}
.site-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  min-width: 0;
}
.site-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  flex-shrink: 0;
}
.site-card-text {
  min-width: 0;
  flex: 1;
}
.site-card-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
  margin-bottom: 4px;
}
.site-card-location {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.badge {
  font-size: 10px; font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-satilik  { background: rgba(34,34,34,.12); color: #111111; border: 1px solid rgba(34,34,34,.25); }
.badge-kiralik  { background: rgba(0,0,0,.12); color: #A0A5A8; border: 1px solid rgba(0,0,0,.25); }
.badge-uzman    { background: rgba(17,17,17,.1); color: var(--gold); border: 1px solid rgba(17,17,17,.2); }
.site-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  min-width: 0;
}
.advisor-mini {
  display: flex; align-items: center; gap: 7px;
  min-width: 0; flex: 1; overflow: hidden;
}
.advisor-mini-avatar {
  width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #FFFFFF; flex-shrink: 0;
}
.advisor-mini-name {
  font-size: 11px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.talep-btn {
  background: var(--gold); color: #ffffff;
  font-size: 11px; font-weight: 800;
  border: none; border-radius: 6px;
  padding: 7px 11px;
  transition: opacity var(--transition);
  white-space: nowrap; flex-shrink: 0;
  cursor: pointer; font-family: var(--font);
}
.talep-btn:hover { opacity: .85; }

/* İlan Kartı */
.ilan-card-img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--dark3);
  overflow: hidden;
}
.ilan-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ilan-card:hover .ilan-card-img img { transform: scale(1.04); }
.ilan-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 20px;
}
.ilan-tag-satilik { background: #111111; color: #FFFFFF; }
.ilan-tag-kiralik { background: #000000; color: #FFFFFF; }
.ilan-card-body { padding: 16px; }
.ilan-card-title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.ilan-card-info { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.ilan-card-price {
  font-family: var(--font-display);
  font-size: 24px; color: var(--gold);
  margin-bottom: 10px;
}
.ilan-card-meta { display: flex; gap: 16px; }
.ilan-meta-item { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.ilan-meta-item i { font-size: 14px; }
.ilan-card-footer { padding: 12px 16px; border-top: 1px solid var(--card-border); display: flex; justify-content: space-between; align-items: center; }

/* Danışman Kartı */
.danisman-card { 
  padding: 24px; display: flex; gap: 20px; align-items: center; 
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.danisman-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(17, 17, 17, 0.4);
}
@media (max-width: 480px) {
  .danisman-card { padding: 18px; gap: 16px; flex-direction: column; align-items: flex-start; }
}
.danisman-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.danisman-card:hover .danisman-avatar {
  border-color: var(--gold);
}
.danisman-info { flex: 1; min-width: 0; width: 100%; }
.danisman-name { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.danisman-site { 
  font-size: 13px; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; 
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 
}
.danisman-site i { color: var(--gold); font-size: 16px; flex-shrink: 0; }
.danisman-stats { display: flex; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.danisman-stat { font-size: 13px; color: var(--text-muted); background: rgba(0,0,0,0.03); padding: 4px 10px; border-radius: 20px; }
.danisman-stat strong { color: var(--text); font-weight: 800; }
.danisman-btn {
  width: 100%; padding: 12px;
  background: rgba(17,17,17,0.05);
  border: 1px solid rgba(17,17,17,0.3);
  border-radius: var(--radius-sm);
  color: var(--gold); font-size: 14px; font-weight: 700;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.danisman-btn:hover {
  background: var(--gold);
  color: #FFFFFF;
  border-color: var(--gold);
  transform: translateY(-1px);
}

/* 7. SECTION WRAPPER */
.atakent-section {
  padding: 60px 0;
}
@media (max-width: 768px) {
  .atakent-section { padding: 40px 0; }
}
@media (max-width: 480px) {
  .atakent-section { padding: 32px 0; }
}
.atakent-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 480px) {
  .atakent-section-header { margin-bottom: 20px; }
}
.see-all-link { font-size: 14px; color: var(--gold); font-weight: 700; }

/* 8. FILTER BAR */
.atakent-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.atakent-filters::-webkit-scrollbar { display: none; }
.filter-pill {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 13px; font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all var(--transition);
}
.filter-pill.active,
.filter-pill:hover {
  background: rgba(17,17,17,.12);
  border-color: rgba(17,17,17,.4);
  color: var(--gold);
}

/* 9. MOBILE BOTTOM BAR */
.atakent-bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-bar-h);
  background: var(--dark2);
  border-top: 1px solid var(--card-border);
  display: flex;
  z-index: 1200; /* chatbot'un altında, diğer her şeyin üstünde */
  display: none; /* sadece mobilde görünür */
}
@media (max-width: 768px) {
  .atakent-bottom-bar { display: flex; }
  body { padding-bottom: var(--bottom-bar-h); }
}
.bottom-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2px;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  transition: color var(--transition);
}
.bottom-bar-item i { font-size: 22px; }
.bottom-bar-item.active { color: var(--gold); }
.bottom-bar-item:hover { color: var(--gold); text-decoration: none; }
.bottom-bar-whatsapp {
  /* Monokrom tasarım */
  background: linear-gradient(135deg, #000000, #262626);
  color: #fff !important;
}

/* 10. FLOATING CHATBOT */
.atakent-chatbot-fab {
  position: fixed;
  bottom: calc(var(--bottom-bar-h) + 20px);
  right: 20px;
  width: 56px; height: 56px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  font-size: 26px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(17,17,17,.3);
  transition: transform var(--transition);
}
.atakent-chatbot-fab:hover { transform: scale(1.08); }
@media (max-width: 768px) {
  .atakent-chatbot-fab {
    display: flex !important;
    bottom: calc(var(--bottom-bar-h) + 16px) !important;
    right: 16px !important;
  }
}
.fab-pulse {
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: var(--green);
  border: 2px solid var(--dark);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(17,17,17,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(17,17,17,0); }
  100% { box-shadow: 0 0 0 0 rgba(17,17,17,0); }
}

/* 11. CHATBOT PANEL */
.atakent-chatbot-panel {
  position: fixed;
  bottom: calc(var(--bottom-bar-h) + 84px);
  right: 20px;
  width: 380px;
  max-height: 600px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  z-index: 1500; /* her şeyin üstünde */
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
.atakent-chatbot-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}
/* MOBİL — Bottom sheet tam ekran */
@media (max-width: 768px) {
  .atakent-chatbot-panel {
    position: fixed;
    bottom: var(--bottom-bar-h);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - var(--bottom-bar-h) - 60px);
    border-radius: 18px 18px 0 0;
    border-bottom: none;
    transform: translateY(100%);
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, visibility .3s ease;
    background: var(--card);
  }
  .atakent-chatbot-panel.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
  /* Klavye açıkken daha küçük yap */
  @supports (height: 100dvh) {
    .atakent-chatbot-panel {
      max-height: calc(100dvh - var(--bottom-bar-h) - 60px);
    }
  }
}
.chatbot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
  flex-shrink: 0;
}
.chatbot-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.chatbot-hinfo { flex: 1; }
.chatbot-title  { font-size: 15px; font-weight: 800; color: var(--text); }
.chatbot-status { font-size: 11px; color: var(--green); }
.chatbot-close {
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--card-border) transparent;
}
.msg-bot {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 0 12px 12px 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  max-width: 85%;
  animation: msgIn .2s ease;
}
.msg-user {
  background: rgba(17,17,17,.15);
  border: 1px solid rgba(17,17,17,.25);
  border-radius: 12px 0 12px 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  align-self: flex-end;
  max-width: 85%;
  animation: msgIn .2s ease;
}
@keyframes msgIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
.msg-typing { display: flex; gap: 4px; align-items: center; padding: 12px 14px; background: var(--card); border: 1px solid var(--card-border); border-radius: 0 12px 12px 12px; width: fit-content; }
.typing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: bounce .9s infinite; }
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes bounce { 0%,60%,100%{transform:translateY(0);} 30%{transform:translateY(-6px);} }
.chatbot-options {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--card-border);
  flex-shrink: 0;
}
.chat-option {
  background: var(--dark2);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-option:hover {
  border-color: var(--gold);
  background: rgba(17,17,17,0.12);
  color: var(--text);
  transform: translateX(6px);
}
.chat-option i {
  font-size: 16px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark3);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.chatbot-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--card-border); }
.chatbot-input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
}
.chatbot-input:focus { border-color: rgba(17,17,17,.5); }
.chatbot-input::placeholder { color: var(--text-muted); }
.chatbot-send {
  background: var(--gold);
  border: none;
  border-radius: 10px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  color: #FFFFFF;
  font-size: 18px;
  flex-shrink: 0;
}
.chat-success {
  background: rgba(17,17,17,.08);
  border: 1px solid rgba(17,17,17,.25);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.chat-success-icon { font-size: 36px; margin-bottom: 8px; }
.chat-success-title { font-size: 16px; font-weight: 800; color: #111111; margin-bottom: 6px; }
.chat-success-text { font-size: 12px; color: var(--text-muted); line-height: 1.6; }


/* 11b. CHATBOT FAB TOOLTIP & BOBBING */
.chatbot-fab-tooltip {
  position: fixed;
  bottom: calc(var(--bottom-bar-h) + 28px);
  right: 88px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(17,17,17,0.3);
  color: var(--text);
  padding: 11px 15px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  max-width: 250px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  z-index: 999;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  line-height: 1.5;
}
.chatbot-fab-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.94);
  border-right: 1px solid rgba(17,17,17,0.3);
  border-top: 1px solid rgba(17,17,17,0.3);
}
.chatbot-fab-tooltip.show {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .chatbot-fab-tooltip {
    bottom: calc(var(--bottom-bar-h) + 24px) !important;
    right: 80px !important;
    max-width: 200px;
    font-size: 11px;
    padding: 9px 12px;
  }
}
@keyframes bobbing {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.atakent-chatbot-fab.idle-bob, .chatbot-fab-tooltip.idle-bob {
  animation: bobbing 4s ease-in-out infinite;
}
.atakent-chatbot-fab.idle-bob:hover {
  animation-play-state: paused;
}

/* Dikkat Çekici Bildirim Animasyonları */
.fab-attention-up {
  transform: translateY(-90px) !important;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  animation: none !important;
}
.fab-attention-drop {
  transform: translateY(0px) !important;
  transition: transform 0.25s cubic-bezier(0.8, 0.2, 0.2, 1) !important;
  animation: fab-drop-bounce 0.5s ease 0.25s !important;
}
@keyframes fab-drop-bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-15px); }
  50%  { transform: translateY(8px); }
  70%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

/* 12. HEADER */
.atakent-header {
  position: sticky;
  top: 0;
  background: var(--gold);
  border-bottom: none;
  z-index: 100;
  padding: 14px 0;
  /* Arama overlay'i için gerekli */
  isolation: isolate;
}
.atakent-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.atakent-logo {
  font-family: var(--font-display);
  font-size: 26px;
  color: #ffffff;
  letter-spacing: 2px;
}
.atakent-logo span { color: #ffffff; }
.atakent-nav { display: flex; gap: 24px; align-items: center; } /* Masaüstü: her zaman görünür */
.atakent-nav > a,
.atakent-nav .atakent-nav-item > a.atakent-nav-link { position: relative; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 600; transition: color var(--transition); padding-top: 10px; }
.atakent-nav > a::before,
.atakent-nav .atakent-nav-item > a.atakent-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0.4);
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.4;
}
.atakent-nav > a:hover::before,
.atakent-nav .atakent-nav-item > a.atakent-nav-link:hover::before,
.atakent-nav .current-menu-item > a::before,
.atakent-nav .current_page_item > a::before {
  transform: scaleX(1);
  opacity: 1;
}
.atakent-nav > a:hover,
.atakent-nav .atakent-nav-item > a.atakent-nav-link:hover { color: #ffffff; text-decoration: none; }
/* Mobil nav display: bkz. hamburger bölümü */

/* 13. FOOTER */
.atakent-footer {
  background: #000000; /* Depth */
  border-top: 1px solid var(--card-border);
  padding: 48px 0 32px;
  color: #ffffff;
}
.atakent-footer a { color: #ffffff; }
.atakent-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
@media (max-width: 768px) { .atakent-footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-brand-desc { font-size: 14px; color: #ffffff; line-height: 1.7; margin-top: 12px; font-weight: 500; }
.footer-col-title { font-size: 13px; font-weight: 800; color: #000000; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: #ffffff; font-weight: 500; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 13px; color: #ffffff; }
.atakent-footer .footer-contact-item { color: #ffffff; }
.atakent-footer .footer-bottom-links a, .atakent-footer .footer-bottom-links span { color: #ffffff; }

/* 14. SINGLE İLAN */
.ilan-single-hero { position: relative; aspect-ratio: 16/8; overflow: hidden; }
.ilan-single-hero img { width: 100%; height: 100%; object-fit: cover; }
.ilan-single-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 50%); }
.ilan-single-hero-info { position: absolute; bottom: 24px; left: 24px; right: 24px; }
.ilan-single-price { font-family: var(--font-display); font-size: 40px; color: var(--gold); }
.ilan-single-title { font-size: 22px; font-weight: 800; color: var(--text); }
.ilan-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--card-border); }
.ilan-meta-card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.ilan-meta-card-val { font-size: 18px; font-weight: 800; color: var(--gold); }
.ilan-meta-card-lbl { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* 15. UTILITIES */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-green { color: var(--green); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ══════════════════════════════════════════════════════
   SİTE KARTI — OVERFLOW & RESPONSIVE FIXES
══════════════════════════════════════════════════════ */

/* Grid içindeki her kartın genişliği grid kolonuna göre */
.atakent-grid-3 > * {
  min-width: 0;
  overflow: hidden;
}

/* Konut Siteleri Arşiv tam genişlik */
#sites-grid {
  width: 100%;
}
#sites-grid > * {
  min-width: 0;
}

/* Site kartı text alanı overflow fix */
.site-card-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

/* İsim: wrap et, truncate etme */
.site-card-name {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

/* Hover border */
.site-card:hover {
  border-color: var(--gold-light);
}

/* ── RESPONSIVE BREAKPOINTS ─────────────────────────── */
/* Geniş masaüstü: 3 kolon */
@media (min-width: 1025px) {
  .atakent-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Tablet: 2 kolon */
@media (max-width: 1024px) and (min-width: 601px) {
  .atakent-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Mobil: 1 kolon */
@media (max-width: 600px) {
  .atakent-grid-3 {
    grid-template-columns: 1fr;
  }
  /* Danışman grid mobilde 1 kolon */
  .atakent-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ── Container küçük ekranlarda ─────────────────────── */
@media (max-width: 480px) {
  .atakent-container { padding: 0 12px; }
  .site-card { padding: 14px; }
  .site-card-name { font-size: 13px; }
}

/* ══════════════════════════════════════════════════════════
   HAMBURGer MENÜ — Mobil
══════════════════════════════════════════════════════════ */
/* Mobil kapat butonu: masaüstünde gizli */
.mobile-nav-close { display: none; }

.hamburger-btn {
  display: none !important; /* Masaüstü: TAMAMEN GİZLİ */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 10001;
  position: relative;
  border-radius: 8px;
  transition: background .2s;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger-btn:hover {
  background: rgba(255,255,255,0.1);
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hamburger YALNIZCA mobilde görünür */
@media (max-width: 768px) {
  .hamburger-btn {
    display: flex !important;
  }
  /* Masaüstü nav linkleri mobilde gizle (panel içinde gösterilir) */
  .atakent-header-cta { display: none !important; }
  .atakent-search-trigger { display: none !important; }
}

/* ══════════════════════════════════════════════════════════
   İLAN DETAY SAYFASI
══════════════════════════════════════════════════════════ */
.ilan-toolbar { 
  position: sticky; top: 66px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 10px 0; z-index: 90;
}
.ilan-toolbar-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.ilan-toolbar-actions { display: flex; gap: 6px; }

.ilan-detail-wrap { padding: 32px 0 60px; }
.ilan-detail-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 960px) {
  .ilan-detail-inner {
    grid-template-columns: 1fr;
  }
  /* Mobilde sidebar ALTA git — CTA kutusu içerik altında */
  .ilan-detail-inner .ilan-sidebar {
    order: 2;
  }
  .ilan-detail-inner .ilan-main {
    order: 1;
  }
}

/* Galeri */
.ilan-gallery { margin-bottom: 28px; }
.gallery-main-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark3);
  cursor: pointer;
}
.gallery-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.gallery-main-wrap:hover .gallery-main-img { transform: scale(1.02); }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--card-border); gap: 8px;
}
.gallery-placeholder i { font-size: 64px; }
.gallery-tip-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 20px;
}
.badge-satilik-lg { background: var(--green); color: #FFFFFF; }
.badge-kiralik-lg { background: var(--blue); color: var(--text); }
.gallery-count-btn {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--text); font-size: 12px; font-weight: 700;
  padding: 6px 14px; border-radius: 8px;
  display: flex; align-items: center; gap: 5px;
  cursor: pointer; font-family: var(--font);
}
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--text); width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer;
  transition: background .2s;
}
.gallery-arrow:hover { background: rgba(0,0,0,.8); }
.gallery-arrow-prev { left: 12px; }
.gallery-arrow-next { right: 12px; }

.gallery-thumbs {
  display: flex; gap: 8px; margin-top: 10px;
  overflow-x: auto; scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex-shrink: 0; width: 80px; height: 60px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent;
  background: var(--dark3);
  padding: 0; cursor: pointer;
  position: relative; transition: border-color .2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--gold); }
.thumb-more {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.65);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 13px; font-weight: 800;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 2000;
  display: none; align-items: center; justify-content: center;
}
.gallery-lightbox.open { display: flex; }
.lightbox-img-wrap { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox-counter {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  font-size: 13px; color: rgba(255,255,255,.6);
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: var(--text); width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer;
}
.lightbox-arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: var(--text); width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; cursor: pointer;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* İlan Header */
.ilan-header { margin-bottom: 24px; }
.ilan-header-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.ilan-title {
  font-size: clamp(20px,3vw,32px);
  font-weight: 800; color: var(--text); line-height: 1.25;
  margin-bottom: 6px;
}
.ilan-location { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.ilan-price-block { text-align: right; flex-shrink: 0; }
.ilan-price-main { font-family: var(--font-display); font-size: 36px; color: var(--gold); line-height: 1; }
.ilan-price-sub { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 480px) {
  .ilan-header-top { flex-direction: column; gap: 12px; }
  .ilan-price-block { text-align: left; }
  .ilan-price-main { font-size: 28px; }
}

.ilan-specs-strip {
  display: flex; gap: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (max-width: 480px) {
  .ilan-specs-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .ilan-specs-strip .spec-item:nth-child(3) { border-right: none; }
  .ilan-specs-strip .spec-item:nth-child(-n+3) { border-bottom: 1px solid var(--card-border); }
}
.spec-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 14px 6px; border-right: 1px solid var(--card-border);
  gap: 2px;
}
.spec-item:last-child { border-right: none; }
.spec-item i { font-size: 18px; color: var(--gold); }
.spec-val { font-size: 14px; font-weight: 800; color: var(--text); }
.spec-label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; text-align: center; }

/* İlan Sections */
.ilan-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--card-border); }
.ilan-section:last-child { border-bottom: none; }
.ilan-section-title {
  font-size: 16px; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.ilan-section-title i { color: var(--gold); }
.ilan-description { font-size: 15px; color: var(--text-muted); line-height: 1.85; }

.ilan-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--card-border); border-radius: var(--radius-md); overflow: hidden;
}
.detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px; border-bottom: 1px solid var(--card-border);
  font-size: 13px;
}
.detail-row:nth-child(odd) { border-right: 1px solid var(--card-border); }
.detail-row:last-child, .detail-row:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.detail-label { color: var(--text-muted); }
.detail-val { font-weight: 700; color: var(--text); }
@media (max-width: 600px) {
  .ilan-detail-grid { grid-template-columns: 1fr; }
  .detail-row:nth-child(odd) { border-right: none; }
  .detail-row:last-child { border-bottom: none; }
}

/* Harita placeholder */
.ilan-map-placeholder {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.ilan-map-placeholder > i { font-size: 48px; color: var(--card-border); margin-bottom: 12px; }
.map-site-name { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.map-sub { font-size: 13px; color: var(--text-muted); }

/* İlan Sidebar */
.ilan-sidebar { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 961px) {
  .ilan-sidebar { position: sticky; top: 110px; }
}
.ilan-cta-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px;
}
@media (max-width: 960px) {
  .ilan-cta-box { padding: 18px; }
}
.cta-price { font-family: var(--font-display); font-size: 32px; color: var(--gold); line-height: 1; }
.cta-price-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; margin-top: 2px; }
.cta-aidat { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.cta-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-muted);
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--card-border);
}
.cta-note i { color: var(--green); }

/* Özet liste */
.ilan-summary-list { list-style: none; display: flex; flex-direction: column; }
.ilan-summary-list li {
  display: flex; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--card-border);
  font-size: 13px;
}
.ilan-summary-list li:last-child { border-bottom: none; }
.ilan-summary-list span { color: var(--text-muted); }
.ilan-summary-list strong { color: var(--text); font-weight: 700; }
.text-green { color: var(--green) !important; }
.text-blue  { color: #111111 !important; }

/* Danışman sidebar */
.danisman-sidebar-box {}
.danisman-sidebar-inner { display: flex; gap: 12px; align-items: center; margin-bottom: 0; }
.danisman-sidebar-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; flex-shrink: 0;
}
.danisman-sidebar-name { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.danisman-sidebar-site { font-size: 11px; color: var(--gold); margin-bottom: 4px; }
.danisman-sidebar-stats { display: flex; gap: 10px; font-size: 11px; color: var(--text-muted); }

/* Benzer ilanlar */
.benzer-ilanlar-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.benzer-ilan-item { display: flex; gap: 10px; align-items: flex-start; }
.benzer-ilan-thumb {
  flex-shrink: 0; width: 72px; height: 56px;
  border-radius: 8px; overflow: hidden;
  background: var(--dark3); display: block; position: relative;
}
.benzer-ilan-thumb img { width: 100%; height: 100%; object-fit: cover; }
.benzer-placeholder { width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--card-border);font-size:24px; }
.benzer-tag { position:absolute;top:4px;left:4px;font-size:9px;font-weight:800;padding:2px 6px;border-radius:10px; }
.tag-satilik-sm { background:var(--green);color:#FFFFFF; }
.tag-kiralik-sm { background:var(--blue);color:#fff; }
.benzer-ilan-info { flex: 1; min-width: 0; }
.benzer-ilan-title { font-size: 12px; font-weight: 700; color: var(--text); text-decoration: none; display: block; line-height: 1.4; margin-bottom: 3px; }
.benzer-ilan-title:hover { color: var(--gold); }
.benzer-ilan-fiyat { font-size: 14px; font-weight: 800; color: var(--gold); }
.benzer-ilan-meta { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 3px; margin-top: 2px; }

/* Share popup */
.share-popup {
  position: fixed; bottom: 80px; right: 20px;
  background: var(--dark2); border: 1px solid var(--card-border);
  border-radius: var(--radius-md); padding: 16px;
  z-index: 500; min-width: 220px;
  transform: translateY(10px) scale(.95);
  opacity: 0; pointer-events: none;
  transition: all .2s;
}
.share-popup.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.share-popup-inner { position: relative; }
.share-popup-title { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.share-popup-close { position: absolute; top: -4px; right: -4px; background: var(--card); border: 1px solid var(--card-border); color: var(--text-muted); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; cursor: pointer; }

/* Danışman Profil */
.danisman-profile-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .danisman-profile-wrap { grid-template-columns: 1fr; } }
.danisman-profile-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius-md); padding: 28px;
  display: flex; gap: 24px; align-items: flex-start;
  margin-bottom: 28px; flex-wrap: wrap;
}
.danisman-profile-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--gold);
}
.danisman-profile-avatar--initial {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 36px; font-weight: 800;
}
.danisman-profile-unvan { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--gold); margin-bottom: 4px; }
.danisman-profile-isim { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.danisman-profile-site { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-bottom: 16px; }
.danisman-profile-stats { display: flex; gap: 24px; margin-bottom: 20px; }
.prof-stat { text-align: center; }
.prof-stat-n { font-family: var(--font-display); font-size: 28px; color: var(--gold); display: block; line-height: 1; }
.prof-stat-l { font-size: 11px; color: var(--text-muted); margin-top: 2px; display: block; }
.danisman-profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Page layout */
.page-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start;
}
@media (max-width: 900px) { .page-layout { grid-template-columns: 1fr; } }
.page-title { font-size: clamp(24px,4vw,42px); font-weight: 800; color: var(--text); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--card-border); }
.page-content { font-size: 16px; line-height: 1.85; color: var(--text); }

/* Fav buton aktif */
.fav-active { color: #E74C3C !important; border-color: rgba(231,76,60,.4) !important; }

/* ══════════════════════════════════════════════════════════
   PRINT CSS — İlan & Yazı Yazdırma
══════════════════════════════════════════════════════════ */
@media print {
  /* Gereksizleri gizle */
  .atakent-header,
  .atakent-bottom-bar,
  .atakent-chatbot-fab,
  #atakent-chatbot-wrap,
  .ilan-toolbar,
  .single-toolbar,
  .blog-topbar,
  .blog-sidebar,
  .ilan-sidebar,
  .related-posts,
  .post-nav,
  .single-share,
  .single-tags .blog-tag,
  .comments-area,
  .atakent-footer,
  .open-emlak-chatbot,
  .gallery-arrow,
  .gallery-count-btn,
  .gallery-thumbs,
  .gallery-lightbox,
  #reading-progress,
  .share-popup {
    display: none !important;
  }

  /* Sayfa ayarları */
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
    line-height: 1.6;
  }

  /* Logo baskı */
  .atakent-logo { color: #000 !important; }
  .atakent-logo span { color: #111111 !important; }

  /* İlan başlık */
  .ilan-title   { color: #000; font-size: 20pt; }
  .ilan-price-main { color: #111111; font-size: 24pt; }

  /* Kart çerçeveleri */
  .atakent-card,
  .ilan-cta-box,
  .sidebar-widget { border: 1px solid #DCE0E0 !important; background: #fff !important; }

  /* Linkler görünsün */
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #636E72; }
  a[href^="#"]::after { content: ""; }

  /* Galeri tek büyük görsel */
  .gallery-main-wrap { page-break-inside: avoid; }
  .gallery-tip-badge { color: #000; background: #F7F8F9; }

  /* Özellikler */
  .ilan-specs-strip { border: 1px solid #DCE0E0; }
  .spec-item { border-right: 1px solid #DCE0E0; }
  .spec-val  { color: #000; }
  .spec-label { color: #636E72; }

  /* Detay tablosu */
  .detail-row { border-bottom: 1px solid #F7F8F9; }
  .detail-label { color: #636E72; }
  .detail-val   { color: #000; }

  /* Blog içerik */
  .single-content { color: #000; }
  .single-content h2,
  .single-content h3 { color: #000; border-left-color: #111111; }
  .single-content blockquote { border-left-color: #111111; background: #F7F8F9; color: #222222; }

  /* Sayfa kırılma */
  .ilan-section,
  .ilan-header { page-break-inside: avoid; }

  /* Print header */
  body::before {
    content: "EMLAKBANA Florya — floryaemlakci.com";
    display: block;
    font-size: 10pt;
    color: #A0A5A8;
    padding-bottom: 8pt;
    border-bottom: 1pt solid #DCE0E0;
    margin-bottom: 16pt;
  }
}

/* ══════════════════════════════════════════════════════════
   İLETİŞİM SAYFASI
══════════════════════════════════════════════════════════ */
.iletisim-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .iletisim-layout { grid-template-columns: 1fr; }
}

.iletisim-form .iletisim-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 600px) {
  .iletisim-form .iletisim-row { grid-template-columns: 1fr; }
}

.iletisim-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.iletisim-field--full {
  margin-bottom: 14px;
}
.iletisim-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.iletisim-field label i { color: var(--gold); }
.required { color: var(--gold); }

.iletisim-field input,
.iletisim-field textarea,
.iletisim-field select {
  background: var(--dark2);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .2s;
}
.iletisim-field input:focus,
.iletisim-field textarea:focus,
.iletisim-field select:focus {
  border-color: rgba(17,17,17,.5);
}
.iletisim-field input::placeholder,
.iletisim-field textarea::placeholder { color: var(--text-muted); }
.iletisim-field select { cursor: pointer; }
.iletisim-field textarea { resize: vertical; min-height: 120px; }

.iletisim-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(17,17,17,.08);
  border: 1px solid rgba(17,17,17,.25);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}
.iletisim-success i { font-size: 28px; color: var(--green); flex-shrink: 0; }

.iletisim-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(231,76,60,.08);
  border: 1px solid rgba(231,76,60,.25);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #E74C3C;
}
.iletisim-error i { font-size: 18px; }

/* ══════════════════════════════════════════════════════════
   HEADER GENİŞLETİLMİŞ — Logo alt yazı, sağ taraf, arama
══════════════════════════════════════════════════════════ */
.atakent-logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: .5px;
  margin-left: 4px;
  align-self: flex-end;
  margin-bottom: 2px;
}
.atakent-logo-custom img {
  max-height: 44px;
  width: auto;
}
.atakent-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.atakent-header-cta {
  font-size: 13px;
  padding: 9px 18px;
}
@media (max-width: 960px) {
  .atakent-header-cta span { display: none; }
  .atakent-header-cta { padding: 9px 12px; min-width: 40px; justify-content: center; }
}
@media (max-width: 768px) {
  .atakent-header-cta { display: none !important; }
}

/* Arama trigger */
.atakent-search-trigger { position: relative; }

/* Ekran okuyucu metni — görsel olarak gizli (blog.css'e değil buraya ait:
   blog.css koşullu yüklenir, bu sınıf sitenin her sayfasında kullanılır) */
.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;
}

/* ── HEADER ARAMA OVERLAY ─────────────────────────────── */
.header-search-overlay {
  /* Header'ın içinde absolute — sticky header'ın hemen altında */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--dark2);
  border-top: 1px solid rgba(17,17,17,.2);
  border-bottom: 1px solid var(--card-border);
  padding: 14px 0;
  z-index: 300;
  /* Kapalı hali */
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  pointer-events: none;
  transition: clip-path .25s ease, opacity .2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.header-search-overlay.open {
  clip-path: inset(0 0 0% 0);
  opacity: 1;
  pointer-events: all;
}
.header-search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.header-search-inner .search-form {
  flex: 1;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-search-inner .search-form label {
  display: block;
  flex: 1;
  width: 100%;
}
.header-search-inner .search-field {
  width: 100%;
  font-size: 16px;
  padding: 11px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text);
}
.header-search-inner .search-field:focus {
  outline: none;
  border-color: var(--brand-primary, #111);
}
.header-search-inner .search-submit {
  width: 42px;
  height: 42px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary, #111);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.header-search-close {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color .2s, background .2s;
}
.header-search-close:hover {
  color: var(--text);
  background: var(--dark3);
}

/* ── ANA MENÜ DROPDOWN ────────────────────────────────── */
.atakent-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.atakent-nav-link {
  color: rgba(255,255,255,1);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  transition: color .2s;
  position: relative;
}
.atakent-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: #111111;
  transform: scaleX(0);
  transition: transform .2s;
  border-radius: 1px;
}
.atakent-nav-link:hover { color: #ffffff; text-decoration: none; }
.atakent-nav-link.active { color: #111111; text-decoration: none; font-weight: 700; }
.atakent-nav-link:hover::after,
.atakent-nav-link.active::after { transform: scaleX(1); }
.atakent-nav-link[aria-current="page"] { color: #111111; font-weight: 700; }

.atakent-dropdown-arrow {
  font-size: 12px;
  transition: transform .2s;
}
.atakent-nav-item.dropdown-open .atakent-dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown panel */
.atakent-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  min-width: 220px;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  z-index: 500;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.atakent-nav-item.dropdown-open .atakent-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.atakent-dropdown-item {
  display: block;
  padding: 10px 16px;
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all .15s;
  white-space: normal;
  line-height: 1.4;
}
.atakent-dropdown-item:hover,
.atakent-dropdown-item.active {
  background: rgba(17,17,17,0.15);
  color: #111111;
  text-decoration: none;
}

/* ── MOBİL MENÜ OVERLay ──────────────────────────────── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s;
}
.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ── MOBİL MENÜ AÇIKKEN ──────────────────────────────── */
/* Body scroll kilidi — menü açıkken */
body.nav-open {
  overflow: hidden !important;
  /* position:fixed KULLANMA — scroll pozisyonunu bozar */
}

@media (max-width: 768px) {
  .atakent-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 85vw);
    height: 100%;
    height: 100dvh;
    background: #FFFFFF;
    border-left: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 72px 20px 32px;
    gap: 0;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    display: flex;
    margin-top: 0 !important;
    isolation: isolate;
    box-shadow: -8px 0 40px rgba(0,0,0,.6);
  }
  .atakent-nav.open {
    transform: translateX(0);
  }

  /* Kapat butonu */
  .mobile-nav-close {
    display: flex !important;
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    transition: background .2s;
  }
  .mobile-nav-close:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
  }

  /* Menü linkleri — mobil */
  .atakent-nav .atakent-nav-link,
  .atakent-nav > a {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    padding: 14px 0;
    border-bottom: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .atakent-nav .atakent-nav-link:hover,
  .atakent-nav > a:hover,
  .atakent-nav .atakent-nav-link.active,
  .atakent-nav .atakent-nav-link[aria-current="page"] {
    color: #111111;
  }
  .atakent-nav .atakent-nav-link::after { display: none; }

  /* Mobilde dropdown — accordion */
  .atakent-nav-item { width: 100%; flex-direction: column; align-items: flex-start; }
  .atakent-dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    pointer-events: all;
    background: rgba(0,0,0,0.2);
    border: none;
    border-radius: 8px;
    margin: 4px 0 8px 16px;
    display: none;
    box-shadow: none;
  }
  .atakent-nav-item.dropdown-open .atakent-dropdown { display: block; }
  .atakent-dropdown-item {
    font-size: 15px;
    padding: 10px 12px;
    color: rgba(255,255,255,0.8);
  }
  .atakent-dropdown-item:hover {
    color: #111111;
    background: rgba(17,17,17,0.1);
  }

  /* Mobil menü CTA butonu */
  .atakent-nav .mobile-nav-cta {
    margin-top: 24px;
    width: 100%;
  }
}

/* ── FOOTER GENİŞLETİLMİŞ ───────────────────────────── */
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-social-btn {
  width: 36px; height: 36px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  text-decoration: none;
  transition: all .2s;
}
.footer-social-btn:hover {
  border-color: rgba(17,17,17,.4);
  color: var(--gold);
  text-decoration: none;
}

.footer-contact-bar {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .footer-contact-bar {
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-contact-item:hover { color: var(--gold); text-decoration: none; }
.footer-contact-item i { color: var(--gold); font-size: 16px; }

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--gold); }
/* wp_nav_menu footer-bottom için */
.footer-bottom-links .atakent-nav-link,
.footer-bottom-links a {
  font-size: 12px;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   İLAN KARTI — Tıklanabilir + Buton İyileştirme
══════════════════════════════════════════════════════════ */

/* Kart başlık linki hover */
.ilan-card-title a {
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}
.ilan-card-title a:hover {
  color: var(--gold);
  text-decoration: none;
}

/* Footer iki buton düzeni */
.ilan-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

/* İncele linki — altın outline stil */
.ilan-card-footer a.talep-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: border-color .2s, color .2s;
}
.ilan-card-footer a.talep-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  text-decoration: none;
}

/* Talep butonu — altın rengi */
.ilan-card-footer button.open-emlak-chatbot {
  background: rgba(17,17,17,.1);
  color: var(--gold);
  border: 1px solid rgba(17,17,17,.25);
  transition: background .2s;
}
.ilan-card-footer button.open-emlak-chatbot:hover {
  background: rgba(17,17,17,.2);
}

/* Kart görseline tıklanabilir overlay — görsel tıklayınca ilan sayfasına git */
.ilan-card-img-wrap {
  cursor: pointer;
}

/* ── MOBİL MENÜ KAPAT BUTONU ────────────────────────── */
@media (max-width: 768px) {
  .mobile-nav-close {
    display: flex !important; /* Sadece mobilde */
  }
  /* WordPress admin bar varsa menüyü alta it */
  body.admin-bar .atakent-nav {
    top: 46px;
    height: calc(100% - 46px);
    height: calc(100dvh - 46px);
  }
  @media (min-width: 782px) {
    body.admin-bar .atakent-nav {
      top: 32px;
      height: calc(100dvh - 32px);
    }
  }
}

/* ── MENÜ AÇIKKEN SAYFA İÇERİĞİ KAYMASIN ─────────── */
body.nav-open > *:not(.atakent-header):not(.mobile-menu-overlay):not(#atakent-chatbot-wrap) {
  /* Blur efekti — arka plan içeriği bulanıklaştır */
  /* filter: blur(2px); — performans için kapalı */
}

/* ══════════════════════════════════════════════════════════
   KAPSAMLI MOBİL RESPONSIVE — Ek Düzenlemeler
══════════════════════════════════════════════════════════ */

/* ── İLAN TOOLBAR MOBİL ──────────────────────────────── */
@media (max-width: 768px) {
  .ilan-toolbar {
    top: 58px; /* daha küçük header */
    padding: 8px 0;
  }
  .ilan-toolbar-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .ilan-toolbar-actions { gap: 4px; }
  .ilan-detail-wrap { padding: 20px 0 48px; }
}

/* ── GALERİ MOBİL ─────────────────────────────────────── */
@media (max-width: 480px) {
  .gallery-arrow {
    width: 32px; height: 32px;
    font-size: 16px;
  }
  .gallery-arrow-prev { left: 6px; }
  .gallery-arrow-next { right: 6px; }
  .gallery-thumb { width: 60px; height: 46px; }
}

/* ── DANISMAN PROFİL MOBİL ─────────────────────────────── */
@media (max-width: 600px) {
  .danisman-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  .danisman-profile-stats { justify-content: center; }
  .danisman-profile-actions { justify-content: center; }
  .danisman-profile-site { justify-content: center; }
  .danisman-profile-unvan { text-align: center; }
}

/* ── KONUT SİTESİ SINGLE MOBİL ────────────────────────── */
@media (max-width: 768px) {
  .ilan-single-hero { aspect-ratio: 4/3; }
  .ilan-single-price { font-size: 28px; }
  .ilan-single-title { font-size: 16px; }
  .ilan-single-hero-info { bottom: 14px; left: 14px; right: 14px; }
}

/* ── ARAMA SAYFASI MOBİL ───────────────────────────────── */
@media (max-width: 480px) {
  .search-form { flex-direction: column; }
  .search-form .search-field,
  .search-form .search-submit { width: 100%; }
}

/* ── İLETİŞİM SAYFASI MOBİL ───────────────────────────── */
@media (max-width: 480px) {
  .iletisim-layout { grid-template-columns: 1fr; }
  .iletisim-form .iletisim-row { grid-template-columns: 1fr; }
}

/* ── FİLTRE PILL MOBİL ─────────────────────────────────── */
@media (max-width: 480px) {
  .filter-pill { font-size: 12px; padding: 7px 14px; }
}

/* ── SAYFA LAYOUT MOBİL ────────────────────────────────── */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
}

/* ── SHARE POPUP MOBİL ──────────────────────────────────── */
@media (max-width: 480px) {
  .share-popup { right: 12px; left: 12px; bottom: 70px; }
}

/* ── BUTON DOKUNMA HEDEFLERİ (touch targets) ────────────── */
@media (max-width: 768px) {
  .blog-ctrl-btn,
  .atakent-search-trigger,
  .hamburger-btn,
  .chatbot-close,
  .gallery-count-btn {
    min-width: 44px;
    min-height: 44px;
  }
  /* Danışman butonu mobil */
  .danisman-btn { padding: 12px; font-size: 14px; }
  /* CTA fiyat */
  .cta-price { font-size: 28px; }
  /* Footer logo hizalama */
  .atakent-footer .atakent-logo { margin-bottom: 8px !important; }
  /* Section header bağlantı */
  .see-all-link { font-size: 13px; }
}

/* ── CHATBOT MOBİL — KESİN DÜZELTME ─────────────────────── */
@media (max-width: 768px) {
  .atakent-chatbot-panel {
    /* bottom-bar'ın hemen üstünde — çakışma yok */
    bottom: var(--bottom-bar-h) !important;
    max-height: calc(100dvh - var(--bottom-bar-h) - 58px) !important;
    /* iOS safe area */
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  /* İnput satırı klavyede kaymasın */
  .chatbot-input-row {
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
  /* Chatbot açıkken arka plan karart */
  body.chatbot-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1400;
    pointer-events: auto;
  }
  /* Chatbot açıkken FAB gizle */
  body.chatbot-open .atakent-chatbot-fab { display: none; }
}

/* ── BOTTOM BAR SAFE AREA (iOS) ─────────────────────────── */
@media (max-width: 768px) {
  .atakent-bottom-bar {
    padding-bottom: env(safe-area-inset-bottom, 0px);
    height: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom, 0px));
  }
  body {
    padding-bottom: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom, 0px));
  }
}

/* ── HANGİ SAYFELERİN TOOLBAR TOP DEĞERİ ───────────────── */
/* Header yüksekliği ~58px mobilde, düzeltme */
@media (max-width: 768px) {
  .blog-topbar,
  .single-toolbar { top: 58px; }
}

/* ── BENZER İLANLAR SIDEBAR MOBİL ──────────────────────── */
@media (max-width: 960px) {
  .benzer-ilanlar-list { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 12px; 
  }
  .benzer-ilan-item { flex-direction: column; }
  .benzer-ilan-thumb { width: 100%; height: 100px; }
}
@media (max-width: 480px) {
  .benzer-ilanlar-list { grid-template-columns: 1fr; }
  .benzer-ilan-item { flex-direction: row; }
  .benzer-ilan-thumb { width: 72px; height: 56px; flex-shrink: 0; }
}

/* ── LİGHTBOX MOBİL ─────────────────────────────────────── */
@media (max-width: 480px) {
  .lightbox-arrow { width: 36px; height: 36px; font-size: 18px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-img { max-width: 96vw; max-height: 80vh; }
}

/* Mobil sabit katman düzeltmeleri — 12 Ağustos 2026 */
@media (max-width: 768px) {
  #atakent-chatbot-fab {
    display: none !important;
  }

  .cookie-banner {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    z-index: 9998 !important;
  }
  /* Görünürlük yalnızca .visible sınıfına bağlı kalmalı; aksi halde
     rıza verilmiş olsa bile banner her sayfada görünür (KVKK/UX hatası) */
  .cookie-banner.visible {
    bottom: 78px !important;
  }

  .cookie-banner-inner {
    gap: 10px !important;
    padding: 12px !important;
  }

  .cookie-banner-text {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .atakent-bottom-bar {
    z-index: 9997 !important;
  }
}

/* Klavye erişilebilirliği */
.atakent-skip-link{position:fixed;left:12px;top:-80px;z-index:100000;background:#fff;color:#000000;padding:12px 16px;border:2px solid #000000;border-radius:6px;font-weight:700;text-decoration:none}
.atakent-skip-link:focus{top:12px;outline:3px solid #111111;outline-offset:2px}

/* Monokrom: beyaz header üzerinde açık renkli logoyu siyaha çevir.
   (Koyu logo dosyası yüklendiğinde bu kural kaldırılabilir.) */
.atakent-header .atakent-logo-custom img,
.atakent-header .custom-logo,
.atakent-header .atakent-logo img {
  filter: brightness(0);
}

/* ============================================================
   EMLAKBANA KURUMSAL RENK SİSTEMİ — Monokrom (introduce tarzı)
   Siyah: #0A0A0A | Beyaz: #FFFFFF | Griler: #737373 / #E5E5E5
   ============================================================ */
:root {
  --brand-navy: #0A0A0A;
  --brand-navy-dark: #000000;
  --brand-navy-soft: #262626;
  --brand-red: #111111;
  --brand-red-hover: #333333;
  --brand-surface: #FFFFFF;
  --brand-white: #FFFFFF;
  --brand-text: #0A0A0A;
  --brand-muted: #737373;
  --brand-border: #E5E5E5;

  --dark: var(--brand-surface);
  --dark2: var(--brand-white);
  --card: var(--brand-white);
  --card2: #F9FAFD;
  --text: var(--brand-text);
  --text-muted: var(--brand-muted);
  --card-border: var(--brand-border);
  --gold: var(--brand-red);
  --gold2: var(--brand-red-hover);
  --blue: var(--brand-navy-soft);
  --primary: var(--brand-navy);
  --accent: var(--brand-red);
}

body {
  background: var(--brand-surface);
  color: var(--brand-text);
}

.atakent-header {
  background: rgba(255,255,255,.98) !important;
  border-bottom: 1px solid var(--brand-border) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.07);
}

.atakent-logo,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  width: auto !important;
  height: auto !important;
  max-width: 220px !important;
  max-height: 66px !important;
  object-fit: contain;
}

.atakent-nav a,
.atakent-header a:not(.atakent-btn) {
  color: var(--brand-navy) !important;
}

.atakent-nav a:hover,
.atakent-nav .current-menu-item > a,
.atakent-nav .current_page_item > a {
  color: var(--brand-red) !important;
}

.atakent-btn-gold,
.talep-btn,
button[type="submit"].atakent-btn,
.open-emlak-chatbot.atakent-btn-gold {
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(17,17,17,.20);
}

.atakent-btn-gold:hover,
.talep-btn:hover,
button[type="submit"].atakent-btn:hover {
  background: var(--brand-red-hover) !important;
  border-color: var(--brand-red-hover) !important;
  transform: translateY(-1px);
}

.atakent-btn-outline,
.atakent-btn-dark {
  border-color: var(--brand-navy) !important;
  color: var(--brand-navy) !important;
}

.atakent-btn-outline:hover,
.atakent-btn-dark:hover {
  background: var(--brand-navy) !important;
  color: #fff !important;
}

.atakent-hero {
  /* Monokrom: introduce tarzı beyaz hero */
  background: var(--brand-white) !important;
  border-bottom: 1px solid var(--brand-border);
}

.atakent-hero .hero-title,
.atakent-hero .hero-stat-n {
  color: var(--brand-text) !important;
}
.atakent-hero .hero-subtitle,
.atakent-hero .hero-stat-l {
  color: var(--brand-muted) !important;
}

.hero-badge,
.filter-pill.active {
  background: rgba(17,17,17,.10) !important;
  border-color: rgba(17,17,17,.28) !important;
  color: var(--brand-red) !important;
}

.atakent-card,
.blog-card,
.site-card,
.danisman-card {
  background: var(--brand-white) !important;
  border-color: var(--brand-border) !important;
  box-shadow: 0 8px 26px rgba(0,0,0,.07);
}

.atakent-card:hover,
.blog-card:hover,
.site-card:hover,
.danisman-card:hover {
  border-color: rgba(17,17,17,.35) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}

h1, h2, h3, h4, h5, h6,
.atakent-display,
.blog-hero-title {
  color: var(--brand-navy) !important;
}

.atakent-hero h1,
.atakent-hero h2,
.atakent-hero h3 {
  color: #fff !important;
}

a {
  color: var(--brand-navy-soft);
}

a:hover {
  color: var(--brand-red);
}

.atakent-footer {
  background: var(--brand-navy-dark) !important;
  color: #fff !important;
}

.atakent-footer a,
.atakent-footer p,
.atakent-footer span {
  color: #DDE3EE;
}

.atakent-footer a:hover {
  color: #fff !important;
}

.atakent-bottom-bar {
  background: var(--brand-white) !important;
  border-top-color: var(--brand-border) !important;
}

.atakent-bottom-bar a,
.atakent-bottom-bar button {
  color: var(--brand-navy) !important;
}

/* Siyah zeminli WhatsApp kutusunda metin/ikon beyaz kalmalı
   (button.open-emlak-chatbot kuralından yüksek özgüllük gerekir) */
.atakent-bottom-bar button.bottom-bar-whatsapp,
.atakent-bottom-bar a.bottom-bar-whatsapp,
.atakent-bottom-bar .bottom-bar-whatsapp i,
.atakent-bottom-bar .bottom-bar-whatsapp span {
  color: #FFFFFF !important;
}

.atakent-bottom-bar .open-emlak-chatbot,
.atakent-bottom-bar .active {
  color: var(--brand-red) !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand-red) !important;
  box-shadow: 0 0 0 3px rgba(17,17,17,.12) !important;
}

@media (max-width: 768px) {
  .custom-logo {
    max-width: 168px !important;
    max-height: 54px !important;
  }
}


/* EMLAKBANA footer logo okunabilirlik plakası */
.atakent-footer .footer-brand .custom-logo-link { display:inline-flex; align-items:center; justify-content:center; background:#fff; padding:10px 14px; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.18); }
.atakent-footer .footer-brand .custom-logo { display:block; width:auto!important; max-width:200px!important; height:auto!important; max-height:60px!important; }
@media(max-width:768px){.atakent-footer .footer-brand .custom-logo-link{padding:8px 12px}.atakent-footer .footer-brand .custom-logo{max-width:168px!important;max-height:54px!important}}


/* EMLAKBANA footer bölüm başlıkları */
.atakent-footer .footer-col-title {
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.atakent-footer .footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  border-radius: 3px;
  background: #D5262C;
}


/* EMLAKBANA danışman profil üst alanı — SEO/GEO profil kartı */
.danisman-profile-hero{display:grid!important;grid-template-columns:190px minmax(0,1fr);gap:30px;align-items:center;padding:30px!important;margin-bottom:32px;background:linear-gradient(135deg,#fff 0%,#f6f8fc 100%)!important;border:1px solid var(--brand-border)!important;overflow:hidden;position:relative}
.danisman-profile-hero::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--brand-red)}
.danisman-profile-photo{width:190px;aspect-ratio:1;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.14)}
.danisman-profile-image{display:block;width:100%!important;height:100%!important;object-fit:cover}
.danisman-profile-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--brand-navy);color:#fff;font-size:52px;font-weight:800}
.danisman-profile-content{min-width:0}
.danisman-profile-kicker{display:inline-flex;color:var(--brand-red);font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px}
.danisman-profile-hero .danisman-name{font-size:36px!important;line-height:1.1!important;color:var(--brand-navy)!important;margin:0 0 7px!important}
.danisman-profile-role{font-size:16px;color:var(--brand-muted);font-weight:650;margin:0 0 14px}
.danisman-profile-sites{display:flex;align-items:flex-start;gap:8px;color:var(--brand-text);line-height:1.55;margin-bottom:18px}
.danisman-profile-sites i{color:var(--brand-red);font-size:19px;margin-top:2px}
.danisman-profile-badges{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:22px}
.danisman-profile-badges span,.danisman-profile-badges a{display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--brand-navy)!important;border:1px solid var(--brand-border);border-radius:999px;padding:8px 12px;font-size:13px;font-weight:700;text-decoration:none}
.danisman-profile-badges i{color:var(--brand-red)}
.danisman-profile-actions{display:flex;gap:12px;flex-wrap:wrap}
.danisman-profile-actions .atakent-btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 18px}
.danisman-call-btn{background:var(--brand-navy)!important;border:1px solid var(--brand-navy)!important;color:#fff!important}
.danisman-call-btn:hover{background:var(--brand-navy-soft)!important;color:#fff!important}
.danisman-answer-box{background:#f6f8fc;border-left:4px solid var(--brand-red);border-radius:0 12px 12px 0;padding:18px 20px;margin-bottom:26px;color:var(--brand-text)}
.danisman-answer-box p:last-child{margin-bottom:0}
.danisman-fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 28px}
.danisman-fact-grid p{margin:0!important;padding:13px 15px;background:#f6f8fc;border:1px solid var(--brand-border);border-radius:10px}
@media(max-width:768px){.danisman-profile-hero{grid-template-columns:1fr;text-align:center;padding:22px 18px!important;gap:20px}.danisman-profile-photo{width:150px;margin:0 auto}.danisman-profile-sites{justify-content:center}.danisman-profile-badges,.danisman-profile-actions{justify-content:center}.danisman-profile-actions .atakent-btn{width:100%}.danisman-profile-hero .danisman-name{font-size:30px!important}.danisman-fact-grid{grid-template-columns:1fr}}


/* EMLAKBANA konut siteleri arşivi — güvenli rehber kartları */
.sites-answer-box{max-width:850px;margin-top:20px;background:#fff;border:1px solid var(--brand-border);border-left:4px solid var(--brand-red);border-radius:0 12px 12px 0;padding:16px 18px;color:var(--brand-text);line-height:1.65}
.sites-answer-box p{margin:0}
.sites-sort-wrap{display:flex;align-items:center;gap:10px;margin-top:14px}
.sites-sort-wrap label{font-size:13px;font-weight:750;color:var(--brand-navy)}
.sites-sort-wrap select{background:#fff;border:1px solid var(--brand-border);border-radius:9px;padding:10px 34px 10px 12px;color:var(--brand-text);font:inherit}
.site-card-status-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.site-guide-status,.site-expert-status{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}
.site-guide-status{background:rgba(0,0,0,.07);color:var(--brand-navy)}
.site-expert-status{background:rgba(17,17,17,.08);color:var(--brand-red)}
.site-card-read-link{display:inline-flex;align-items:center;gap:5px;background:var(--brand-navy);color:#fff;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:750}
.site-card:hover .site-card-read-link{background:var(--brand-red)}
.badge-uzman-top{color:var(--brand-red)!important;background:rgba(17,17,17,.08)!important}
.site-group-header{border-bottom-color:var(--brand-border)!important}
.site-group-header h3{color:var(--brand-navy)!important}
@media(max-width:768px){.sites-sort-wrap{align-items:flex-start;flex-direction:column}.sites-sort-wrap select{width:100%}.site-card-footer{gap:10px;align-items:flex-start!important;flex-direction:column}.site-card-read-link{width:100%;justify-content:center}}


/* EMLAKBANA siteler karar rehberi */
.sites-decision-guide{padding:60px 0;background:#fff;border-top:1px solid var(--brand-border)}
.sites-guide-heading{max-width:780px;margin-bottom:28px}
.sites-guide-heading>span{display:block;color:var(--brand-red);font-size:12px;font-weight:850;letter-spacing:.08em;margin-bottom:7px}
.sites-guide-heading h2{font-size:clamp(26px,3vw,38px);margin:0 0 10px;color:var(--brand-navy)!important}
.sites-guide-heading p{color:var(--brand-muted);line-height:1.7;margin:0}
.sites-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sites-guide-grid article{border:1px solid var(--brand-border);border-radius:14px;padding:20px;background:#f9fafd}
.sites-guide-grid article>i{display:flex;width:42px;height:42px;align-items:center;justify-content:center;background:rgba(17,17,17,.09);color:var(--brand-red);border-radius:10px;font-size:21px;margin-bottom:14px}
.sites-guide-grid h3{font-size:17px;margin:0 0 8px;color:var(--brand-navy)!important}
.sites-guide-grid p{font-size:14px;line-height:1.65;color:var(--brand-muted);margin:0}
@media(max-width:900px){.sites-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.sites-decision-guide{padding:42px 0}.sites-guide-grid{grid-template-columns:1fr}}


/* EMLAKBANA siteler marka filtreleri ve görsel standardı */
.brand-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.filter-label{font-size:12px;font-weight:800;color:var(--brand-muted);text-transform:uppercase;letter-spacing:.05em;margin-right:2px}
.brand-filter{appearance:none;border:1px solid var(--brand-border);background:#fff;color:var(--brand-navy);border-radius:999px;padding:8px 12px;font-size:12px;font-weight:750;cursor:pointer;transition:.2s ease}
.brand-filter:hover,.brand-filter.active{background:var(--brand-navy);border-color:var(--brand-navy);color:#fff}
.site-icon-placeholder{position:relative;overflow:hidden;width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--brand-navy-dark),var(--brand-navy-soft));color:#fff;font-size:17px;font-weight:850;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.site-icon-placeholder::after{content:"";position:absolute;width:28px;height:28px;border:1px solid rgba(255,255,255,.16);border-radius:50%;right:-9px;bottom:-9px}
.site-icon img{display:block}
@media(max-width:768px){.brand-filters{gap:7px}.filter-label{width:100%;margin-bottom:2px}.brand-filter{flex:1 1 auto;text-align:center}}


/* EMLAKBANA proje karşılaştırma aracı */
.site-compare-tool{margin:28px 0 34px;padding:clamp(22px,4vw,38px);border:1px solid rgba(10,42,91,.12);border-radius:22px;background:linear-gradient(135deg,#f7f9fc 0%,#fff 72%);box-shadow:0 16px 42px rgba(10,42,91,.08)}
.site-compare-head{max-width:760px;margin-bottom:20px}.site-compare-head h2{margin:0 0 8px;color:#0a2a5b;font-size:clamp(1.45rem,3vw,2rem)}.site-compare-head p{margin:0;color:#526179;line-height:1.7}
.site-compare-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:14px;align-items:end}.site-compare-controls label{display:grid;gap:7px;color:#0a2a5b;font-weight:700}.site-compare-controls select{width:100%;min-height:48px;padding:0 40px 0 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#172033}
#compare-sites-btn{min-height:48px;padding:0 22px;border:0;border-radius:12px;background:#e30613;color:#fff;font-weight:800;cursor:pointer;box-shadow:0 9px 22px rgba(227,6,19,.22)}#compare-sites-btn:hover,#compare-sites-btn:focus-visible{background:#b90410}
.site-compare-result{margin-top:20px}.compare-table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.site-compare-result table{width:100%;min-width:620px;border-collapse:collapse}.site-compare-result th,.site-compare-result td{padding:14px 16px;border-bottom:1px solid #e8edf4;text-align:left;vertical-align:top}.site-compare-result th{color:#0a2a5b;background:#f7f9fc;font-weight:800}.site-compare-result tr:last-child th,.site-compare-result tr:last-child td{border-bottom:0}.site-compare-result a{color:#d40512;font-weight:800}.site-compare-note{margin:12px 0 0;padding:12px 14px;border-left:4px solid #e30613;border-radius:8px;background:#fff6f6;color:#5b2730;line-height:1.55}
@media(max-width:760px){.site-compare-controls{grid-template-columns:1fr}#compare-sites-btn{width:100%}.site-compare-tool{border-radius:16px}}
