/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



/* Stage Container */
.slider-stage {
  width: 100%;
  background-color: #030303;
  position: relative;
  overflow: visible !important;;
  position: relative;
  padding-top: 0px;
  perspective: 1000px;
  padding-bottom: 140px; /* Extends black background behind the reflection */
  margin-bottom: 0;
 z-index: 2;
}

.anita-slider {
  padding-bottom: 20px;
  overflow: visible !important;
}

.swiper {
  width: 100%;
  padding-bottom: 150px;
  overflow: visible !important;
}

.swiper-slide {
  width: 50vw;
  max-width: 680px;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.swiper-slide-prev {
  transform-origin: 100% 50% !important;
  transform: rotateY(18deg) scale(0.96) !important;
}

.swiper-slide-active {
  transform-origin: 50% 50% !important;
  transform: rotateY(0deg) scale(1) !important;
  z-index: 10;
}

.swiper-slide-next {
  transform-origin: 0% 50% !important;
  transform: rotateY(-18deg) scale(0.96) !important;
}

/* Main Image Card */
.slide-card {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 2px;
  overflow: hidden;
  background-color: #111;
}

.slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dim side pictures */
.card-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  transition: opacity 0.5s ease;
  z-index: 2;
}

.swiper-slide-active .card-shade {
  opacity: 0;
}

/* CRISP WATER SURFACE REFLECTION */
.wet-reflection {
  position: absolute;
  top: 100%; 
  left: 0;
  width: 100%;
  height: 140px; 
  transform: scaleY(-1);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  filter: blur(1.5px) brightness(0.85);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 45%, transparent 90%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 45%, transparent 90%);
}

.wet-reflection::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(210, 160, 70, 0.25) 0%, rgba(120, 70, 20, 0.1) 50%, transparent 80%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 6;
}

.wet-reflection .slide-card {
  background-color: transparent;
}

.swiper-slide:not(.swiper-slide-active) .wet-reflection {
  opacity: 0.35;
}

/* Sluggish Lagging Text Overlay */
.slide-caption {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
  pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.swiper-slide-prev .slide-caption {
  transform: translateX(-30%);
}

.swiper-slide-next .slide-caption {
  transform: translateX(30%);
}

.swiper-slide-active .slide-caption {
  transform: translateX(0);
}

/* Typography */
.category {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #b0b0b0;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.category span {
  font-weight: 700;
  margin-right: 4px;
}

.slide-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 8px;
}


/* Navigation Controls (Layered above 3D active slides) */
.nav-btn {
  position: absolute;
  top: 210px; /* Vertically centers over the 420px slide card */
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30; /* Overrides .swiper-slide-active z-index: 10 */
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: #f14141;
  border-color: #f14141;
}

.nav-btn-prev {
  left: 30px;
}

.nav-btn-next {
  right: 30px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .nav-btn {
    width: 40px;
    height: 40px;
    top: 180px;
  }
  .nav-btn-prev { left: 10px; }
  .nav-btn-next { right: 10px; }
}