/**
 * CatWalk Theme - Hero Slider Styles
 * Inspired by Slider Revolution design from reference website
 */

.catwalk-hero-slider {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: #000;
}

/* Swiper Container */
.hero-swiper {
  width: 100%;
  height: 100%;
}

/* Slide */
.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Image with Ken Burns Effect */
.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 7s ease-out; /* Match autoplay delay for complete zoom cycle */
}

/* Content Wrapper */
.slide-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.35)
  );
}

/* Slide Content */
.slide-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 0.8s ease-out;
}

/* Subtitle */
.slide-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #fffef4;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Title */
.slide-title {
  font-family: "futura-pt", sans-serif;
  font-size: 47px;
  font-weight: 500;
  color: #fffef4;
  line-height: 1.2;
  margin: 0 0 40px 0;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

/* Button Wrapper */
.slide-button-wrapper {
  margin-top: 40px;
}

/* Button - Matching reference site */
.slide-button {
  display: inline-block;
  padding: 0 42px;
  height: 52px;
  line-height: 52px;
  background-color: #fffef4;
  color: #171517;
  font-family: "futura-pt", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border: 1.6px solid #fffef4;
  border-radius: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-button:hover {
  background-color: #171517 !important; /* Dark background instead of transparent */
  color: #fffef4 !important;
  border-color: #171517 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none !important; /* Prevent underline */
}

/* Navigation Arrows - Using Remix Icons */
.hero-arrow {
  width: 60px !important;
  height: 60px !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}

.hero-arrow i {
  font-size: 50px;
  line-height: 1;
  color: inherit;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* CRITICAL: Remove Swiper's default arrow */
.hero-arrow::after {
  content: "" !important;
  display: none !important;
}

.swiper-button-prev.hero-arrow {
  left: 40px;
}

.swiper-button-next.hero-arrow {
  right: 40px;
}

.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Pagination Bullets - Bottom center, circular */
.hero-pagination {
  bottom: 30px !important;
  text-align: center;
}

.hero-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 6px;
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.3);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1199px) {
  .catwalk-hero-slider {
    height: 600px;
  }

  .slide-title {
    font-size: 42px;
  }
}

/* Tablets */
@media (max-width: 991px) {
  .catwalk-hero-slider {
    height: 500px;
  }

  .slide-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .slide-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .slide-button {
    padding: 0 35px;
    height: 48px;
    line-height: 48px;
    font-size: 15px;
  }

  .hero-arrow {
    width: 45px;
    height: 45px;
  }

  .swiper-button-prev.hero-arrow {
    left: 20px;
  }

  .swiper-button-next.hero-arrow {
    right: 20px;
  }
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .catwalk-hero-slider {
    height: 450px;
  }

  .slide-title {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .slide-subtitle {
    font-size: 12px;
  }

  .slide-button {
    padding: 0 30px;
    height: 44px;
    line-height: 44px;
    font-size: 14px;
  }
}

/* Mobile Portrait */
@media (max-width: 575px) {
  .catwalk-hero-slider {
    height: 400px;
  }

  .slide-title {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .slide-subtitle {
    font-size: 11px;
    margin-bottom: 15px;
  }

  .slide-button-wrapper {
    margin-top: 30px;
  }

  .slide-button {
    padding: 0 25px;
    height: 42px;
    line-height: 42px;
    font-size: 13px;
  }

  /* Hide arrows on very small screens */
  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .swiper-button-prev.hero-arrow {
    left: 10px;
  }

  .swiper-button-next.hero-arrow {
    right: 10px;
  }

  .hero-pagination {
    bottom: 20px !important;
  }
}

/* Performance Optimization */
.slide-background,
.swiper-slide {
  will-change: transform;
  backface-visibility: hidden;
}
