/* Yetkili Servis Bilgi Merkezi – Genel Stil Dosyası
   - Google Ads uyumlu, sade tasarım
   - Tüm oluşturulan HTML sayfalarıyla uyumlu
   - Mobilde taşma yok, responsive grid yapısı
*/

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f4f6fb;
  color: #111827;
  line-height: 1.6;
}

/* GENEL LİNK STİLİ */
a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-title {
  font-size: 20px;
  font-weight: 600;
  color: #2563eb;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

.nav-menu a {
  font-size: 14px;
  color: #374151;
}

.nav-menu a:hover {
  color: #111827;
}

/* GENEL WRAPPER */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

/* HERO / ÜST KUTULAR */
.hero {
  background-color: #ffffff;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 28px 24px 24px;
  margin-bottom: 32px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  text-align: center;
}

.hero-text {
  margin: 0 0 18px;
  font-size: 15px;
  color: #6b7280;
  text-align: center;
}

/* ARAMA FORMU (SADECE index.html) */
.search-box {
  max-width: 100%;
  margin: 0 auto;
}

#searchForm {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field label {
  font-size: 13px;
  color: #4b5563;
}

.form-field select {
  height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background-color: #f9fafb;
  font-size: 14px;
  color: #111827;
  max-width: 100%;
}

.form-field select:focus {
  outline: none;
  border-color: #2563eb;
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.search-btn {
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  border: none;
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.08s;
}

.search-btn:hover {
  background-color: #1d4ed8;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.search-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}

.error-message {
  grid-column: 1 / -1;
  font-size: 13px;
  color: #b91c1c;
  margin-top: 4px;
}

/* ARAMA SONUCU KARTI */
.result-card {
  margin-top: 16px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  font-size: 14px;
  color: #374151;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

/* BİLGİ NOTU */
.disclaimer {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

/* MARKA BÖLÜMÜ */
.brands {
  margin-top: 32px;
}

.brands h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.brand-card {
  background-color: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.brand-card:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.10);
}

.brand-circle {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background-color: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: #2563eb;
  font-weight: 600;
  font-size: 20px;
}

.brand-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.brand-description {
  margin: 0 0 10px;
  font-size: 13px;
  color: #6b7280;
}

/* ŞEHİR BÖLÜMÜ / CITY GRID */
.cities {
  margin-top: 40px;
}

.cities h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.sample-links {
  list-style: none;
  padding-left: 0;
  margin: 0 0 14px;
}

.sample-links li {
  font-size: 14px;
  margin-bottom: 4px;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.city-btn {
  display: block;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #2563eb;
  background-color: #ffffff;
  color: #2563eb;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.city-btn:hover {
  background-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

/* BLOG BÖLÜMÜ */
.blog {
  margin-top: 40px;
}

.blog h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.blog-list {
  padding-left: 20px;
  font-size: 14px;
}

.blog-list li {
  margin-bottom: 6px;
}

/* FOOTER */
.site-footer {
  margin-top: 40px;
  padding: 16px 16px 20px;
  text-align: center;
  background-color: #eef2ff;
  font-size: 13px;
  color: #4b5563;
}

.site-footer .disclaimer {
  margin-top: 4px;
  font-size: 12px;
}

/* MOBİL DÜZENLEMELER */
@media (max-width: 992px) {
  #searchForm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  #searchForm {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 22px 16px 20px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wrapper,
  .navbar,
  .hero,
  .brands,
  .cities,
  .blog,
  .site-footer {
    max-width: 100%;
  }
}

/* GLOBAL TAŞMA ÖNLEME */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}