/* ============================================================
   Kajla PACKERS & MOVERS — Hero Carousel Styles
   ============================================================ */

/* ── Carousel Wrapper ─────────────────────────────────────── */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy);
}

/* ── Slides Track ─────────────────────────────────────────── */
.carousel-track {
  display: flex;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

/* ── Individual Slide ─────────────────────────────────────── */
.carousel-slide {
  min-width: 100%;
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slide background layers */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Dot pattern overlay */
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Slide 1 — Deep Navy with Orange right glow */
.slide-1 .slide-bg {
  background: linear-gradient(120deg, #0A1628 0%, #0D1B3E 55%, #16285A 100%);
}
.slide-1 .slide-bg::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,98,0,0.22) 0%, transparent 70%);
}

/* Slide 2 — Dark teal-navy diagonal */
.slide-2 .slide-bg {
  background: linear-gradient(135deg, #0B1E3F 0%, #0E2A50 40%, #1A3A6B 100%);
}
.slide-2 .slide-bg::before {
  content: '';
  position: absolute;
  left: -60px; bottom: -60px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,0,0.18) 0%, transparent 70%);
}

/* Slide 3 — Almost black with warm accents */
.slide-3 .slide-bg {
  background: linear-gradient(110deg, #070E20 0%, #0D1B3E 60%, #12224A 100%);
}
.slide-3 .slide-bg::before {
  content: '';
  position: absolute;
  right: 10%; top: 50%; transform: translateY(-50%);
  width: 450px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,98,0,0.15) 0%, transparent 70%);
}

/* ── Slide Content Grid ───────────────────────────────────── */
.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.slide-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── Slide Text ───────────────────────────────────────────── */
.slide-text { position: relative; }

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,98,0,0.15);
  border: 1px solid rgba(255,98,0,0.4);
  color: #FFB87A;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.slide-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 900;
  color: white;
  line-height: 1.03;
  margin-bottom: 20px;
}

.slide-title .highlight { color: var(--orange); }
.slide-title .outline-text {
  -webkit-text-stroke: 2px var(--orange);
  color: transparent;
}

.slide-desc {
  color: #94A3B8;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 490px;
}

.slide-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Slide stats row */
.slide-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  flex-wrap: wrap;
}

.slide-stat {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.slide-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.slide-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.slide-stat-num span { color: var(--orange); }
.slide-stat-label { font-size: 12px; color: #64748B; margin-top: 3px; }

/* ── Slide Visual (right side) ────────────────────────────── */
.slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Visual card/box */
.visual-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 36px;
  width: 100%;
}

/* Icon display */
.visual-icon-wrap {
  text-align: center;
  position: relative;
}

.visual-main-icon {
  font-size: 100px;
  color: rgba(255,98,0,0.2);
  display: block;
  line-height: 1;
  margin: 0 auto 20px;
  transition: color 0.4s;
}

.carousel-slide.active .visual-main-icon {
  color: rgba(255,98,0,0.35);
}

/* Floating badges on visual */
.float-badge {
  position: absolute;
  background: var(--orange);
  color: white;
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(255,98,0,0.35);
  white-space: nowrap;
  animation: floatBadge 3s ease-in-out infinite;
}

.float-badge i { font-size: 16px; }

.float-badge-1 { top: -16px; left: -16px; animation-delay: 0s; }
.float-badge-2 { bottom: -16px; right: -16px; animation-delay: 1.5s; }
.float-badge-3 { top: -16px; right: 30px; animation-delay: 0.8s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* Mini stat cards inside visual */
.visual-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.visual-stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  transition: background 0.2s;
}

.visual-stat-card:hover { background: rgba(255,98,0,0.12); }

.visual-stat-card .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.visual-stat-card .lbl {
  font-size: 11px;
  color: #64748B;
  margin-top: 3px;
}

/* ── Carousel Controls ────────────────────────────────────── */
/* Prev / Next arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  backdrop-filter: blur(8px);
}

.carousel-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev { left: 28px; }
.carousel-btn.next { right: 28px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--orange);
  width: 30px;
  border-radius: 5px;
}

/* Slide counter */
.carousel-counter {
  position: absolute;
  bottom: 28px;
  right: 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  z-index: 10;
  letter-spacing: 2px;
}

.carousel-counter .current { color: var(--orange); font-size: 22px; }

/* Progress bar */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
}

.carousel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  width: 0%;
  transition: width linear;
  border-radius: 0 2px 2px 0;
}

/* ── Slide Entry Animations ───────────────────────────────── */
.carousel-slide .slide-badge,
.carousel-slide .slide-title,
.carousel-slide .slide-desc,
.carousel-slide .slide-btns,
.carousel-slide .slide-stats,
.carousel-slide .slide-visual {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.carousel-slide.active .slide-badge  { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.carousel-slide.active .slide-title  { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.carousel-slide.active .slide-desc   { opacity: 1; transform: translateY(0); transition-delay: 0.40s; }
.carousel-slide.active .slide-btns   { opacity: 1; transform: translateY(0); transition-delay: 0.50s; }
.carousel-slide.active .slide-stats  { opacity: 1; transform: translateY(0); transition-delay: 0.60s; }
.carousel-slide.active .slide-visual { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }

/* ── Thumbnail Nav Strip ──────────────────────────────────── */
.carousel-thumbs {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
}

.thumb-item {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.07);
  border-bottom: 3px solid transparent;
  transition: all 0.25s;
  background: transparent;
  border-top: none;
  color: #64748B;
  text-align: left;
}

.thumb-item:last-child { border-right: none; }

.thumb-item.active {
  border-bottom-color: var(--orange);
  background: rgba(255,98,0,0.08);
  color: white;
}

.thumb-item:hover:not(.active) {
  background: rgba(255,255,255,0.04);
  color: #94A3B8;
}

.thumb-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,98,0,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--orange);
  flex-shrink: 0;
  transition: background 0.25s;
}

.thumb-item.active .thumb-icon {
  background: var(--orange);
  color: white;
}

.thumb-text .t {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 3px;
}

.thumb-text .s {
  font-size: 12px;
  color: #475569;
  line-height: 1.3;
}

.thumb-item.active .thumb-text .s { color: #94A3B8; }

/* ── Quick Quote Strip (below carousel) ──────────────────── */
.quote-strip {
  background: white;
  box-shadow: 0 8px 40px rgba(13,27,62,0.12);
  position: relative;
  z-index: 5;
}

.quote-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 0;
  align-items: center;
}

.quote-field {
  padding: 18px 20px;
  border-right: 1px solid var(--gray-light);
}

.quote-field:last-of-type { border-right: none; }

.quote-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
  margin-bottom: 5px;
}

.quote-field label i { color: var(--orange); font-size: 11px; }

.quote-field input,
.quote-field select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  padding: 0;
  font-family: 'Nunito', sans-serif;
}

.quote-field input::placeholder { color: #94A3B8; font-weight: 500; }

.quote-strip-btn {
  padding: 0 28px;
  height: 100%;
  min-height: 80px;
  background: var(--orange);
  border: none;
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.2s;
}

.quote-strip-btn:hover { background: var(--orange-light); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .quote-strip-inner { grid-template-columns: repeat(3, 1fr) auto; }
  .quote-field:nth-child(4),
  .quote-field:nth-child(5) { display: none; }
}

@media (max-width: 768px) {
  .carousel-slide { min-height: auto; }
  .slide-inner { grid-template-columns: 1fr; padding: 60px 24px 80px; gap: 36px; }
  .slide-visual { display: none; }
  .carousel-btn.prev { left: 12px; width: 40px; height: 40px; font-size: 14px; }
  .carousel-btn.next { right: 12px; width: 40px; height: 40px; font-size: 14px; }
  .carousel-thumbs { display: none; }
  .quote-strip-inner { grid-template-columns: 1fr 1fr; }
  .quote-field:nth-child(3),
  .quote-field:nth-child(4),
  .quote-field:nth-child(5) { display: none; }
  .quote-strip-btn { width: 100%; justify-content: center; grid-column: 1 / -1; }
  .carousel-counter { display: none; }
  .slide-stats { gap: 20px; }
}
