/* ARAMA BÖLÜMÜ */
.arama-bolumu {
  margin: 0;
  padding: 80px 24px 60px;
  text-align: center;
  background: linear-gradient(160deg, #eff6ff 0%, #f0f4ff 40%, #faf5ff 70%, #fdf2f8 100%);
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

/* Dekoratif arka plan daireleri */
.arama-bolumu::before,
.arama-bolumu::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.arama-bolumu::before {
  width: 300px;
  height: 300px;
  background: rgba(37,99,235,.04);
  top: -80px;
  right: -60px;
}
.arama-bolumu::after {
  width: 200px;
  height: 200px;
  background: rgba(139,92,246,.04);
  bottom: -50px;
  left: -40px;
}

.arama-ic {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.arama-baslik {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.arama-aciklama {
  font-size: 17px;
  color: #475569;
  margin-bottom: 36px;
}

.arama-kutusu {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
}

.arama-alan {
  position: relative;
  flex: 1;
}

.arama-kutusu input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
}

.arama-kutusu input:focus {
  border-color: #2563eb;
}

.arama-kutusu .btn {
  padding: 14px 28px;
}

/* KATEGORİLER */
.kategoriler {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 48px 24px 0;
  scroll-margin-top: 90px;
}

.kategoriler-baslik {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: #0f172a;
}

.kategori-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kategori-kart {
  background: #fff;
  padding: 24px 16px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.kategori-kart::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  opacity: 0;
  transition: opacity 0.25s;
}

.kategori-kart:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
  transform: translateY(-3px);
}

.kategori-kart:hover::before {
  opacity: 1;
}

.kategori-ikon {
  font-size: 32px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f8fafc;
  transition: background 0.25s;
}

.kategori-kart:hover .kategori-ikon {
  background: #eff6ff;
}

.kategori-ad {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.kategori-sayi {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

.kategoriler-bos {
  text-align: center;
  color: #94a3b8;
  grid-column: 1 / -1;
}

/* NASIL ÇALIŞIR */
.nasil-calisir {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  padding: 72px 24px;
  border-top: 1px solid #e2e8f0;
}

.bolum-baslik {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  color: #0f172a;
}

.adimlar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.adim {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  transition: all 0.25s;
}

.adim:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37,99,235,.08);
}

.adim-numara {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}

.adim-baslik {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e293b;
}

.adim-aciklama {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* ÖNERİ KUTUSU */
.oneri-kutusu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  text-align: left;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  z-index: 50;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
}
.oneri-kutusu:empty {
  display: none;
}
.oneri-baslik {
  padding: 10px 16px 6px;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.oneri-oge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #334155;
  transition: all 0.15s;
}
.oneri-oge-metin {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.oneri-oge-kategori {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}
.oneri-oge:last-child {
  border-radius: 0 0 12px 12px;
}
.oneri-oge:hover,
.oneri-oge.aktif {
  background: #eff6ff;
  color: #2563eb;
}
.oneri-oge-ikon {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.oneri-oge:hover .oneri-oge-ikon {
  background: #dbeafe;
}
.oneri-bos {
  padding: 20px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

/* ARAMA HATA MESAJI */
.arama-hata {
  margin-top: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}

/* MOBİL */
@media (max-width: 640px) {
  .arama-bolumu {
    padding: 56px 16px 40px;
  }

  .arama-kutusu {
    flex-direction: column;
  }

  .arama-baslik {
    font-size: 26px;
  }

  .kategori-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adim {
    padding: 28px 20px;
  }
}
