/* ── carousel.css ── */

.carousel-container {
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  pointer-events: none;
}

/* Re-enable pointer events on interactive elements */
.carousel-arrow,
.carousel-slide .cta-btn,
.carousel-slide .contact-btn,
.carousel-slide .nav-btn,
.carousel-slide a,
.carousel-slide .logo-wrapper,
.carousel-slide .marquee-wrapper,
.carousel-slide .product-image,
.carousel-slide .product-sectors,
.carousel-slide .product-description {
  pointer-events: all;
}

/* Progress Indicator */
.carousel-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(76, 75, 99, 0.1);
  z-index: 100;
}

.carousel-progress-bar {
  height: 100%;
  background: var(--rose);
  width: 0%;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: transparent;
  border: 1px solid rgba(76,75,99,0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.15s, opacity 0.3s;
  z-index: 100;
  opacity: 1;
}

.carousel-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

.carousel-arrow:hover {
  background: var(--violet);
  border-color: var(--violet);
}

.carousel-arrow:hover svg {
  stroke: #fff;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--slate);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.25s;
}

.carousel-arrow.prev {
  left: 32px;
}

.carousel-arrow.next {
  right: 32px;
}

.carousel-arrow.prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.carousel-arrow.next:hover {
  transform: translateY(-50%) translateX(2px);
}

/* Slides Container */
.carousel-slides {
  width: 100%;
  height: 100%;
}

/* Individual Slides */
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 120px;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* Re-enable pointer events on interactive elements */
.carousel-slide .cta-btn,
.carousel-slide .contact-btn,
.carousel-slide .nav-btn,
.carousel-slide a,
.carousel-slide .logo-wrapper,
.carousel-slide .marquee-wrapper,
.carousel-slide .product-image,
.carousel-slide .product-sectors,
.carousel-slide .product-description {
  pointer-events: all;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.carousel-slide.prev {
  transform: translateX(-60px);
}

/* Hero Slide */
.hero-slide {
  justify-content: center;
  padding-bottom: 100px;
}

.hero-slide .partners {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0 0 34px;
}

/* Product Slide */
.product-slide {
  padding: 120px 120px 60px;
}

.product-card {
  display: flex;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
}

.product-image-wrapper {
  flex: 0 0 45%;
  max-width: 500px;
}

.product-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(76, 75, 99, 0.15);
  display: block;
}

.product-content {
  flex: 1;
  max-width: 520px;
}

.product-title {
  font-family: 'Libertinus Serif', 'Georgia', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  font-style: italic;
  color: var(--slate);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.product-description {
  font-family: 'Lato', sans-serif;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 300;
  color: var(--slate);
  line-height: 1.9;
  opacity: 0.8;
  margin-bottom: 32px;
}

.product-sectors {
  margin-bottom: 36px;
}

.product-sectors h4 {
  font-family: 'Lato', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.5;
  margin-bottom: 14px;
}

.product-sectors ul {
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-sectors li {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--slate);
  background: rgba(76, 75, 99, 0.08);
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(76, 75, 99, 0.12);
}

.contact-btn {
  font-family: 'Lato', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 14px 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(214,107,160,0.25);
}

.contact-btn:hover {
  background: var(--slate);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(76,75,99,0.22);
}

/* Reach Out Slide */
.reachout-slide {
  padding: 120px 120px 60px;
}

.reachout-slide .product-card {
  flex-direction: column;
  text-align: center;
  gap: 48px;
}

.reachout-slide .product-title {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
}

.reachout-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 300;
  color: var(--slate);
  opacity: 0.7;
  line-height: 1.8;
  max-width: 600px;
}

.reachout-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.reachout-contact a {
  font-family: 'Lato', sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  color: var(--slate);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.25s;
}

.reachout-contact a:hover {
  color: var(--violet);
}

.reachout-contact svg {
  width: 20px;
  height: 20px;
  stroke: var(--rose);
  stroke-width: 1.5;
  fill: none;
}

/* Dots */
.carousel-dots {
  display: none;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(76,75,99,0.2);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(76,75,99,0.4);
}

.carousel-dot.active {
  background: var(--violet);
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 900px) {
  .carousel-slide {
    padding: 40px 60px;
  }
  
  .hero-slide {
    padding-bottom: 180px;
  }
  
  .product-card {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .product-image-wrapper {
    flex: none;
    max-width: 350px;
  }
  
  .product-content {
    max-width: 100%;
  }
  
  .product-sectors ul {
    justify-content: center;
  }
  
  .carousel-arrow {
    width: 44px;
    height: 44px;
  }
  
  .carousel-arrow.prev {
    left: 16px;
  }
  
  .carousel-arrow.next {
    right: 16px;
  }
}
