/*
Theme Name: Kombi Tamircisi - Samsun Özel Servis
Theme URI: https://kombitamircisi.com
Author: Antigravity
Author URI: https://kombitamircisi.com
Description: Samsun kombi bakım, onarım ve teknik servis hizmetleri için geliştirilmiş, ultra hafif, mobil öncelikli (mobile-first), Core Web Vitals ve Google PageSpeed 95+ odaklı profesyonel WordPress teması. Atakum, İlkadım, Canik ve Tekkeköy ilçe ve mahallelerine tam uyumludur.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kombitamircisi
*/

/* ==========================================================================
   1. CSS DEĞİŞKENLERİ VE TEMEL AYARLAR (ULTRA-LIGHT CRITICAL CSS)
   ========================================================================== */
:root {
  --primary: #0f2b48;
  --primary-light: #1b497a;
  --primary-dark: #0a1c30;
  --accent: #ff5722;
  --accent-hover: #e64a19;
  --accent-glow: rgba(255, 87, 34, 0.35);
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.55;
  padding-bottom: 75px; /* Mobilde alt sabit buton barı için boşluk */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

ul, ol {
  list-style-position: inside;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================================================
   2. TOP BAR & ANNOUNCEMENT
   ========================================================================== */
.top-bar {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 7px 0;
  text-align: center;
  font-weight: 500;
}
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse-ring 1.8s infinite;
  vertical-align: middle;
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ==========================================================================
   3. SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8a65 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 3px 8px var(--accent-glow);
}
.brand-logo .logo-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.brand-logo .logo-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

.site-nav {
  display: none;
}
@media (min-width: 900px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .site-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
  }
  .site-nav a:hover {
    color: var(--accent);
  }
}

/* Header CTA: Mobilde kesinlikle gizle, sadece 900px üzeri masaüstünde göster */
.header-cta {
  display: none !important;
}
@media (min-width: 900px) {
  .header-cta {
    display: flex !important;
    align-items: center;
    gap: 12px;
  }
}
.header-phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 9px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 3px 8px var(--accent-glow);
  white-space: nowrap;
}

/* Flex kutularda wpautop kaynaklı gereksiz br etiketlerini sıfırla */
div[style*="display:flex"] br, 
div[style*="display: flex"] br,
.main-article br + a.btn,
.main-article a.btn + br {
  display: none !important;
}
.header-phone-btn:hover {
  background: var(--accent-hover);
}

/* ==========================================================================
   4. BUTTONS & UI ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.02rem;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  width: 100%;
}
@media (min-width: 500px) {
  .btn { width: auto; }
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ff3d00 100%);
  color: #fff;
  box-shadow: 0 6px 16px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 87, 34, 0.45);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 16px var(--whatsapp-glow);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
  background: linear-gradient(170deg, #f0f7ff 0%, #ffffff 100%);
  padding: 34px 0 42px;
  border-bottom: 1px solid var(--border-color);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 87, 34, 0.1);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero-title {
  font-size: 1.85rem;
  line-height: 1.22;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }
}
.hero-title span.highlight {
  color: var(--accent);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
@media (min-width: 500px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* Trust Badges */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 768px) {
  .trust-badges-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust-item {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-item svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  flex-shrink: 0;
}
.trust-item .text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.trust-item .text small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* ==========================================================================
   6. SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 42px 0;
}
.section-title-wrap {
  text-align: center;
  margin-bottom: 30px;
}
.section-subtitle {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: block;
}
.section-title {
  font-size: 1.65rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ==========================================================================
   7. DISTRICTS (SAMSUN BÖLGELERİ)
   ========================================================================== */
.districts-section {
  background: var(--bg-light);
}
.district-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .district-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
.district-card {
  background: #fff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: all 0.2s ease;
  display: block;
}
.district-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.district-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.district-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}
.district-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   8. SERVICES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}
.service-icon-box {
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.service-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
}

/* ==========================================================================
   9. BRANDS SUPPORTED
   ========================================================================== */
.brands-section {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.brand-pill {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 12px 8px;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  transition: 0.2s;
}
.brand-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ==========================================================================
   10. HOW IT WORKS (STEPS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step-box {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px;
}
.step-number {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step-box h4 {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.step-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Quick Callback Form */
.quick-form-section {
  background: linear-gradient(135deg, var(--primary) 0%, #153c64 100%);
  color: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  margin: 28px 0;
}
.quick-form-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}
.quick-form-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  text-align: center;
  margin-bottom: 22px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 650px) {
  .form-row {
    flex-direction: row;
  }
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.96);
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e293b;
}
.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent);
}

/* ==========================================================================
   11. FAQ ACCORDION (PURE CSS/LIGHTWEIGHT JS)
   ========================================================================== */
.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  padding: 16px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
}
.faq-answer {
  padding: 0 16px 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}
.faq-toggle {
  transition: transform 0.2s;
}

/* ==========================================================================
   12. PAGE & SINGLE ARTICLE LAYOUT
   ========================================================================== */
.breadcrumb-nav {
  background: var(--bg-light);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb-nav a { color: var(--primary); font-weight: 500; }
.breadcrumb-nav span { margin: 0 6px; }

.page-hero {
  background: linear-gradient(170deg, #f0f7ff 0%, #ffffff 100%);
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--border-color);
}
.page-hero h1 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.page-hero p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 35px 0;
}
@media (min-width: 900px) {
  .content-layout {
    grid-template-columns: 2fr 1fr;
  }
}
.main-article h2 {
  font-size: 1.45rem;
  color: var(--primary);
  margin: 24px 0 12px;
  font-weight: 700;
}
.main-article h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 18px 0 10px;
  font-weight: 700;
}
.main-article p {
  margin-bottom: 16px;
  color: #334155;
}
.main-article ul, .main-article ol {
  margin: 0 0 20px 20px;
  color: #334155;
}
.main-article li {
  margin-bottom: 8px;
}

.neighborhood-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.neighborhood-chip {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.table-box {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
.table-box th, .table-box td {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  text-align: left;
}
.table-box th {
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 700;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-widget h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
  display: inline-block;
}
.widget-links {
  list-style: none;
}
.widget-links li {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
}
.widget-links li:last-child { border-bottom: none; }
.widget-links a { color: var(--text-dark); display: flex; justify-content: space-between; }
.widget-links a:hover { color: var(--accent); }

.sticky-sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #153c64 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.sticky-sidebar-cta h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.sticky-sidebar-cta p {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer {
  background: #0b1a2b;
  color: #94a3b8;
  padding: 40px 0 20px;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a:hover {
  color: #fff;
}
.legal-notice {
  background: rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.76rem;
  line-height: 1.5;
  margin-top: 15px;
  color: #cbd5e1;
  border-left: 3px solid var(--accent);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.78rem;
}

/* ==========================================================================
   14. MOBILE STICKY BOTTOM BAR (CONVERSION BOOSTER)
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #ffffff;
  box-shadow: 0 -3px 15px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  z-index: 9999;
  border-top: 1px solid var(--border-color);
}
@media (min-width: 900px) {
  .mobile-sticky-bar {
    display: none;
  }
}
.mobile-btn {
  flex: 1;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  gap: 8px;
  text-align: center;
}
.mobile-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  margin-right: 8px;
}
.mobile-btn-call {
  background: #ff5722;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(255, 87, 34, 0.4);
  animation: pulse-button 2s infinite;
}
@keyframes pulse-button {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
