/* Enhanced Carousel Auto-Scroll Styles */

/* Smooth transition for carousel */
.carousel-track {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Add visual feedback for carousel buttons */
.carousel-btn {
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Add subtle animation to guest cards */
.guest-card {
    transition: all 0.3s ease;
}

.carousel-slide:hover .guest-card {
    transform: translateY(-5px);
}

.carousel-slide:hover .guest-card img {
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3) !important;
}

/* Add progress indicator dots */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(44, 62, 80, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-indicator:hover {
    background: rgba(44, 62, 80, 0.5);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* Pause indicator */
.carousel-container {
    position: relative;
}

.carousel-container::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.carousel-container:hover::after {
    width: 100px;
}

/* Auto-scroll animation effect */
@keyframes slideIn {
    from {
        opacity: 0.7;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-slide {
    animation: slideIn 0.6s ease-out;
}

/* Add subtle glow effect on active slide */
.carousel-slide:nth-child(1) .guest-card,
.carousel-slide:nth-child(2) .guest-card,
.carousel-slide:nth-child(3) .guest-card {
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-indicators {
        margin-top: 20px;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
    }

    .carousel-indicator.active {
        width: 24px;
    }
}