/**
 * Carousel Styling
 */

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    transition: opacity 0.5s ease-in-out;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot:hover {
    background-color: #9ca3af;
}

.carousel-dot.active {
    background-color: #ec4899;
    width: 32px;
    border-radius: 6px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-button:hover {
    background-color: #ec4899;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

.carousel-button i {
    font-size: 1.25rem;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .carousel-button {
        width: 40px;
        height: 40px;
    }
    
    .carousel-button i {
        font-size: 1rem;
    }
    
    .carousel-button.prev {
        left: 0.5rem;
    }
    
    .carousel-button.next {
        right: 0.5rem;
    }
}

/* Auto-scroll indicator */
.carousel-container.auto-scrolling .carousel-dot.active {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
