/* ==================================
   CARROSSEL DE EVENTOS - SIMPLES
   ================================== */

.eventos-carousel-wrapper {
    max-width: 1100px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow: hidden;
}

.eventos-carousel {
    overflow: hidden;
    position: relative;
    border-radius: 15px;
    width: 100%;
    max-width: 880px;
}

.eventos-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.evento-slide {
    min-width: 280px;
    max-width: 280px;
    width: 280px;
    height: 200px;
    flex-shrink: 0;
}

.evento-slide img {
    width: 100% !important;
    height: 200px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 200px !important;
    max-height: 200px !important;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(101, 45, 146, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.evento-slide img:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(101, 45, 146, 0.3);
}

/* Botões de navegação */
.carousel-btn {
    position: relative;
    background: #652D92;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
}

.carousel-btn:hover {
    background: #7a3ba8;
    transform: scale(1.1);
}

.carousel-btn svg {
    width: 40px;
    height: 40px;
    fill: white;
    transition: fill 0.3s ease;
}

.carousel-btn:hover svg {
    fill: white;
}

/* Dots de paginação */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(101, 45, 146, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.dot:hover {
    background: rgba(101, 45, 146, 0.6);
    transform: scale(1.2);
}

.dot.active {
    width: 30px;
    border-radius: 5px;
    background: #652D92;
}

/* Responsivo */
@media (max-width: 1024px) {
    .evento-slide {
        min-width: 240px;
        max-width: 240px;
    }
    
    .evento-slide img {
        width: 240px;
        height: 170px;
    }
}

@media (max-width: 768px) {
    .eventos-carousel-wrapper {
        padding: 0 10px;
        gap: 10px;
    }
    
    .evento-slide {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .evento-slide img {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 180px;
    }
    
    .carousel-btn {
        width: 60px;
        height: 60px;
    }
    
    .carousel-btn svg {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .eventos-carousel-wrapper {
        padding: 0 5px;
        gap: 5px;
    }
    
    .evento-slide {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        height: 180px;
    }
    
    .evento-slide img {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 180px;
    }
}

/* ============================================
   DESKTOP ONLY - Proteção definitiva (>1024px)
   ============================================ */
@media (min-width: 1025px) {
    .eventos-carousel-wrapper {
        max-width: 1100px;
        padding: 0 20px;
        gap: 20px;
        overflow: hidden;
    }

    .eventos-carousel {
        overflow: hidden;
        max-width: 880px;
    }

    .evento-slide {
        min-width: 280px;
        max-width: 280px;
        width: 280px;
        height: 200px;
    }

    .evento-slide img {
        width: 100% !important;
        height: 200px !important;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        overflow: hidden;
    }

    .carousel-btn svg {
        width: 40px;
        height: 40px;
    }
}

/* Tablet - Proteção (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .eventos-carousel-wrapper {
        overflow: hidden;
    }

    .eventos-carousel {
        overflow: hidden;
    }

    .evento-slide {
        min-width: 240px;
        max-width: 240px;
        width: 240px;
    }

    .evento-slide img {
        height: 170px !important;
    }

    .carousel-btn {
        overflow: hidden;
    }

    .carousel-btn svg {
        width: 40px;
        height: 40px;
    }
}
