/**
 * Ana sayfa modern katman — home.min.css ile ÇAKIŞMAYAN sınıflar (.home-hero)
 * icon.css: home.min weboty kullanır ama @font-face içermez — import zorunlu
 */
@import url("icon.css");

/* Üst menü: assets/css/site-header.css (body.site-modern) */

body.home {
  --home-brand: #1a5f8a;
  --home-brand-dark: #0d3d5c;
  --home-accent: #0fa5e2;
  --home-accent-hover: #0b8fc4;
  --home-surface: #f4f7fb;
  --home-card: #ffffff;
  --home-text: #1e293b;
  --home-muted: #64748b;
  --home-radius: 12px;
  --home-radius-lg: 16px;
  --home-shadow: 0 4px 24px rgba(15, 52, 96, 0.08);
}

/* —— Hero (eski .hero sınıfı kullanılmaz) —— */
body.home section.home-hero {
  background: linear-gradient(135deg, #0d3d5c 0%, #1a5f8a 45%, #1e7ab5 100%);
  padding: 24px 0 16px;
  margin: 0;
  position: relative;
  overflow: hidden;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

body.home .home-hero__inner {
  max-width: 720px;
}

body.home .home-hero__copy h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-transform: none;
  letter-spacing: -0.02em;
}

body.home .home-hero__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.88);
}

body.home .home-hero__lead {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
}

body.home .home-hero__trust {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

body.home .home-hero__trust li {
  color: #fff;
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}

body.home .home-hero__trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4ade80;
  font-weight: 700;
}

body.home .home-hero__search {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 16px 18px 10px;
  margin-bottom: 0;
}

body.home .home-hero__search form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

body.home .home-hero__search .doctor__field {
  flex: 1 1 260px;
  position: relative;
  margin: 0;
  min-height: 0;
}

body.home .home-hero__search .form-control {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  padding: 10px 16px;
  color: #1e293b;
  box-sizing: border-box;
}

body.home .home-hero__search .btn-search {
  height: 48px;
  min-width: 120px;
  border-radius: 10px;
  background: #0fa5e2;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 0 24px;
  cursor: pointer;
}

body.home .home-hero__search .btn-search:hover {
  background: #0b8fc4;
  color: #fff;
}

body.home .home-hero__search .help-block {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.3;
}

/* Eski CSS sadece .hero .search için — burada akışta kalınca dev boşluk oluşuyordu */
body.home .home-hero__search .doctor__list__field {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 12px;
  max-height: 280px;
  overflow: auto;
  margin: 0 !important;
  height: auto;
}

body.home .home-hero__search .doctor__list__field .scrollbar {
  max-height: 240px;
  margin: 0;
}

body.home .home-hero__search .doctor__field.is-open .doctor__list__field,
body.home .home-hero__search .doctor__list__field[style*="display: block"],
body.home .home-hero__search .doctor__list__field[style*="display:block"] {
  display: block !important;
}

@media (min-width: 768px) {
  body.home .home-hero__search form {
    flex-wrap: nowrap;
  }
  body.home .home-hero__search .btn-search {
    flex: 0 0 120px;
  }
}

/* —— Keşif —— */
body.home .home-discovery {
  background: #fff;
  padding: 28px 0 32px;
  border-bottom: 1px solid #e8eef4;
}

body.home .home-discovery__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 14px;
}

body.home .home-discovery__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

body.home .home-discovery__pill {
  display: inline-block;
  padding: 8px 16px;
  background: #f4f7fb;
  color: #1a5f8a;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #e2e8f0;
}

body.home .home-discovery__pill:hover {
  background: #e8f4fc;
  border-color: #0fa5e2;
  color: #0d3d5c;
  text-decoration: none;
}

body.home .home-discovery__quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

body.home .home-discovery__quick a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px;
  background: #f4f7fb;
  border-radius: 12px;
  color: #1e293b;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
}

body.home .home-discovery__quick a:hover {
  border-color: #0fa5e2;
  box-shadow: 0 4px 24px rgba(15, 52, 96, 0.08);
  text-decoration: none;
}

body.home .home-discovery__quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0fa5e2, #1a5f8a);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-family: "weboty" !important;
}

/* —— Adımlar —— */
body.home .home-steps {
  padding: 48px 0 40px;
  background: #f4f7fb;
}

body.home .home-steps__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}

body.home .home-steps__head h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px;
}

body.home .home-steps__head p {
  color: #64748b;
  margin: 0;
}

body.home .home-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

body.home .home-steps__item {
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 52, 96, 0.08);
}

body.home .home-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0fa5e2;
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

body.home .home-steps__item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 8px;
}

body.home .home-steps__item p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* —— İstatistik (home__statics KULLANILMAZ) —— */
body.home .home-stats-bar {
  background: linear-gradient(90deg, #0d3d5c, #1a5f8a);
  border-radius: 16px;
  padding: 28px 24px;
  margin: 0 0 32px;
  box-shadow: 0 4px 24px rgba(15, 52, 96, 0.12);
}

body.home .home-stats-bar .row {
  margin: 0;
}

body.home .home-stats-bar .col-md-4 {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

body.home .home-stats-bar .col-md-4:last-child {
  border-right: none;
}

body.home .home-stats-bar h4 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 10px 0 6px;
}

body.home .home-stats-bar p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  margin: 0;
}

body.home .home-stats-bar .icon1,
body.home .home-stats-bar .icon2,
body.home .home-stats-bar .icon3 {
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  min-height: 48px;
  display: block !important;
}

body.home .home-stats-bar .icon1 {
  background-image: url("../img/icon1.png") !important;
  width: 42px !important;
  height: 54px !important;
}

body.home .home-stats-bar .icon2 {
  background-image: url("../img/icon2.png") !important;
  width: 52px !important;
  height: 54px !important;
}

body.home .home-stats-bar .icon3 {
  background-image: url("../img/icon3.png") !important;
  width: 66px !important;
  height: 54px !important;
}

body.home .home-stats-bar .col-md-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.home .home-stats-bar .col-md-4 h4,
body.home .home-stats-bar .col-md-4 p {
  float: none;
  width: 100%;
}

body.home .home-stats-bar .icon1,
body.home .home-stats-bar .icon2,
body.home .home-stats-bar .icon3 {
  float: none;
  margin: 0 auto 12px;
}

/* —— İçerik kartları —— */
body.home .home__block {
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 52, 96, 0.08);
  border: 1px solid #e8eef4;
  padding: 24px !important;
  margin-bottom: 24px;
}

body.home .home__block .heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f4f7fb;
}

/* —— B2B —— */
body.home .home-b2b {
  padding: 48px 0 56px;
  background: #fff8f5;
}

body.home .home-b2b__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15, 52, 96, 0.08);
  border: 1px solid #f0e6e0;
}

body.home .home-b2b__text h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px;
}

body.home .home-b2b__text p {
  color: #64748b;
  margin: 0 0 16px;
}

body.home.mobile .home-hero {
  padding: 20px 0 20px;
}

body.home.mobile .home-hero__search form {
  flex-direction: column;
}

body.home.mobile .home-hero__search .btn-search {
  width: 100%;
}

body.home.mobile .home-discovery__quick {
  grid-template-columns: repeat(2, 1fr);
}

body.home.mobile .home-steps__grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

body.home.mobile .home-stats-bar .col-md-4 {
  border-right: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 8px;
}

body.home.mobile .home-b2b__inner {
  flex-direction: column;
  text-align: center;
  padding: 24px 20px;
}

/* Yıldız ve liste ikonları (weboty — icon.css @import) */
body.home .rating span {
  position: relative;
}

body.home .rating span:before {
  font-family: "weboty" !important;
  content: "\e83a" !important;
  font-size: 18px !important;
  color: #beccda !important;
  position: absolute;
  width: 14px;
  height: 14px;
  top: 0;
  left: 0;
}

body.home .rating span.active:before {
  content: "\e838" !important;
  color: #ffc000 !important;
}

/* Hızlı erişim — sunucuda hâlâ <span> olsa bile ikon göster */
body.home .home-discovery__quick-icon {
  font-family: "weboty" !important;
  font-style: normal;
  speak: none;
}

body.home .home-discovery__quick a:nth-child(1) .home-discovery__quick-icon:before,
body.home .home-discovery__quick a:nth-child(1) > i:before {
  content: "\e935" !important;
}

body.home .home-discovery__quick a:nth-child(2) .home-discovery__quick-icon:before,
body.home .home-discovery__quick a:nth-child(2) > i:before {
  content: "\f0f8" !important;
}

body.home .home-discovery__quick a:nth-child(3) .home-discovery__quick-icon:before,
body.home .home-discovery__quick a:nth-child(3) > i:before {
  content: "\e8af" !important;
}

body.home .home-discovery__quick a:nth-child(4) .home-discovery__quick-icon:before,
body.home .home-discovery__quick a:nth-child(4) > i:before {
  content: "\e873" !important;
}

body.home .home__block .question .avatar img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #e8eef4;
}
