/* ESKİŞEHİR ACİL LASTİK TAMİRİ - iOS, ANDROID & PC KUSURSUZ UYUM */
:root {
  --primary: #d90429;
  --primary-dark: #b80020;
  --dark: #090e1a;
  --surface: #1e293b;
  --light: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea952;
  --gold: #facc15;
  --border: #e2e8f0;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  padding-top: 72px; /* Mobilde iki satırlı sabit üst barın payı */
  padding-bottom: 84px; /* Mobilde alt butonların payı */
  overflow-x: hidden;
}

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

/* SVG Boyut Kilitleri */
svg, svg.svg-icon {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

/* 1. EN ÜSTTE SABİT, ASLA KESİLMEYEN NÖBETÇİ BARI */
.top-strip {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #090e1a !important;
  color: #ffffff !important;
  border-bottom: 2px solid #ef4444 !important;
  z-index: 999999 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.35) !important;
  padding: 6px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.top-strip .fixed-center-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
}

.status-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: rgba(34, 197, 94, 0.16) !important;
  border: 1px solid rgba(34, 197, 94, 0.45) !important;
  color: #4ade80 !important;
  padding: 2px 9px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
}

.pulse-light {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8) !important;
  animation: pulse-green 1.5s infinite !important;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.8); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.phone-box {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
}

.phone-box .phone-link {
  color: #facc15 !important;
  font-weight: 900 !important;
  font-size: 1.05rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  letter-spacing: 0.3px !important;
}

/* 2. HEADER */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  z-index: 1000;
}
.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 900;
  font-size: 1.2rem;
}
.brand-icon {
  background: var(--primary);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.brand-link span em {
  color: var(--primary);
  font-style: normal;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 22px;
}
.nav-list a {
  text-decoration: none;
  color: #334155;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-list a:hover, .nav-list a.active {
  color: var(--primary);
}
.header-phone-btn {
  background: var(--primary);
  color: #fff !important;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}
.hamburger-btn {
  display: none;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

/* 3. HERO */
.hero-sec {
  background: linear-gradient(135deg, rgba(9, 14, 26, 0.95), rgba(9, 14, 26, 0.97)), url('https://images.unsplash.com/photo-1578844251758-2f71da64c96f?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: #fff;
  padding: 45px 0 40px 0;
  text-align: center;
}
.hero-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #facc15;
  margin-bottom: 16px;
}
.hero-sec h1 {
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
}
.hero-sec h1 span {
  color: #ef4444;
}
.hero-sec p {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 580px;
  margin: 0 auto 24px auto;
}
.main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}
.btn-red {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(217, 4, 41, 0.4);
}
.btn-green {
  background: var(--whatsapp);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 700;
}

/* 4. SÜREÇ */
.process-sec {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.process-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.p-num {
  width: 32px;
  height: 32px;
  background: var(--dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}
.process-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--dark);
}
.process-item p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* 5. TAHMİN ARACI */
.calc-card {
  background: #0f172a;
  color: #fff;
  padding: 28px 20px;
  border-radius: 16px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.calc-card h3 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 8px;
}
.calc-card p.sub {
  text-align: center;
  color: #94a3b8;
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: flex-end;
}
.calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #cbd5e1;
}
.calc-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}
.calc-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}
.calc-out {
  display: none;
  margin-top: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,0.25);
  text-align: center;
}
.calc-out.active {
  display: block;
}

/* 6. HİZMETLER */
.section {
  padding: 45px 0;
}
.sec-title {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 30px auto;
}
.sec-title h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.sec-title p {
  color: var(--muted);
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.s-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}
.s-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.s-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}
.s-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}
.s-link {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.92rem;
}

/* 7. BÖLGELER */
.region-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.r-chip {
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
  text-align: center;
}

/* 8. SSS */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 18px;
}
details[open] {
  border-color: var(--primary);
}
summary {
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: bold;
}
details[open] summary::after {
  content: '−';
}
details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* 9. GALERİ */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.gal-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.gal-img {
  height: 200px;
  overflow: hidden;
  background: #1e293b;
}
.gal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gal-body {
  padding: 15px;
}
.gal-body h4 {
  font-size: 1.05rem;
  margin-bottom: 5px;
}
.gal-body p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* 10. İLETİŞİM & FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.c-box {
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.c-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.c-icon {
  width: 44px;
  height: 44px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.form-grp {
  margin-bottom: 14px;
}
.form-grp label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.form-grp input, .form-grp select, .form-grp textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
}
.wp-submit-btn {
  width: 100%;
  background: var(--whatsapp);
  color: #fff !important;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* 11. FOOTER */
footer {
  background: #090e1a;
  color: #94a3b8;
  padding: 45px 0 25px 0;
  font-size: 0.88rem;
}
.footer-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 25px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
}

/* 12. MOBİL EN ALT SABİT DÖNÜŞÜM ÇUBUĞU */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
  z-index: 99999;
}
.m-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
}
.m-call {
  background: var(--primary);
  color: #fff !important;
}
.m-wp {
  background: var(--whatsapp);
  color: #fff !important;
}

/* MASAÜSTÜ YÜZEN WHATSAPP */
.desktop-wp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--whatsapp);
  color: #fff !important;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 9990;
  text-decoration: none;
}
.desktop-wp-float svg {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
}

/* EKRAN UYUMU (RESPONSIVE) */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .nav-list.open {
    display: flex;
  }
  .hamburger-btn {
    display: block;
  }
  .header-phone-btn {
    display: none;
  }
  .hero-sec h1 {
    font-size: 1.8rem;
  }
  .hero-btns {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .desktop-wp-float {
    display: none;
  }
}

@media (min-width: 769px) {
  body {
    padding-top: 46px;
    padding-bottom: 0;
  }
  .top-strip {
    height: 44px !important;
    padding: 0 16px !important;
  }
  .top-strip .fixed-center-bar {
    flex-direction: row !important;
    gap: 16px !important;
  }
  .mobile-bottom-bar {
    display: none;
  }
}
