/* Anasayfa: hero finder + slider, kategori/marka, özellikler, CTA */

.hero {
  padding: 1.5rem 0 2rem;
  background:
    radial-gradient(900px 360px at 85% -20%, rgba(30, 111, 232, .12), transparent 55%),
    linear-gradient(180deg, #f5f7fb 0%, #fff 80%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

/* ---- Finder ---- */
.hero-finder {
  background: var(--mh-dark);
  color: #fff;
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 320px;
  height: 100%;
}
.finder-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mh-primary-light);
  margin-bottom: .25rem;
}
.finder-title {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.25;
}
.finder-tabs {
  display: flex;
  gap: .3rem;
  padding: .3rem;
  background: rgba(255, 255, 255, .08);
  border-radius: 12px;
}
.finder-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .65);
  font-weight: 800;
  font-size: .8rem;
  padding: .55rem .4rem;
  border-radius: 9px;
  transition: .15s;
}
.finder-tab.is-active {
  background: #fff;
  color: var(--mh-dark);
}
.finder-panel[hidden] { display: none !important; }
.finder-stack {
  display: grid;
  gap: .55rem;
}
.finder-field {
  position: relative;
  display: flex;
  align-items: center;
}
.finder-field i {
  position: absolute;
  left: .9rem;
  color: #8b90a0;
  pointer-events: none;
}
.finder-field input,
.finder-stack .form-select {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: .85rem 1rem .85rem 2.5rem;
  font-weight: 650;
  font-size: .95rem;
  background: #fff;
  color: var(--mh-dark);
  min-height: 48px;
}
.finder-stack .form-select {
  padding-left: 1rem;
}
.finder-stack .form-select:disabled {
  background: #cfd1d6;
  color: #6c757d;
}
.finder-field input:focus,
.finder-stack .form-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 111, 232, .35);
}
.finder-go {
  width: 100%;
  border-radius: 11px;
  font-weight: 800;
  padding: .85rem 1rem;
}
.finder-points {
  list-style: none;
  margin: auto 0 0;
  padding: .75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: .4rem;
}
.finder-points li {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: #c9ced8;
  font-weight: 600;
}
.finder-points i { color: var(--mh-green); }

/* ---- Slider ---- */
.hero-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(17, 23, 38, .08);
  min-height: 0;
}
.hero-slides {
  position: relative;
  flex: 1 1 auto;
  min-height: 280px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: absolute;
  pointer-events: auto;
  z-index: 1;
}
.hs-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(17, 23, 38, .82) 0%, rgba(17, 23, 38, .45) 48%, rgba(17, 23, 38, .15) 100%),
    var(--hs-img) center / cover no-repeat;
  transform: scale(1.06);
  transition: transform 5.5s ease-out;
}
.hero-slide.is-active .hs-media { transform: scale(1); }
.hs-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hs-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .7rem;
  padding: 1.85rem 1.6rem 1.4rem;
  max-width: 460px;
}
.hs-tag {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(8px);
  color: var(--mh-dark);
}
.hero-slide h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -.025em;
  max-width: 16ch;
}
.hero-slide p {
  margin: 0;
  color: var(--mh-gray);
  font-size: .95rem;
  line-height: 1.55;
  max-width: 34ch;
}
.hs-btn {
  margin-top: .35rem;
  border-radius: 12px;
  font-weight: 800;
  padding: .7rem 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.hs-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin: 1rem 1rem 1rem 0;
  border-radius: 18px;
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 1;
  align-self: stretch;
  min-height: 0;
}
.theme-blue { background: linear-gradient(135deg, #edf3fe 0%, #d4e4fb 55%, #c5dbfb 100%); }
.theme-blue .hs-visual { background: rgba(30, 111, 232, .14); color: var(--mh-primary); }
.theme-blue .hs-tag { color: var(--mh-primary-dark); background: rgba(255,255,255,.85); }
.theme-dark { background: linear-gradient(135deg, #1a2236 0%, #111726 100%); color: #fff; }
.theme-dark h3 { color: #fff; }
.theme-dark p { color: #c5cad6; }
.theme-dark .hs-tag { background: rgba(255,255,255,.12); color: #fff; }
.theme-dark .hs-visual { background: rgba(255,255,255,.08); color: var(--mh-primary-light); }
.theme-green { background: linear-gradient(135deg, #eef8e8 0%, #d4efc4 100%); }
.theme-green .hs-visual { background: rgba(6, 118, 71, .1); color: var(--mh-green-dark); }
.theme-green .hs-tag { color: var(--mh-green-dark); }
.theme-light { background: linear-gradient(135deg, #fff 0%, #f2f3f5 100%); border: 1px solid var(--mh-mid-gray); }
.theme-light .hs-visual { background: var(--mh-light-gray); color: var(--mh-mid-dark-gray); border: 1px dashed var(--mh-mid-gray); }
.hero-slide.has-image {
  grid-template-columns: 1fr;
  color: #fff;
}
.hero-slide.has-image .hs-content {
  justify-content: flex-end;
  padding-bottom: 1.75rem;
  max-width: 520px;
}
.hero-slide.has-image h3 { color: #fff; max-width: 18ch; }
.hero-slide.has-image p { color: rgba(255,255,255,.82); }
.hero-slide.has-image .hs-tag { background: rgba(255,255,255,.16); color: #fff; }
.hero-slide.has-image .hs-btn.btn-primary { box-shadow: 0 10px 24px rgba(30,111,232,.35); }
.hero-progress {
  height: 3px;
  background: rgba(0,0,0,.06);
  position: relative;
  z-index: 3;
}
.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--mh-primary);
}
.hero-progress span.is-running {
  animation: heroProgress var(--hero-interval, 5.5s) linear forwards;
}
@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}
.hero-slider-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1.1rem;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0,0,0,.05);
  position: relative;
  z-index: 3;
}
.hero-dots {
  display: flex;
  gap: .4rem;
  align-items: center;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #cfd1d6;
  transition: .2s;
}
.hero-dots button.active {
  width: 22px;
  border-radius: 999px;
  background: var(--mh-primary);
}
.hero-nav {
  display: flex;
  gap: .4rem;
}
.hero-nav button {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid var(--mh-mid-gray);
  background: #fff;
  color: var(--mh-dark);
  display: grid;
  place-items: center;
  transition: .15s;
}
.hero-nav button:hover {
  border-color: var(--mh-primary);
  color: var(--mh-primary);
  background: var(--mh-primary-tint);
}

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (max-width: 991px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; } }
.cat-box { background: var(--mh-light-gray); border-radius: var(--mh-radius); padding: 1.25rem 1rem; text-align: center; color: var(--mh-dark); transition: .15s; display: block; }
.cat-box:hover { background: var(--mh-primary-trans); color: var(--mh-primary-dark); transform: translateY(-2px); }
.cat-box i { font-size: 2rem; display: block; margin-bottom: .5rem; color: var(--mh-primary); }
.cat-box span { font-weight: 700; font-size: .85rem; display: block; }
.cat-box small { color: var(--mh-gray); font-size: .72rem; }

.brand-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: .75rem; }
@media (max-width: 991px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 575px) { .brand-grid { grid-template-columns: repeat(3, 1fr); gap: .5rem; } }
.brand-box { border: 1px solid var(--mh-mid-gray); border-radius: var(--mh-radius-sm); padding: 1rem .5rem; text-align: center; font-weight: 800; font-size: .8rem; color: var(--mh-dark); background: #fff; transition: .15s; }
.brand-box:hover { border-color: var(--mh-primary); color: var(--mh-primary-dark); }
.brand-box small { display: block; color: var(--mh-gray); font-weight: 600; font-size: .7rem; }

.b2b-features { background: var(--mh-light-gray); border-radius: var(--mh-radius); padding: 2rem; }
.feature-box { display: flex; gap: 1rem; }
.feature-box .fi { width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--mh-primary); display: grid; place-items: center; font-size: 1.5rem; flex: 0 0 auto; box-shadow: 0 6px 16px var(--shadow-color); }
.feature-box h5 { font-size: 1rem; margin-bottom: .25rem; }
.feature-box p { font-size: .85rem; color: var(--mh-mid-dark-gray); margin: 0; }

.cta-b2b { background: var(--mh-dark); border-radius: var(--mh-radius); padding: 2.5rem; color: #fff; position: relative; overflow: hidden; }
.cta-b2b h2 { color: #fff; font-size: 1.9rem; }
.cta-b2b p { color: #cfd3dc; }
.cta-b2b .accent { color: var(--mh-primary-light); }
.cta-b2b .cta-icon { position: absolute; right: 2rem; bottom: -2rem; font-size: 12rem; opacity: .08; }
.cta-b2b ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.cta-b2b ul li { padding: .25rem 0; color: #e6e8ee; }
.cta-b2b ul li i { color: var(--mh-green); margin-right: .4rem; }

@media (max-width: 991.98px) {
  .hero { padding: 1rem 0 1.35rem; }
  .hero-grid { grid-template-columns: 1fr; gap: .85rem; }
  .hero-finder { min-height: 0; height: auto; border-radius: 14px; padding: 1.1rem; }
  .hero-slider { min-height: 0; border-radius: 14px; }
  .hero-slides { min-height: 220px; flex: none; }
  .hero-slide {
    grid-template-columns: 1fr;
  }
  .hs-visual {
    display: none;
  }
  .hs-content {
    padding: 1.35rem 1.15rem 1.1rem;
    max-width: none;
  }
  .hero-slide h3 { font-size: 1.25rem; max-width: none; }
  .hero-slide p { font-size: .88rem; max-width: none; }
  .b2b-features { padding: 1.15rem; }
  .feature-box { margin-bottom: .35rem; }
  .feature-box .fi { width: 44px; height: 44px; font-size: 1.25rem; }
  .cta-b2b { padding: 1.35rem; }
  .cta-b2b h2 { font-size: 1.35rem; }
  .cta-b2b .cta-icon { display: none; }
  .cta-b2b .btn { display: block; width: 100%; margin: 0 0 .5rem !important; }
  .cat-box { padding: 1rem .7rem; }
  .cat-box i { font-size: 1.6rem; }
  .cat-box span { font-size: .78rem; }
}

@media (max-width: 575.98px) {
  .finder-field input,
  .finder-stack .form-select { font-size: 16px; }
  .hero-slide p { font-size: .85rem; }
}
