/* Batamex — retail hero slider (Woodmart slider-73 referans) */

.btx-hero-slider {
  --btx-hero-accent: #f4a51c;
  --btx-hero-bg: rgb(53, 55, 52);
  --btx-hero-height: 600px;
  --btx-hero-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--btx-hero-bg);
  color: #fff;
  font-family: Cabin, Lato, Arial, Helvetica, sans-serif;
}

.btx-hero-slider__viewport {
  width: 100%;
  height: var(--btx-hero-height);
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.btx-hero-slider__track {
  display: flex;
  gap: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  transition: transform 0.7s var(--btx-hero-ease);
  will-change: transform;
}

.btx-hero-slider__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  height: var(--btx-hero-height);
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.btx-hero-slider__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--btx-hero-bg);
}

.btx-hero-slider__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
}

.btx-hero-slider__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 35px 80px;
  box-sizing: border-box;
  text-align: center;
}

.btx-hero-slider__inner {
  width: 100%;
  max-width: 881px;
}

.btx-hero-slider__kicker {
  margin: 0 0 10px;
  color: var(--btx-hero-accent);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btx-hero-slider__pagination li {
  display: flex;
  align-items: center;
}

.btx-hero-slider__title {
  margin: 0 0 22px;
  color: #fff;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.2;
}

.btx-hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btx-hero-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 5px 22px;
  border-radius: 35px;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btx-hero-slider__btn:hover {
  opacity: 0.92;
}

.btx-hero-slider__btn--primary {
  border: 2px solid var(--btx-hero-accent);
  background: var(--btx-hero-accent);
  color: #fff;
}

.btx-hero-slider__btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
}

.btx-hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
}

.btx-hero-slider__arrow span {
  font-size: 28px;
  line-height: 1;
}

.btx-hero-slider__arrow--prev {
  left: 16px;
}

.btx-hero-slider__arrow--next {
  right: 16px;
}

.btx-hero-slider__pagination {
  --btx-pagin-gap: 30px;
  --btx-pagin-line: 1.3em;
  --btx-pagin-line-active: 2.6em;
  --btx-pagin-line-hover: 2em;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: var(--btx-pagin-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.btx-hero-slider__pagination li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.25s ease;
}

.btx-hero-slider__pagination li::before {
  content: "";
  position: absolute;
  inset: -10px 0;
}

.btx-hero-slider__pagination li::after {
  content: "";
  width: var(--btx-pagin-line);
  border-bottom: 2px solid currentColor;
  transition: width 0.25s ease, border-color 0.25s ease;
}

.btx-hero-slider__pagination li:hover {
  color: rgba(255, 255, 255, 0.75);
}

.btx-hero-slider__pagination li:hover::after {
  width: var(--btx-pagin-line-hover);
}

.btx-hero-slider__pagination li.is-active {
  color: #fff;
}

.btx-hero-slider__pagination li.is-active::after {
  width: var(--btx-pagin-line-active);
}

.btx-hero-slider__pagination button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .btx-hero-slider {
    --btx-hero-height: 480px;
  }

  .btx-hero-slider__content {
    align-items: flex-start;
    justify-content: center;
    padding: 35px 56px;
  }

  .btx-hero-slider__inner {
    max-width: 1200px;
    text-align: left;
  }

  .btx-hero-slider__title {
    font-size: 36px;
  }

  .btx-hero-slider__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .btx-hero-slider {
    --btx-hero-height: 420px;
  }

  .btx-hero-slider__content {
    padding: 28px 48px;
  }

  .btx-hero-slider__inner {
    max-width: 500px;
  }

  .btx-hero-slider__kicker {
    font-size: 16px;
  }

  .btx-hero-slider__title {
    font-size: 26px;
  }
}
