/* ===================================================
   ATAŞEHİR ÇEKİCİ — ANA STİL DOSYASI
   =================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #C0392B;
  --primary-dark: #922B21;
  --primary-light:#FDEDEB;
  --accent:       #FF5252;
  --dark:         #111111;
  --dark-2:       #1E1E1E;
  --dark-3:       #2A2A2A;
  --white:        #FFFFFF;
  --bg:           #F7F7F7;
  --gray-100:     #EBEBEB;
  --gray-300:     #BBBBBB;
  --gray-500:     #777777;
  --gray-700:     #444444;
  --text:         #111111;
  --radius:       4px;
  --max-w:        1180px;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.14);

  /* Eski site değişkenleriyle uyumluluk aliasları */
  --yellow:       var(--accent);
  --yellow-dark:  var(--primary-dark);
  --yellow-light: var(--primary-light);
  --navy:         var(--dark);
  --navy-2:       var(--dark-2);
  --red:          var(--primary);
  --red-dark:     var(--primary-dark);
  --bg-alt:       var(--bg);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ===== HEADER — koyu tek şerit ===== */
#header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--primary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Görsel yüklendikten sonra JS has-img classı ekler */
.logo-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-icon.has-img { background: transparent; }
.logo-icon.has-img img { filter: invert(1); mix-blend-mode: screen; }

.logo-text { line-height: 1.15; }
.logo-name { font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; display: block; }
.logo-name span { color: var(--accent); }
.logo-sub { font-size: 0.6rem; color: rgba(255,255,255,0.4); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; display: block; }

nav { display: flex; align-items: center; gap: 0; }

nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: all 0.15s;
  white-space: nowrap;
}
nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
nav a.active { color: #fff; background: var(--primary); }

.header-phone-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.header-phone-wrap svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2.2; flex-shrink: 0; }

/* ===== BUTTONS — keskin köşe ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-yellow { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-yellow:hover { background: #cf6d17; border-color: #cf6d17; }
.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-2); }
.btn-navy { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-navy:hover { background: var(--dark-2); }
.btn-red { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-red:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--dark); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-lg svg { width: 18px; height: 18px; }
.btn-sm { padding: 0.4rem 0.875rem; font-size: 0.8rem; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.5rem 1.25rem 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 500; padding: 0.65rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.active { color: #fff; }
.mobile-nav .mn-phone { color: var(--accent); font-weight: 700; }

/* ===== PAGE BANNER ===== */
.page-banner {
  background: var(--dark);
  color: #fff;
  padding: 3.5rem 0 3rem;
  border-bottom: 3px solid var(--primary);
}
.page-banner-inner { position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--accent); }
.page-banner-label {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.page-banner h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.page-banner p { font-size: 0.95rem; color: rgba(255,255,255,0.55); max-width: 480px; }

/* ===== SECTION STYLES ===== */
section { padding: 5rem 0; }

.section-head { margin-bottom: 3rem; }
.section-head.centered { text-align: center; }
.section-head.centered .section-desc { margin-inline: auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
}
.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.section-desc { font-size: 0.95rem; color: var(--gray-500); max-width: 540px; line-height: 1.75; }

/* ===== CTA BAND — merkezi ===== */
.cta-band {
  background: var(--primary);
  padding: 3.5rem 0;
}
.cta-band-accent { display: none; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band-text p { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.cta-band-text h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.cta-band-text h2 span { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5); }
.cta-band-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }

/* ===== SERVICE CARDS — yatay liste stili ===== */
.svc-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.18s;
}
.svc-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.svc-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s;
}
.svc-card:hover .svc-icon { background: var(--primary); }
.svc-card:hover .svc-icon svg { stroke: #fff; }
.svc-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.svc-card-body { flex: 1; }
.svc-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.35rem; }
.svc-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 0.75rem; }
.svc-card .card-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.15s;
}
.svc-card .card-link:hover { gap: 0.45rem; }

/* ===== FEATURES ===== */
.feature-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.feature-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.feature-item p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.65; }

/* ===== STAT CARDS — koyu arka plan ===== */
.stat-card {
  background: var(--dark);
  border: none;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--primary);
}
.stat-card.dark { background: var(--dark); }
.stat-card.dark .sc-num { color: var(--accent); }
.stat-card.dark .sc-lbl { color: rgba(255,255,255,0.4); }
.sc-num { font-size: 2.25rem; font-weight: 900; color: var(--accent); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.5rem; }
.sc-lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); font-weight: 600; }

/* ===== TESTIMONIALS ===== */
.testi-card {
  background: var(--bg);
  border: none;
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 3px solid var(--primary);
  transition: all 0.2s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.testi-stars svg { width: 15px; height: 15px; fill: var(--accent); stroke: none; }
.testi-quote { font-size: 0.9rem; color: var(--gray-700); line-height: 1.8; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.testi-name { font-size: 0.875rem; font-weight: 700; color: var(--dark); }
.testi-label { font-size: 0.72rem; color: var(--gray-500); }

/* ===== DISTRICTS — küçük kart grid ===== */
.districts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.5rem; margin-top: 1rem; }
.dpill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 0.55rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.15s;
}
.dpill:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.dpill svg { width: 11px; height: 11px; fill: none; stroke: var(--primary); stroke-width: 2.5; flex-shrink: 0; }
.badge-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--dark);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
}
.badge-more {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  padding: 0.55rem 0.875rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ===== FORM ===== */
.fg { margin-bottom: 1rem; }
.fg label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--dark); margin-bottom: 0.4rem; }
.fg input, .fg textarea, .fg select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.fg textarea { min-height: 110px; }
.success-msg {
  display: none;
  text-align: center;
  padding: 1.25rem;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius);
  color: #065F46;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.5rem;
  z-index: 95;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.15s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.wa-float svg { width: 26px; height: 26px; }

/* ===== MOBILE STICKY ===== */
#mob-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 0.65rem 1rem;
  background: var(--dark);
  border-top: 2px solid var(--primary);
  gap: 0.5rem;
}
#mob-cta a { flex: 1; justify-content: center; }

/* ===== FOOTER — 3 sütun ===== */
#footer { background: var(--dark); color: rgba(255,255,255,0.5); border-top: 4px solid var(--primary); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
}
.footer-brand { margin-bottom: 1rem; }
.footer-brand .logo-name { color: #fff; }
.footer-about { font-size: 0.875rem; line-height: 1.8; max-width: 300px; margin: 1rem 0 1.5rem; color: rgba(255,255,255,0.45); }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.45); transition: color 0.15s; display: flex; align-items: center; gap: 0.5rem; }
.footer-links a:hover { color: #fff; }
.footer-links a::before { content: '—'; color: var(--primary); font-size: 0.75rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.fci { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }
.fci svg { width: 14px; height: 14px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 3px; }
.fci a, .fci span { color: rgba(255,255,255,0.45); }
.fci a:hover { color: #fff; }
.social-row { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.soc-btn { width: 36px; height: 36px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); transition: all 0.15s; }
.soc-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.soc-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  padding: 1.25rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2.5rem; }
}

@media (max-width: 768px) {
  nav { display: none; }
  .header-phone-wrap { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  #mob-cta { display: flex; }
  #footer { padding-bottom: 5rem; }
  section { padding: 3.5rem 0; }
  .wa-float { bottom: 5.5rem; right: 1rem; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-btns { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
