/* =========================================
   MKM PROMOTIONS - HERO SLIDER
   Professional Animations
   ========================================= */

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Individual Slide */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Slide Background with MKM Brand Overlay */
.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 0, 1, 0.85), rgba(229, 1, 8, 0.3));
  z-index: 1;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slowZoom 25s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

/* Slide Content */
.slide .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

.slide .hero-grid {
  width: 100%;
}

.slide .hero-content {
  max-width: 650px;
}

/* Hero Badge - MKM Style */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(229, 1, 8, 0.15);
  border: 1px solid rgba(229, 1, 8, 0.4);
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
}

.slide.active .hero-badge {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-badge i {
  color: #e50108;
}

/* Hero Title */
.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
}

.slide.active .hero-title {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards;
}

/* MKM Text Gradient */
.hero-title .text-gradient {
  background: linear-gradient(135deg, #e50108, #6baa04);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Description */
.hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 35px;
  opacity: 0;
}

.slide.active .hero-description {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
}

.slide.active .hero-buttons {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;
}

/* Slider Navigation Arrows - MKM Style */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(229, 1, 8, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(229, 1, 8, 0.4);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: #e50108;
  border-color: #e50108;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 30px rgba(229, 1, 8, 0.5);
}

.slider-prev { left: 30px; }
.slider-next { right: 30px; }

/* Slider Dots - MKM Style */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
}

.slider-dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.slider-dot.active {
  background: #e50108;
  border-color: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(229, 1, 8, 0.6);
}

/* Slider Progress Bar - MKM Style */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
  overflow: hidden;
}

.slider-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #e50108, #6baa04);
  width: 0%;
  transition: width 0.1s linear;
}

.slider-progress-bar.animate {
  animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide Transitions */
.slide.prev {
  animation: slideOut 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOut {
  to {
    opacity: 0;
    transform: translateX(-3%);
  }
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */

@media (max-width: 991px) {
  .hero-slider { min-height: 75vh; }
  .slide { min-height: 75vh; }
  .slide .container { padding-top: 90px; }
  .hero-title { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
  .hero-description { font-size: 1.05rem; }
  .slider-arrow { width: 48px; height: 48px; font-size: 1rem; }
  .slider-prev { left: 15px; }
  .slider-next { right: 15px; }
}

@media (max-width: 768px) {
  .hero-slider { min-height: 65vh; }
  .slide { min-height: 65vh; }
  .slide .container { padding: 90px 20px 50px; }
  .slide .hero-grid { text-align: center; }
  .slide .hero-content { max-width: 100%; }
  .hero-badge { font-size: 0.75rem; padding: 10px 18px; }
  .hero-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero-description { font-size: 0.95rem; }
  .hero-buttons { justify-content: center; }
  .hero-buttons .btn { padding: 14px 28px; font-size: 0.9rem; }
  .slider-arrow { display: none; }
  .slider-dots { bottom: 25px; }
  .slider-dot { width: 12px; height: 12px; }
}

@media (max-width: 480px) {
  .hero-slider { min-height: 55vh; }
  .slide { min-height: 55vh; }
  .slide .container { padding: 80px 15px 40px; }
  .hero-badge { font-size: 0.7rem; padding: 8px 14px; }
  .hero-title { font-size: 1.6rem; }
  .hero-description { font-size: 0.9rem; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .slider-dots { bottom: 18px; gap: 10px; }
  .slider-dot { width: 10px; height: 10px; }
}

/* Touch Support */
.hero-slider { touch-action: pan-y pinch-zoom; }
.slide-bg img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
