/* ============================================================
   base.css — iki sitede BİREBİR AYNI yapısal/bileşen CSS.
   Hiçbir hex renk kodu içermez — hepsi theme.css'teki
   var(--color-*) değişkenlerinden gelir.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; text-wrap: balance; font-weight: 800; }
p { margin: 0 0 1em; color: var(--color-muted); }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--surface { background: var(--color-surface-2); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
}

/* ---------- Top info bar ---------- */
.topbar {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 13px;
}
.topbar a { color: var(--footer-text); }
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 18px; }
.topbar a { color: #fff; opacity: .92; }
.topbar a:hover { opacity: 1; color: var(--color-accent-2); text-decoration: none; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg, .topbar-item i { flex-shrink: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 60px; width: auto; }
@media (max-width: 560px) { .brand-logo img { height: 46px; } }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--color-ink); font-weight: 600; font-size: 14.5px; opacity: .82; }
.main-nav a:hover, .main-nav a[aria-current="page"] { opacity: 1; color: var(--color-accent); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--color-ink);
  position: relative; transition: transform .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-line);
    flex-direction: column; align-items: stretch;
    padding: 8px 20px 16px; gap: 4px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid var(--color-line); }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 14.5px;
  padding: 13px 24px; border-radius: 10px;
  border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--color-ink); border: 1.5px solid var(--color-line); }
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--color-surface-2), var(--color-bg));
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 360px; height: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--color-accent); }
.hero h1 { font-size: clamp(30px, 4.2vw, 48px); }
.hero .lede { font-size: 17px; max-width: 46ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.trust-row { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--color-muted); }
.trust-row b { color: var(--color-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--color-accent); box-shadow: 0 16px 32px -18px rgba(0,0,0,.25); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--color-surface-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { font-size: 13.5px; margin: 0; }

/* ---------- Tags / chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-surface-2); color: var(--color-accent);
  border: 1px solid var(--color-line);
  border-radius: 999px; padding: 6px 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
}
.chip {
  display: inline-flex; font-size: 13.5px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  background: var(--color-surface); border: 1px solid var(--color-line); color: var(--color-ink);
}
.chip.is-current { border-color: var(--color-accent); color: var(--color-accent); }

/* ---------- Sections generic ---------- */
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(22px, 2.4vw, 30px); }
.section-head p { max-width: 52ch; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--color-line); padding: 16px 0; }
.faq-item summary { font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--color-accent); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 10px; }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 14px; padding: 20px; }
.testimonial .stars { color: var(--color-accent); letter-spacing: 2px; font-size: 14px; margin-bottom: 8px; }
.testimonial .author { font-weight: 700; margin-top: 12px; font-size: 13.5px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--footer-bg), var(--color-accent-deep));
  color: #fff; border-radius: 18px; padding: 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.cta-banner p { color: rgba(255,255,255,.82); margin: 0; max-width: 480px; }

/* ---------- Contact cards ---------- */
.contact-card {
  display: block; text-align: center;
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 14px;
  padding: 24px 16px;
}
.contact-card .card-icon { margin: 0 auto 14px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 14px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--color-line); background: var(--color-bg); color: var(--color-ink);
  font-family: inherit; font-size: 14.5px;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 48px 0 24px; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: var(--footer-heading); text-decoration: underline; }
.site-footer h4 { color: var(--footer-heading); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-grid > div > a { display: block; margin-bottom: 10px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-bottom { border-top: 1px solid var(--footer-line); padding-top: 18px; font-size: 12.5px; opacity: .7; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call/WhatsApp bar ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -8px 24px rgba(0,0,0,.12);
}
.mobile-cta-bar .container { display: flex; gap: 10px; padding: 10px 16px; }
.mobile-cta-bar .btn { flex: 1; }
@media (max-width: 700px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 68px; }
}

/* ---------- Floating desktop WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.4);
}
@media (max-width: 700px) { .wa-fab { display: none; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--color-muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-accent); }

/* ---------- Map ---------- */
.map-embed { width: 100%; height: 320px; border: 0; border-radius: 14px; }

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