/* ===== Hero slider — tema tasarım dili ===== */
.hero-section {
  padding: 1.25rem 0 0.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.hero-slider-wrap,
.hero-side-wrap {
  min-width: 0;
  min-height: 0;
}

@media (min-width: 1024px) {
  .hero-side-wrap {
    display: flex;
    flex-direction: column;
  }
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: hsl(256 65% 16%);
  aspect-ratio: 1280 / 630;
  max-height: 420px;
  width: 100%;
}

.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slider__link {
  display: block;
  position: relative;
  height: 100%;
  width: 100%;
}

.hero-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-offer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: linear-gradient(0deg, rgba(31, 12, 74, 0.95) 0%, rgba(31, 12, 74, 0.75) 60%, transparent 100%);
  flex-wrap: wrap;
}

/* Slider dışındaki kampanya şeridi — absolute DEĞİL */
.hero-offer-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  background: hsl(256 67% 48%);
  border: 1px solid hsl(257 45% 40%);
}

.hero-offer-bar__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.hero-offer-bar__title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-offer {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
}

.hero-offer__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: hsl(339 64% 49%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.hero-offer__content {
  flex: 1;
  min-width: 0;
}

.hero-offer__content strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-offer__content small {
  display: block;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  line-height: 1.3;
}

.hero-offer__timer {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
  background: hsl(257 55% 30%);
  border: 1px solid hsl(257 45% 40%);
  color: hsl(45 100% 50%);
  font-weight: 700;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.hero-offer__cta {
  flex-shrink: 0;
  padding: 0.5rem 1.125rem;
  border-radius: 0.375rem;
  background: hsl(45 100% 50%);
  color: hsl(257 73% 14%);
  font-weight: 700;
  font-size: 0.8125rem;
  transition: background 0.15s ease;
}

.hero-slider__link:hover .hero-offer__cta {
  background: hsl(46 100% 58%);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  background: rgba(31, 12, 74, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hero-nav:hover {
  background: hsl(256 67% 48%);
  border-color: hsl(45 100% 50%);
}

.hero-nav--prev { left: 0.75rem; }
.hero-nav--next { right: 0.75rem; }

.hero-dots {
  position: absolute;
  bottom: 4.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, width 0.15s ease;
}

.hero-dot.is-active {
  width: 1.5rem;
  background: hsl(45 100% 50%);
}

/* Yan bannerlar */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  min-height: 280px;
}

@media (min-width: 1024px) {
  .hero-side {
    min-height: 100%;
    max-height: 420px;
  }
}

.hero-side__banner {
  display: block;
  flex: 1;
  overflow: hidden;
  border-radius: 0.5rem;
  background: hsl(257 55% 30%);
  min-height: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hero-side__banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-side__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 100px;
}

@media (min-width: 1024px) {
  .hero-side__banner {
    min-height: 0;
  }
  .hero-side__banner img {
    min-height: 120px;
  }
}
