/*
Theme Name: Acil Bilgisayarcım
Theme URI: https://acilbilgisayarcim.com/
Author: Acil Bilgisayarcım
Description: Teknik Soruna Acil Çözüm — yerinde bilgisayar teknik servisi için marka teması. Kırmızı-siyah kurumsal tasarım, WhatsApp servis çağrısı, hizmetler, çalışma saatleri, hizmet bölgesi ve iletişim haritası.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acilbilgisayarcim
Tags: business, custom-colors, custom-logo, featured-images, right-sidebar, translation-ready
*/

:root {
  --ab-red: #e1141c;
  --ab-red-dark: #b90f16;
  --ab-ink: #141414;
  --ab-ink-soft: #2a2a2e;
  --ab-gray: #6b6b70;
  --ab-bg: #f7f7f8;
  --ab-border: #e7e7ea;
  --ab-wa: #25d366;
  --ab-wa-dark: #1da851;
  --ab-radius: 16px;
  --ab-shadow: 0 10px 30px rgba(20, 20, 20, 0.10);
  --ab-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ab-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ab-ink);
  background: var(--ab-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ab-red); text-decoration: none; }
a:hover { color: var(--ab-red-dark); }

.ab-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.ab-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ab-red);
  margin: 0 0 10px;
}

.ab-eyebrow-light { color: #ffd7d9; }

/* ---------- Header ---------- */

.ab-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--ab-border);
}

.ab-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.ab-brand { display: flex; align-items: center; }
.ab-brand-logo { height: 48px; width: auto; }

.ab-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.ab-nav a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ab-ink);
}

.ab-nav a:hover { color: var(--ab-red); }

.ab-header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ab-red);
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.ab-header-call:hover { background: var(--ab-red-dark); color: #fff; }
.ab-header-call svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */

.ab-hero {
  position: relative;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(225, 20, 28, 0.55), transparent 60%),
    linear-gradient(135deg, #17171a 0%, #26262b 55%, #101013 100%);
  color: #fff;
  overflow: hidden;
}

.ab-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 420px;
  height: 420px;
  border: 40px solid rgba(225, 20, 28, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.ab-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  padding: 72px 20px;
}

.ab-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ab-hero h1 em {
  font-style: italic;
  color: var(--ab-red);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.ab-hero-lead {
  margin: 0 0 28px;
  font-size: 17.5px;
  line-height: 1.65;
  color: #d8d8de;
  max-width: 560px;
}

.ab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: var(--ab-radius);
  border: 2px solid transparent;
  transition: transform 0.06s ease, background 0.15s ease;
}

.ab-btn:active { transform: translateY(1px); }
.ab-btn svg { width: 20px; height: 20px; }

.ab-btn-wa {
  background: var(--ab-wa);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.ab-btn-wa:hover { background: var(--ab-wa-dark); color: #fff; }

.ab-btn-red {
  background: var(--ab-red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(225, 20, 28, 0.35);
}

.ab-btn-red:hover { background: var(--ab-red-dark); color: #fff; }

.ab-btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.ab-btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

.ab-hero-tech {
  margin: 22px 0 0;
  font-size: 14px;
  color: #b9b9c2;
}

.ab-hero-art { text-align: center; }
.ab-hero-art img { max-height: 300px; margin: 0 auto; }

/* ---------- Info bar ---------- */

.ab-infobar { background: #fff; border-bottom: 1px solid var(--ab-border); }

.ab-infobar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ab-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 18px;
  border-right: 1px solid var(--ab-border);
  color: inherit;
}

.ab-info:last-child { border-right: none; }
.ab-info:hover { color: inherit; background: var(--ab-bg); }

.ab-info-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ab-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-info-icon svg { width: 18px; height: 18px; }

/* Etiket/değer satır içi span: blok yapıp üst üste yığılırlar. */
.ab-info > span:last-child,
.ab-contact-row > span:last-child { flex: 1; min-width: 0; }

.ab-info-label { display: block; font-size: 12.5px; color: var(--ab-gray); margin: 0 0 2px; }
.ab-info-value { display: block; font-size: 14.5px; font-weight: 800; margin: 0; line-height: 1.4; }

/* ---------- Sections ---------- */

.ab-section { padding: 76px 0; }

.ab-section-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }

.ab-section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  font-style: italic;
}

.ab-section-head p.ab-lead {
  margin: 14px 0 0;
  color: var(--ab-gray);
  font-size: 16.5px;
}

.ab-grid {
  display: grid;
  gap: 22px;
}

.ab-grid-3 { grid-template-columns: repeat(3, 1fr); }

.ab-card {
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  padding: 28px;
  box-shadow: 0 2px 0 rgba(20, 20, 20, 0.02);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ab-card:hover { transform: translateY(-3px); box-shadow: var(--ab-shadow); }

.ab-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ab-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.ab-card-icon svg { width: 24px; height: 24px; }

.ab-card h3 { margin: 0 0 8px; font-size: 18.5px; font-weight: 800; }
.ab-card p { margin: 0; color: var(--ab-gray); font-size: 14.5px; line-height: 1.6; }

.ab-accessories {
  margin-top: 30px;
  background: #fff;
  border: 2px dashed var(--ab-red);
  border-radius: var(--ab-radius);
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.ab-accessories strong { font-size: 17px; }
.ab-accessories span { color: var(--ab-gray); font-size: 14.5px; flex: 1 1 300px; }

.ab-accessories a {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--ab-red);
  white-space: nowrap;
}

/* ---------- Nasıl çalışır ---------- */

.ab-section-dark {
  background:
    radial-gradient(900px 380px at 10% 110%, rgba(225, 20, 28, 0.4), transparent 60%),
    linear-gradient(160deg, #17171a, #232327);
  color: #fff;
}

.ab-section-dark .ab-section-head h2 { color: #fff; }
.ab-section-dark .ab-section-head p.ab-lead { color: #c9c9d1; }

.ab-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ab-radius);
  padding: 28px;
}

.ab-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ab-red);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 16px;
}

.ab-step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: #fff; }
.ab-step p { margin: 0; color: #c9c9d1; font-size: 14.5px; line-height: 1.6; }

/* ---------- Banner ---------- */

.ab-banner { padding: 0 0 20px; background: var(--ab-bg); }

.ab-banner img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

/* ---------- İletişim ---------- */

.ab-contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: stretch;
}

.ab-contact-card {
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  padding: 8px 26px 26px;
}

.ab-contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ab-border);
  color: inherit;
}

.ab-contact-row:last-of-type { border-bottom: none; }
.ab-contact-row:hover { color: inherit; }

.ab-contact-row .ab-info-icon { flex: 0 0 42px; width: 42px; height: 42px; }
.ab-contact-row .ab-info-label { font-size: 13px; }
.ab-contact-row .ab-info-value { font-size: 15.5px; }

.ab-contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.ab-contact-cta .ab-btn { flex: 1 1 220px; }

.ab-technician {
  margin-top: 20px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ab-ink);
}

.ab-map {
  border-radius: var(--ab-radius);
  overflow: hidden;
  border: 1px solid var(--ab-border);
  min-height: 380px;
  background: #fff;
}

.ab-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */

.ab-footer {
  background: #101013;
  color: #b9b9c2;
  padding: 44px 0 110px;
  font-size: 14px;
}

.ab-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.ab-footer-brand { display: flex; align-items: center; gap: 14px; }
.ab-footer-brand img { height: 40px; }
.ab-footer-brand strong { color: #fff; display: block; font-size: 15px; }
.ab-footer-brand span { font-size: 13px; }

.ab-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.ab-footer-links a { color: #d8d8de; font-weight: 600; }
.ab-footer-links a:hover { color: #fff; }

/* ---------- Yüzen WhatsApp ---------- */

.ab-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--ab-wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.1s ease;
}

.ab-fab:hover { transform: scale(1.06); color: #fff; }
.ab-fab svg { width: 30px; height: 30px; }

/* ---------- WordPress içerik varsayılanları ---------- */

.ab-page { padding: 56px 0; }
.ab-page h1 { font-size: 32px; font-weight: 900; margin: 0 0 22px; }
.ab-entry { background: #fff; border: 1px solid var(--ab-border); border-radius: var(--ab-radius); padding: 26px; margin-bottom: 22px; }
.ab-entry h2 { margin-top: 0; font-size: 22px; }
.ab-entry-meta { font-size: 13px; color: var(--ab-gray); margin-bottom: 12px; }
.ab-pagination { display: flex; gap: 12px; justify-content: center; padding: 10px 0 40px; }

/* ---------- Duyarlı ---------- */

@media (max-width: 960px) {
  .ab-hero-grid { grid-template-columns: 1fr; padding: 56px 20px; }
  .ab-hero-art { display: none; }
  .ab-infobar-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-info:nth-child(2n) { border-right: none; }
  .ab-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ab-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ab-nav { display: none; }
  .ab-header-call span { display: none; }
  .ab-header-call { padding: 10px 12px; }
  .ab-infobar-grid { grid-template-columns: 1fr; }
  .ab-info { border-right: none; border-bottom: 1px solid var(--ab-border); }
  .ab-grid-3 { grid-template-columns: 1fr; }
  .ab-section { padding: 56px 0; }
  .ab-btn { width: 100%; }
  .ab-footer { padding-bottom: 120px; }
}
