/**
 * WingsBro front page styles (hero slider, franchise promo bar).
 * Enqueued from functions.php on is_front_page() only.
 */

/* Front page hero banner slider — desktop 1024×279, mobile 1024×768 */
.wingsbro-hero-slider__viewport {
  position: relative;
  width: 100%;
  line-height: 0;
}

.wingsbro-hero-slider__banner-picture {
  display: block;
  width: 100%;
}

.wingsbro-hero-slider__slide--banner .wingsbro-hero-slider__banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.wingsbro-hero-slider__banner--image {
  background: #f7f4ee;
}

.wingsbro-hero-slider__banner-link {
  display: block;
  width: 100%;
  line-height: 0;
}

.wingsbro-hero-slider__banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.wingsbro-hero-slider__banner--image .wingsbro-hero-slider__banner-img {
  object-fit: unset;
  object-position: center center;
}

.wingsbro-hero-slider__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 27, 22, 0.35) 0%,
    rgba(7, 27, 22, 0.2) 45%,
    rgba(7, 27, 22, 0.45) 100%
  );
  pointer-events: none;
}

.wingsbro-hero-slider__banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  pointer-events: none;
}

.wingsbro-hero-slider__banner-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

.wingsbro-hero-slider__slide {
  animation: wingsbro-hero-fade-in 0.45s ease;
}

.wingsbro-hero-slider__slide[hidden] {
  display: none !important;
}

@keyframes wingsbro-hero-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.wingsbro-hero-slider__controls {
  position: relative;
  z-index: 10;
  margin-top: 0;
}

.wingsbro-hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 1rem;
}

.wingsbro-hero-slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #0b4b3a;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wingsbro-hero-slider__arrow:hover {
  background: #f4f8f6;
  border-color: #0b4b3a;
}

/* Tailwind preflight sets button { background-color: transparent } — scope + border keeps dots visible */
.wingsbro-hero-slider button.wingsbro-hero-slider__dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  flex-shrink: 0;
  display: inline-block;
  border-radius: 999px;
  border: 2px solid #0b4b3a;
  padding: 0;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-color: rgba(11, 75, 58, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.wingsbro-hero-slider button.wingsbro-hero-slider__dot.is-active {
  background-color: #0b4b3a;
  transform: scale(1.15);
}

.wingsbro-hero-slider button.wingsbro-hero-slider__dot:hover {
  background-color: rgba(11, 75, 58, 0.45);
}

.wingsbro-hero-slider button.wingsbro-hero-slider__dot.is-active:hover {
  background-color: #08352a;
}

@media (prefers-reduced-motion: reduce) {
  .wingsbro-hero-slider__slide {
    animation: none;
  }
}
/* Front page — franchise promo bar */
.home-franchise-promo {
  background: #f96106;
  color: #fff;
}

.home-franchise-promo__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  padding: 1.35rem 0;
}

.home-franchise-promo__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  flex: 1 1 520px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-franchise-promo__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 180px;
  min-width: 0;
  padding: 0.35rem 1.25rem;
}

.home-franchise-promo__item--divider {
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.home-franchise-promo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  opacity: 0.95;
}

.home-franchise-promo__icon-img {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
}

.home-franchise-promo__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.home-franchise-promo__title {
  font-size: clamp(0.8125rem, 1.1vw, 0.875rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-franchise-promo__text {
  font-size: clamp(0.75rem, 0.95vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: uppercase;
  opacity: 0.92;
}

.home-franchise-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.65rem;
  background: #0a3525;
  color: #fff;
  font-size: clamp(0.8125rem, 1vw, 0.875rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.home-franchise-promo__btn:hover {
  background: #053525;
  color: #fff;
}

@media (max-width: 1024px) {
  .home-franchise-promo__items {
    flex: 1 1 100%;
  }

  .home-franchise-promo__item {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 11rem;
  }
}

@media (max-width: 900px) {
  .home-franchise-promo__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 0 1.25rem;
  }

  .home-franchise-promo__items {
    flex-direction: column;
    align-items: stretch;
    flex: none;
    width: 100%;
    gap: 0;
  }

  .home-franchise-promo__item {
    flex: none;
    width: 100%;
    min-width: 0;
    gap: 0.875rem;
    padding: 0.875rem 0;
  }

  .home-franchise-promo__item:first-child {
    padding-top: 0;
  }

  .home-franchise-promo__item--divider {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding-top: 0.875rem;
  }

  .home-franchise-promo__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.14);
  }

  .home-franchise-promo__icon-img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .home-franchise-promo__title {
    font-size: 0.8125rem;
    line-height: 1.35;
  }

  .home-franchise-promo__text {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .home-franchise-promo__btn {
    width: 100%;
    min-height: 3.25rem;
    margin-top: 0.25rem;
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 380px) {
  .home-franchise-promo__title {
    font-size: 0.75rem;
    letter-spacing: 0.03em;
  }

  .home-franchise-promo__text {
    font-size: 0.6875rem;
  }
}

/* Home page — Bro Menüleri & Sosları horizontal sliders */
.wingsbro-home-slider {
  min-width: 0;
}

.wingsbro-home-slider--sos .wingsbro-menu-builder__slider-item {
  flex: 0 0 calc(50% - 0.375rem);
}

@media (min-width: 640px) {
  .wingsbro-home-slider--sos .wingsbro-menu-builder__slider-item {
    flex-basis: calc(33.333% - 0.583rem);
  }
}

@media (min-width: 1024px) {
  .wingsbro-home-slider--sos .wingsbro-menu-builder__slider-item {
    flex-basis: calc(25% - 0.4875rem);
  }
}
