/* Carousel with CTA Block Styles */
/* Extracted from carousel_with_cta_block.html inline <style> */

.carousel-cta-section {
  overflow: hidden;
}

/* Apple-inspired CTA Panel with gradient */
.cta-panel-apple {
  background: linear-gradient(135deg, var(--bs-primary) 0%, #1a1a2e 100%);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.cta-panel-apple::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-apple-title {
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-apple-subtitle {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.cta-apple-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-apple-btn-primary {
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.cta-apple-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
}

.cta-apple-btn-secondary {
  opacity: 0.9;
  transition: all 0.3s ease;
}

.cta-apple-btn-secondary:hover {
  opacity: 1;
  transform: translateX(4px);
}

.carousel-cta-swiper {
  overflow: hidden;
}

.carousel-cta-swiper .swiper-slide {
  height: auto;
}

@media (max-width: 991px) {
  .cta-panel-apple {
    text-align: center;
    min-height: auto;
    padding: 2.5rem !important;
  }
  
  .cta-apple-title {
    font-size: 2rem !important;
  }
  
  .cta-panel-apple .d-flex {
    justify-content: center;
  }
}
