/* Enhanced carousel pagination for touch devices */

/* Carousel dots container */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin: 20px auto 10px;
    padding: 15px 0;
    width: 100%;
    z-index: 50;
}

/* Dots styling */
.carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

/* Mobile optimization for dots */
@media (max-width: 768px) {
    .carousel-dots {
        padding: 12px 0;
    }
    
    .carousel-dot {
        width: 15px;
        height: 15px;
        margin: 0 10px;
        /* Create a larger invisible touch area */
        position: relative;
    }
    
    .carousel-dot::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
    
    /* Visual indication of touch */
    .carousel-dot:active {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

/* Custom animation for active dot */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.2); }
}

.carousel-dot.active {
    animation: pulse 0.5s ease-in-out;
}
