/**
 * Ana sayfa hero / slider – premium diş kliniği
 * Palet: #5B2D91 · #32164F · #8B5FC4 · #F7F2FB
 */

body.page-index #section-intro {
  --hero-primary: #5b2d91;
  --hero-primary-dark: #452070;
  --hero-deep: #32164f;
  --hero-light: #8b5fc4;
  --hero-soft-bg: #f7f2fb;
  --hero-text-dark: #1f1b2d;
}

/* ─── Header: sabit değil sticky – hero header altında başlar ─── */
body.page-index header.transparent.header-light {
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  width: 100%;
  background: #f7f2fb !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(91, 45, 145, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 20px rgba(50, 22, 79, 0.06);
}

body.page-index header.transparent.header-light.smaller {
  background: #f7f2fb !important;
}

body.page-index #wrapper > header ~ #content.no-top {
  padding-top: 0 !important;
}

body.page-index #section-intro {
  margin-top: 0;
}

/* ─── Hero yüksekliği ─── */
body.page-index #section-intro .relative,
body.page-index #section-intro .mh-800 {
  min-height: 760px;
  height: 760px;
}

body.page-index #section-intro .swiper,
body.page-index #section-intro .swiper-wrapper,
body.page-index #section-intro .swiper-slide,
body.page-index #section-intro .swiper-inner {
  min-height: 100%;
  height: 100%;
}

body.page-index #section-intro .swiper-inner {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 68% 42%;
}

body.page-index #section-intro .swiper,
body.page-index #section-intro .swiper-slide {
  background: #1a1525;
}

body.page-index #section-intro .gradient-edge-left {
  display: none;
}

/* ─── Overlay – sol tarafta okunaklılık ─── */
body.page-index #section-intro .sw-overlay {
  opacity: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(20, 16, 32, 0.82) 0%,
    rgba(31, 27, 45, 0.55) 35%,
    rgba(25, 22, 38, 0.22) 58%,
    rgba(0, 0, 0, 0.04) 100%
  );
}

/* ─── Yazı bloğu – sola yakın, dikey ortalı ─── */
body.page-index #section-intro .abs-centered {
  position: absolute;
  inset: 0;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  padding: 4.5rem 0 1rem;
  z-index: 3;
  box-sizing: border-box;
  text-align: left;
}

body.page-index #section-intro .abs-centered > .container {
  width: 100%;
  max-width: 1200px;
  transform: translateY(3.75rem);
}

body.page-index #section-intro .abs-centered .row {
  justify-content: flex-start;
  width: 100%;
  margin: 0;
}

body.page-index #section-intro .hero-content {
  max-width: 620px;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  flex: 0 1 620px;
}

body.page-index #section-intro .hero-content .spacer-single {
  display: none;
}

/* ─── Badge ─── */
body.page-index #section-intro .subtitle {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.125rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ─── Başlık ─── */
body.page-index #section-intro h1 {
  font-size: clamp(2.125rem, 4.8vw, 3.375rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: #fff !important;
  max-width: 13em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ─── Açıklama ─── */
body.page-index #section-intro .lead,
body.page-index #section-intro .lead.text-light {
  font-size: clamp(1rem, 1.65vw, 1.1875rem) !important;
  line-height: 1.7 !important;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
  max-width: 36rem;
}

body.page-index #section-intro .lead a {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

body.page-index #section-intro .lead a:hover {
  color: #fff !important;
}

/* ─── Slider Randevu Al butonu ─── */
body.page-index #section-intro .hero-cta.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 1rem 2.625rem;
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.03em;
  background: var(--simya-btn-gradient) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: var(--simya-btn-shadow);
}

body.page-index #section-intro .hero-cta.btn-main:hover {
  background: var(--simya-btn-gradient-hover) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: var(--simya-btn-shadow-hover);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  /* Mobilde sticky header – slider hemen altında başlar */
  body.page-index header.transparent.header-light {
    position: sticky !important;
  }

  body.page-index #wrapper > header ~ #content.no-top,
  body.page-index #content.no-top {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body.page-index #section-intro {
    margin-top: 0;
    padding-top: 0;
    background: #141020;
  }

  body.page-index #section-intro .relative,
  body.page-index #section-intro .mh-800 {
    min-height: max(520px, calc(100svh - 72px - 5rem)) !important;
    height: max(520px, calc(100svh - 72px - 5rem)) !important;
  }

  body.page-index #section-intro .abs-centered {
    position: absolute !important;
    inset: 0 !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    min-height: 0 !important;
    padding: 0 !important;
    text-align: left;
  }

  body.page-index #section-intro .abs-centered > .container {
    transform: none !important;
    width: 100%;
    max-width: 1200px;
    padding-left: var(--simya-container-px, 1rem) !important;
    padding-right: var(--simya-container-px, 1rem) !important;
    margin: 0 auto;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.page-index #section-intro .hero-content {
    max-width: 100%;
  }

  body.page-index #section-intro .subtitle {
    font-size: 0.625rem;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.65rem;
  }

  body.page-index #section-intro h1 {
    font-size: clamp(1.5rem, 6vw, 1.875rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
    max-width: 14em;
  }

  body.page-index #section-intro .lead,
  body.page-index #section-intro .lead.text-light {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    max-width: 22em;
  }

  body.page-index #section-intro .hero-cta.btn-main {
    width: auto;
    min-width: 200px;
    min-height: 48px;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
  }

  body.page-index #section-intro .sw-overlay {
    background: linear-gradient(
      to right,
      rgba(20, 16, 32, 0.88) 0%,
      rgba(31, 27, 45, 0.62) 42%,
      rgba(25, 22, 38, 0.25) 70%,
      rgba(0, 0, 0, 0.06) 100%
    );
  }

  body.page-index #section-intro .swiper-inner {
    background-position: 62% 38% !important;
  }

  body.page-index #section-intro .swiper.wow.scaleIn {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  body.page-index #section-intro .relative,
  body.page-index #section-intro .mh-800 {
    min-height: max(480px, calc(100svh - 72px - 5rem)) !important;
    height: max(480px, calc(100svh - 72px - 5rem)) !important;
  }

  body.page-index #section-intro .abs-centered > .container {
    padding-left: var(--simya-container-px, 1rem) !important;
    padding-right: var(--simya-container-px, 1rem) !important;
    transform: none !important;
    padding-top: 0 !important;
  }

  body.page-index #section-intro h1 {
    font-size: 1.4375rem !important;
  }

  body.page-index #section-intro .hero-lead-mobile {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }
}


@media (prefers-reduced-motion: reduce) {
  body.page-index #section-intro .hero-cta.btn-main:hover {
    transform: none;
  }
}
