/* seo.css — SEO sayfaları için görsel iyileştirmeler */

/* Her info-section'a üstte gradient çubuk + yumuşak gölge */
.info-section {
  position: relative;
  padding: 32px 28px !important;
  border-radius: 16px;
  margin: 24px auto !important;
  max-width: 1080px;
  box-shadow: 0 4px 16px rgba(0, 62, 128, 0.05);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.info-section:hover {
  box-shadow: 0 10px 28px rgba(0, 62, 128, 0.09);
}
.info-section + .info-section {
  margin-top: 8px !important;
}

/* Üst dekoratif accent çubuğu */
.info-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007AFF 0%, #5B9BD5 50%, #007AFF 100%);
  opacity: 0.85;
}

/* Sağ alt köşede subtle dekoratif blob */
.info-section::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  bottom: -110px;
  right: -110px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Alternatif arka plan rengi (zebra) */
.info-section + .info-section { background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important; }

/* Başlık: accent underline + gradient text */
.info-section__title {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  margin: 0 0 18px !important;
}
.info-section__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky), #5b9bd5);
}
.info-section__title:not(:only-child) {
  display: block;
  text-align: center;
}

/* Alt başlık: daha okunaklı */
.info-section__subtitle {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: var(--ink-mid, #4b5563) !important;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px !important;
}

/* Liste öğeleri (varsa): temiz grid kart görünümü */
.info-section ul:not([class]) {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.info-section ul:not([class]) li {
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
  border: 1px solid rgba(91, 155, 213, 0.2);
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink, #1A1A2E);
  font-weight: 500;
  transition: all .2s ease;
  position: relative;
  padding-left: 36px;
}
.info-section ul:not([class]) li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), #5b9bd5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-section ul:not([class]) li:hover {
  border-color: var(--sky, #007AFF);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 62, 128, 0.08);
}

/* "Geri" linki */
.info-section__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white, #fff);
  border: 1px solid rgba(91, 155, 213, 0.3);
  border-radius: 8px;
  color: var(--sky, #007AFF);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
}
.info-section__back:hover {
  background: var(--sky, #007AFF);
  color: #fff;
  border-color: var(--sky, #007AFF);
  transform: translateX(-3px);
}

/* "Bulunamadı" tipi error sayfaları için özel stil */
.info-section.error-page {
  text-align: center;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.info-section.error-page::before {
  background: linear-gradient(90deg, #ef4444 0%, #f87171 50%, #ef4444 100%);
}

/* Mobil uyum */
@media (max-width: 700px) {
  .info-section {
    padding: 24px 18px !important;
    margin: 16px auto !important;
  }
  .info-section__title { font-size: 24px !important; }
  .info-section__subtitle { font-size: 14px !important; }
}
