/* Events Carousel Styling */
.events-section {
    padding: 40px 0;
    background: #f9f9f9;
}

.events-section .section-header h2 {
    font-size: 2.5rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-slide {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.event-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.event-slide a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.event-slide-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.event-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-slide:hover .event-slide-image img {
    transform: scale(1.05);
}

.event-slide-content {
    padding: 15px;
}

.event-slide-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.4;
}

.event-slide-content .small {
    font-size: 0.85rem;
    color: #999;
    display: block;
}

/* Owl Carousel Custom Navigation */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.owl-carousel .owl-nav button {
    position: absolute;
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    pointer-events: auto;
    outline: none;
}

.owl-carousel .owl-nav button:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1);
}

.owl-carousel .owl-nav button.owl-prev {
    left: 10px;
}

.owl-carousel .owl-nav button.owl-next {
    right: 10px;
}

.owl-carousel .owl-nav span {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .events-section .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .event-slide-image {
        height: 150px;
    }

    .event-slide-content h3 {
        font-size: 1rem;
    }

    .owl-carousel .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 5px;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .events-section {
        padding: 20px 0;
    }

    .events-section .section-header h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .event-slide-image {
        height: 120px;
    }

    .event-slide-content {
        padding: 10px;
    }

    .owl-carousel .owl-nav button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}
