/* Events Section Styles */
.events-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.events-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.events-slider {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.events-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.event-card {
    flex: 0 0 100%;
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.event-image {
    flex: 0 0 60%;
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    flex: 0 0 40%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
}

.event-date {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.event-date i {
    margin-right: 8px;
}

.event-time {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.event-time i {
    margin-right: 8px;
}

.event-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.event-description {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
}

.event-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
    align-self: flex-start;
}

.event-link:hover {
    background-color: #c0392b;
}

.events-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.events-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    pointer-events: auto;
}

.events-nav button:hover {
    background-color: #fff;
}

.events-nav button i {
    color: #333;
}

.events-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.events-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.events-dot.active {
    background-color: #e74c3c;
}

.no-events {
    text-align: center;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.no-events i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-events p {
    color: #777;
    font-size: 18px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .event-card {
        flex-direction: column;
    }
    
    .event-image, .event-content {
        flex: 0 0 100%;
    }
    
    .event-image {
        height: 300px;
    }
    
    .event-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .events-section {
        padding: 60px 0;
    }
    
    .event-title {
        font-size: 24px;
    }
    
    .event-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .event-image {
        height: 200px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .events-nav button {
        width: 36px;
        height: 36px;
    }
}
