/* =============================================
   HERO SLIDER - UNIQUE ANIMATED SLIDER
   ============================================= */

.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #0a0a1a;
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0s;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.slide-out {
  opacity: 1;
  z-index: 3;
  animation: slideOut 1.2s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.hero-slide.slide-in {
  opacity: 1;
  z-index: 2;
  animation: slideIn 1.2s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

@keyframes slideOut {
  0%   { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 100% 0 0); }
}

@keyframes slideIn {
  0%   { clip-path: inset(0 0 0 100%); }
  100% { clip-path: inset(0 0 0 0); }
}

/* Slide Background */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  animation: kenBurns 8s ease-in-out forwards;
  will-change: transform;
}

.hero-slide.active .slide-bg {
  animation: kenBurns 8s ease-in-out forwards;
}

@keyframes kenBurns {
  0%   { transform: scale(1.08) translateX(0); }
  100% { transform: scale(1.0) translateX(-1%); }
}

/* Gradient overlays */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,26,0.85) 0%,
    rgba(10,10,26,0.5) 50%,
    rgba(121,47,154,0.15) 100%
  );
  z-index: 1;
}

.slide-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10,10,26,0.9), transparent);
}

/* Container inside slide fills full height */
.hero-slide > .container {
  position: relative;
  z-index: 10;
  height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
}

/* Slide Content */
.slide-content {
  position: relative;
  z-index: 10;
  padding: 160px 0 100px;
  max-width: 760px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(247,95,49,0.15);
  border: 1px solid rgba(247,95,49,0.4);
  color: #F7A07A;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
}

.hero-slide.active .slide-tag {
  animation: contentUp 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.4s both;
}

.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
}

.hero-slide.active .slide-title {
  animation: contentUp 0.8s cubic-bezier(0.34,1.56,0.64,1) 0.55s both;
}

.slide-title em {
  font-style: italic;
  background: linear-gradient(135deg, #F75F31, #FFAA60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 36px;
  opacity: 0;
}

.hero-slide.active .slide-desc {
  animation: contentFade 0.8s ease 0.75s both;
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-slide.active .slide-actions {
  animation: contentFade 0.8s ease 0.9s both;
}

.slide-price-badge {
  display: inline-flex;
  flex-direction: column;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 14px 22px;
  color: white;
  opacity: 0;
}

.hero-slide.active .slide-price-badge {
  animation: contentFade 0.8s ease 1s both;
}

.slide-price-badge .from { font-size: 11px; opacity: 0.6; text-transform: uppercase; letter-spacing: 1px; }
.slide-price-badge .amount { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: #F75F31; line-height: 1; }
.slide-price-badge .per { font-size: 11px; opacity: 0.6; }

@keyframes contentUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes contentFade {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero Stats */
.slider-stats {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  gap: 1px;
  z-index: 20;
  animation: fadeInRight 0.8s ease 1.2s both;
}

.slider-stat {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 18px 26px;
  text-align: center;
  transition: background 0.3s;
}

.slider-stat:hover { background: rgba(121,47,154,0.2); }
.slider-stat:first-child { border-radius: 12px 0 0 12px; }
.slider-stat:last-child  { border-radius: 0 12px 12px 0; }

.slider-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.slider-stat .num span { color: #F75F31; }
.slider-stat .label {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 5px;
}

/* Navigation Controls */
.slider-controls {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 20;
}

.slider-prev,
.slider-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  backdrop-filter: blur(10px);
}

.slider-prev:hover,
.slider-next:hover {
  background: #F75F31;
  border-color: #F75F31;
  transform: scale(1.1);
}

/* Dots */
.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: #F75F31;
  width: 32px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(247,95,49,0.6);
}

/* Progress bar */
.slider-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #F75F31, #792F9A);
  z-index: 30;
  transition: none;
  box-shadow: 0 0 10px rgba(247,95,49,0.5);
}

/* Slide counter */
.slide-counter {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 20;
}

.slide-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  transition: color 0.5s;
}

.slide-num.current { color: #fff; font-size: 1.2rem; opacity: 1; }
.slide-num.total   { color: rgba(255,255,255,0.3); font-size: 1rem; }

.slide-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* Decorative floating elements */
.slider-deco {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(121,47,154,0.2);
  top: 15%;
  right: 8%;
  animation: rotateDeco 20s linear infinite;
  z-index: 5;
  pointer-events: none;
}

.slider-deco::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(247,95,49,0.15);
  animation: rotateDeco 15s linear infinite reverse;
}

@keyframes rotateDeco {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Thumbnail strip ── */
.slider-thumbs {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.slider-thumb {
  width: 70px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.5;
  flex-shrink: 0;
}

.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.slider-thumb:hover { opacity: 0.8; transform: translateY(-3px); }
.slider-thumb.active { border-color: #F75F31; opacity: 1; transform: translateY(-4px); }
.slider-thumb.active img { transform: scale(1.05); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .slide-title { font-size: 2.4rem; }
  .slider-stats { display: none; }
  .slide-counter { display: none; }
  .slider-deco { display: none; }
  .slider-thumbs { display: none; }
  .slider-controls { bottom: 25px; }
}
