/* Eventos Section */
#eventos {
    padding: 80px 0;
    background-color: #fffaf0;
}

.event-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.events-carousel-wrapper {
    position: relative;
    padding: 0 50px;
    margin: 0 auto;
    max-width: 98%;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #e6a902;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-control:hover {
    background: #e6a902;
    color: #fff;
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-control i {
    font-size: 20px;
}

.events-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.events-scroll-container::-webkit-scrollbar {
    display: none;
}

.events-row {
    margin: 0 auto;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    width: 100%;
}

.col-event {
    flex: 0 0 33.333333%;
    padding: 0 15px;
    scroll-snap-align: start;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-card__img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.event-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card__img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    z-index: 1;
}

.event-card__overlay-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    z-index: 2;
    line-height: 1.1;
    text-wrap: balance;
}

.event-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    z-index: 3;
}

.badge-presencial {
    background-color: #E19B0F;
}

.badge-online {
    background-color: #067CAE;
}

.event-card__content {
    padding: 20px 25px;
    background: #fff;
}

.event-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 17px;
    color: #333;
    font-weight: 500;
}

.event-info i {
    color: #000;
    font-size: 24px;
}

.event-more a {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #000 !important;
    text-decoration: none;
}

.event-more a i {
    color: #e6a902;
}

.see-more-events {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 35px;
    border: 2px solid #e6a902;
    border-radius: 30px;
    color: #000000;
    text-decoration: none;
    font-weight: 200;
    transition: all 0.3s ease;
}

.see-more-events:hover {
    background-color: #e6a902;
    color: #fff;
}

/* Media Queries */
@media (max-width: 1200px) {
    .col-event {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .events-carousel-wrapper {
        padding: 0 50px;
    }

    .carousel-control {
        width: 42px;
        height: 42px;
    }

    .col-event {
        flex: 0 0 100%;
    }

    .events-scroll-container {
        padding-bottom: 20px;
    }

    .event-card__img {
        height: 350px;
    }

    .event-card__overlay-title {
        font-size: 22px;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .event-card__content {
        padding: 15px;
    }

    .event-info {
        font-size: 15px;
        gap: 8px;
    }

    .event-info i {
        font-size: 20px;
    }

    .event-more a {
        font-size: 15px;
        white-space: nowrap;
    }

    .event-badge {
        padding: 6px 15px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .events-carousel-wrapper {
        padding: 0 35px;
    }

    .carousel-control {
        width: 32px;
        height: 32px;
    }

    .carousel-control i {
        font-size: 14px;
    }

    .event-card__img {
        height: 280px;
    }

    .event-card__overlay-title {
        font-size: 19px;
    }

    .event-card__content {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: end;
        gap: 10px;
        padding: 15px 18px;
    }

    .event-info {
        gap: 8px;
        margin-bottom: 5px;
    }

    .event-info span {
        font-size: 13px;
        white-space: nowrap;
    }

    .event-info i {
        font-size: 18px;
    }

    .event-more {
        margin-bottom: 2px;
    }

    .event-more a {
        font-size: 12px;
        white-space: nowrap;
    }
}