/* Slider hero – strona główna (insp. ZIMA LAST MINUTE, strzałki, kropki) */

.raftur-hero-slider {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .raftur-hero-slider {
    min-height: 520px;
  }
}

@media (min-width: 992px) {
  .raftur-hero-slider {
    min-height: 580px;
  }
}

.raftur-slider__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.raftur-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  list-style: none;
  margin: 0;
  padding: 0;
}

.raftur-slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 420px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

@media (min-width: 768px) {
  .raftur-slider__slide {
    min-height: 520px;
  }
}

@media (min-width: 992px) {
  .raftur-slider__slide {
    min-height: 580px;
  }
}

.raftur-slider__slide--active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.raftur-slider__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.raftur-slider__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.raftur-slider__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding-top: 3rem;
  padding-bottom: 4rem;
  text-align: center;
}

.raftur-slider__text {
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.raftur-slider__title {
  color: #fff;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.raftur-slider__subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.raftur-slider__btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: #1d256a;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  min-height: 44px;
  line-height: 1.2;
}

.raftur-slider__btn:hover {
  background: #c0392b;
  color: #fff;
}

.raftur-slider__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Strzałki */
.raftur-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.raftur-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.raftur-slider__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.raftur-slider__arrow--prev {
  left: 1rem;
}

.raftur-slider__arrow--next {
  right: 1rem;
}

/* Kropki paginacji */
.raftur-slider__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.raftur-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.raftur-slider__dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.raftur-slider__dot--active {
  background: #fff;
  transform: scale(1.2);
}

.raftur-slider__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
