/* ===================================================
   FSM CATERING — HERO SLIDER
   hero.css
   =================================================== */

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 550px;
  max-height: 900px;
  overflow: hidden;
}

/* Slides Wrapper */
.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Single Slide */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  z-index: 1;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Slide Background Image */
.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 8s ease-out;
}

.hero__slide.is-active .hero__slide-bg {
  transform: scale(1.08);
}

/* Slide Overlay */
.hero__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.78) 0%,
    rgba(74, 20, 32, 0.65) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

/* Slide Content */
.hero__slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 700px;
  color: var(--bg-white);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: rgba(var(--accent-rgb), 0.2);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.hero__slide.is-active .hero__badge {
  opacity: 1;
  transform: translateY(0);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 700;
  color: var(--bg-white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

.hero__slide.is-active .hero__title {
  opacity: 1;
  transform: translateY(0);
}

.hero__title span {
  color: var(--accent);
}

.hero__description {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 550px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.7s, transform 0.7s ease 0.7s;
}

.hero__slide.is-active .hero__description {
  opacity: 1;
  transform: translateY(0);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.9s, transform 0.7s ease 0.9s;
}

.hero__slide.is-active .hero__cta {
  opacity: 1;
  transform: translateY(0);
}


/* ===========================
   HERO NAVIGATION ARROWS
   =========================== */
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: var(--bg-white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.hero__nav:hover {
  background: rgba(var(--accent-rgb), 0.8);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

.hero__nav--prev {
  left: 2rem;
}

.hero__nav--next {
  right: 2rem;
}


/* ===========================
   HERO PAGINATION DOTS
   =========================== */
.hero__pagination {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.hero__dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero__dot.is-active {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}


/* ===========================
   HERO SCROLL INDICATOR
   =========================== */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}


/* ===========================
   TRUST BAR (After Hero)
   =========================== */
.trust-bar {
  background-color: var(--primary);
  padding: var(--space-xl) 0;
  border-bottom: 3px solid var(--accent);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--bg-white);
  text-align: left;
}

.trust-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(var(--accent-rgb), 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1.25rem;
}

.trust-bar__text {
  font-size: var(--fs-body-sm);
  font-weight: 600;
  line-height: 1.3;
}

.trust-bar__text small {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.125rem;
}
