/* =============================================================
   AtakentOS Theme — assets/css/main.css
   Chatbot Merkezli Emlak Teması
   ============================================================= */

/* 1. RESET & VARIABLES */
:root {
  --gold: #C9A84C;
  --gold-light: #F0D080;
  --gold-dark: #8B6914;
  --dark: #0F1117;
  --dark2: #181B24;
  --dark3: #232735;
  --card: #1E2130;
  --card-border: #2a2e3e;
  --text: #E8EAF0;
  --text-muted: #8892A4;
  --green: #2ECC8A;
  --blue: #4A90E2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font: 'Nunito', sans-serif;
  --font-display: 'Bebas Neue', 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%; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
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; }

/* 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: #0a0c14;
}
.atakent-btn-gold:hover { opacity: 0.9; }
.atakent-btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.4);
}
.atakent-btn-outline:hover { background: rgba(201,168,76,.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, #0a0c14 0%, #1a1d2e 60%, #0f1520 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.atakent-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.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(74,144,226,.06), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.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(36px, 6vw, 72px);
  line-height: 1.05;
  color: #fff;
  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;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--card-border);
  flex-wrap: wrap;
}
.hero-stat-n {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
}
.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(201,168,76,.4); transform: translateY(-2px); }

/* Site Kartı — Düzeltilmiş Layout */
.site-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-width: 0;
}
.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(46,204,138,.12); color: #2ECC8A; border: 1px solid rgba(46,204,138,.25); }
.badge-kiralik  { background: rgba(74,144,226,.12); color: #6BB8FF; border: 1px solid rgba(74,144,226,.25); }
.badge-uzman    { background: rgba(201,168,76,.1); color: var(--gold); border: 1px solid rgba(201,168,76,.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: #0a0c14; 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: #0a0c14;
  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: #2ECC8A; color: #0a1a10; }
.ilan-tag-kiralik { background: #4A90E2; color: #0a0c1a; }
.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ı */
.danisман-card { padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.danisman-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #0a0c14;
  flex-shrink: 0;
}
.danisman-info { flex: 1; }
.danisman-name { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.danisman-site { font-size: 12px; color: var(--gold); margin-bottom: 8px; display: flex; align-items: center; gap: 4px; }
.danisman-stats { display: flex; gap: 16px; margin-bottom: 12px; }
.danisman-stat { font-size: 12px; color: var(--text-muted); }
.danisman-stat strong { color: var(--text); font-weight: 700; }
.danisman-btn {
  width: 100%; padding: 10px;
  background: transparent;
  border: 1px solid rgba(201,168,76,.4);
  border-radius: var(--radius-sm);
  color: var(--gold); font-size: 13px; font-weight: 700;
  transition: background var(--transition);
}
.danisman-btn:hover { background: rgba(201,168,76,.08); }

/* 7. SECTION WRAPPER */
.atakent-section {
  padding: 60px 0;
}
.atakent-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.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(201,168,76,.12);
  border-color: rgba(201,168,76,.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: 999;
  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 {
  background: linear-gradient(135deg, #1a5c38, #25a244);
  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: #0a0c14;
  font-size: 26px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(201,168,76,.3);
  transition: transform var(--transition);
}
.atakent-chatbot-fab:hover { transform: scale(1.08); }
@media (max-width: 768px) {
  .atakent-chatbot-fab { display: none; }
}
.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(46,204,138,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(46,204,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,138,0); }
}

/* 11. CHATBOT PANEL */
.atakent-chatbot-panel {
  position: fixed;
  bottom: calc(var(--bottom-bar-h) + 84px);
  right: 20px;
  width: 360px;
  max-height: 560px;
  background: var(--dark2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
}
.atakent-chatbot-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}
@media (max-width: 768px) {
  .atakent-chatbot-panel {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
  }
}
.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(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.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: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--card-border);
  flex-shrink: 0;
}
.chat-option {
  background: var(--card);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  transition: border-color var(--transition), background var(--transition);
}
.chat-option:hover { border-color: var(--gold); background: rgba(201,168,76,.06); }
.chat-option i { font-size: 16px; color: var(--gold); }
.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(201,168,76,.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: #0a0c14;
  font-size: 18px;
  flex-shrink: 0;
}
.chat-success {
  background: rgba(46,204,138,.08);
  border: 1px solid rgba(46,204,138,.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: #2ECC8A; margin-bottom: 6px; }
.chat-success-text { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* 12. HEADER */
.atakent-header {
  position: sticky;
  top: 0;
  background: rgba(15,17,23,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  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: var(--gold);
  letter-spacing: 2px;
}
.atakent-logo span { color: var(--text); }
.atakent-nav { display: flex; gap: 24px; align-items: center; }
.atakent-nav a { color: var(--text-muted); font-size: 14px; font-weight: 600; transition: color var(--transition); }
.atakent-nav a:hover { color: var(--gold); text-decoration: none; }
@media (max-width: 768px) { .atakent-nav { display: none; } }

/* 13. FOOTER */
.atakent-footer {
  background: var(--dark2);
  border-top: 1px solid var(--card-border);
  padding: 48px 0 32px;
}
.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: var(--text-muted); line-height: 1.7; margin-top: 12px; }
.footer-col-title { font-size: 13px; font-weight: 800; color: var(--text); 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: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--card-border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* 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(10,12,20,.9), 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: #fff; }
.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: rgba(201,168,76,.5);
}

/* ── 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,
  .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
══════════════════════════════════════════════════════════ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 201;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
}
.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); }

@media (max-width: 768px) {
  .hamburger-btn { display: flex; }

  .atakent-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,12,20,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 200;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex;
  }
  .atakent-nav.open {
    transform: translateX(0);
  }
  .atakent-nav a {
    font-size: 28px;
    font-family: var(--font-display);
    letter-spacing: 2px;
    color: var(--text-muted);
  }
  .atakent-nav a:hover { color: var(--gold); }

  /* Header'daki talep butonu mobilde gizle */
  .atakent-header .atakent-btn { display: none !important; }
}

/* ══════════════════════════════════════════════════════════
   İLAN DETAY SAYFASI
══════════════════════════════════════════════════════════ */
.ilan-toolbar { 
  position: sticky; top: 66px;
  background: rgba(24,27,36,.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; }
  .ilan-sidebar { 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: #0a1a10; }
.badge-kiralik-lg { background: var(--blue); color: #fff; }
.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: #fff; 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: #fff; 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: #fff; 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: #fff; 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: #fff; 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; }

.ilan-specs-strip {
  display: flex; gap: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.spec-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 14px 8px; border-right: 1px solid var(--card-border);
  gap: 2px;
}
.spec-item:last-child { border-right: none; }
.spec-item i { font-size: 20px; color: var(--gold); }
.spec-val { font-size: 15px; font-weight: 800; color: var(--text); }
.spec-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }

/* İ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 { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }
.ilan-cta-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.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: #6BB8FF !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:#0a1a10; }
.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: #C9A84C !important; }

  /* İlan başlık */
  .ilan-title   { color: #000; font-size: 20pt; }
  .ilan-price-main { color: #C9A84C; font-size: 24pt; }

  /* Kart çerçeveleri */
  .atakent-card,
  .ilan-cta-box,
  .sidebar-widget { border: 1px solid #ccc !important; background: #fff !important; }

  /* Linkler görünsün */
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
  a[href^="#"]::after { content: ""; }

  /* Galeri tek büyük görsel */
  .gallery-main-wrap { page-break-inside: avoid; }
  .gallery-tip-badge { color: #000; background: #eee; }

  /* Özellikler */
  .ilan-specs-strip { border: 1px solid #ccc; }
  .spec-item { border-right: 1px solid #ccc; }
  .spec-val  { color: #000; }
  .spec-label { color: #555; }

  /* Detay tablosu */
  .detail-row { border-bottom: 1px solid #eee; }
  .detail-label { color: #555; }
  .detail-val   { color: #000; }

  /* Blog içerik */
  .single-content { color: #000; }
  .single-content h2,
  .single-content h3 { color: #000; border-left-color: #C9A84C; }
  .single-content blockquote { border-left-color: #C9A84C; background: #f9f9f9; color: #333; }

  /* Sayfa kırılma */
  .ilan-section,
  .ilan-header { page-break-inside: avoid; }

  /* Print header */
  body::before {
    content: "AtakentOS Emlak — atakentemirlak.com";
    display: block;
    font-size: 10pt;
    color: #888;
    padding-bottom: 8pt;
    border-bottom: 1pt solid #ccc;
    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(201,168,76,.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(46,204,138,.08);
  border: 1px solid rgba(46,204,138,.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; }

/* ── 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(201,168,76,.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;
}
.header-search-inner .search-form label {
  display: block;
  width: 100%;
}
.header-search-inner .search-field {
  width: 100%;
  font-size: 16px;
  padding: 11px 16px;
}
.header-search-inner .search-submit {
  padding: 11px 16px;
}
.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: var(--text-muted);
  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: var(--gold);
  transform: scaleX(0);
  transition: transform .2s;
  border-radius: 1px;
}
.atakent-nav-link:hover,
.atakent-nav-link.active { color: var(--gold); text-decoration: none; }
.atakent-nav-link:hover::after,
.atakent-nav-link.active::after { transform: scaleX(1); }
.atakent-nav-link[aria-current="page"] { color: var(--gold); }

.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% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--dark2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  min-width: 200px;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all .2s;
  z-index: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.atakent-nav-item.dropdown-open .atakent-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.atakent-dropdown-item {
  display: block;
  padding: 9px 14px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}
.atakent-dropdown-item:hover,
.atakent-dropdown-item.active {
  background: rgba(201,168,76,.1);
  color: var(--gold);
  text-decoration: none;
}

/* ── MOBİL MENÜ OVERLay ──────────────────────────────── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  transition: opacity .3s;
}
.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ── MOBİL MENÜ AÇIKKEN ──────────────────────────────── */
@media (max-width: 768px) {
  .atakent-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--dark2);
    border-left: 1px solid var(--card-border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 24px 32px;
    gap: 0;
    z-index: 200;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    display: flex;
  }
  .atakent-nav.open {
    transform: translateX(0);
  }
  /* Menü linkleri — mobil */
  .atakent-nav .atakent-nav-link,
  .atakent-nav > a {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .atakent-nav .atakent-nav-link:hover,
  .atakent-nav > a:hover {
    color: var(--gold);
  }
  .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: var(--dark3);
    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;
  }

  /* 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(201,168,76,.4);
  color: var(--gold);
  text-decoration: none;
}

.footer-contact-bar {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.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;
}
