/* Carousel Card Interaction Styles */

.carousel-card {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center center;
  position: relative;
  z-index: 1; 
  cursor: default;
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Unified hover effect for all cards */
.carousel-card:hover {
  transform: scale(1.2); 
  z-index: 3; 
  box-shadow: 0 18px 32px rgba(255, 125, 0, 0.3), 0 12px 12px rgba(0, 0, 0, 0.25);
}

/* Subtle spacing for visual separation */
.carousel-card.left-card {
  margin-right: 10px; 
}

.carousel-card.right-card {
  margin-left: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-card:hover {
    transform: scale(1);
    box-shadow: 0 6px 12px rgba(255, 125, 0, 0.2), 0 4px 4px rgba(0, 0, 0, 0.15);
  }
}

/* Image carousel animation for modal previews */
#modalImage {
    transition: opacity 0.3s ease-out;
}

.image-changing #modalImage {
    opacity: 0;
}

.carousel-navigation-active #modalContent {
    position: relative;
    overflow: visible;
}

/* Carousel navigation indicators */
.carousel-indicator-container {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: #FF7D00;
    transform: scale(1.5);
}
