/* Event Section Container */
.event-section {
    padding: 80px 20px;
    background-color: var(--background);
    text-align: center;
    font-family: 'Exo 2', sans-serif;
    position: relative;
    overflow: hidden;
}

.event-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom, rgba(8, 0, 22, 0.95), rgba(8, 0, 22, 0.9)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(128, 0, 255, 0.05)" stroke-width="0.5"/></svg>');
    z-index: -1;
}
  
.event-section h2 {
    font-size: 32px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 40px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-shadow: var(--neon-glow);
    letter-spacing: 2px;
}

.event-section h2 i {
    margin-right: 10px;
}
  
/* Slider Container */
.event-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    height: 400px; /* Fixed height for consistency */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
}
  
/* Each Slide */
.event-slide {
    display: none; /* Hidden by default */
    position: absolute;
    width: 100%;
    height: 100%;
}
  
.event-slide.active {
    display: flex; /* Only the active slide is shown */
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0.5; }
    to { opacity: 1; }
}
  
/* Left Column: Event Image */
.slide-image {
    flex: 1;
    overflow: hidden;
}
  
.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-slide:hover .slide-image img {
    transform: scale(1.05);
}
  
/* Right Column: Descriptive Text */
.slide-description {
    flex: 1;
    background-color: var(--card-bg);
    color: var(--text-light);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    border-left: 1px solid var(--accent);
}
  
.slide-description h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    color: var(--accent);
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}
  
.slide-description p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Navigation buttons */
.slide-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--accent);
    border: 1px solid var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.slide-nav-btn:hover {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: var(--neon-glow);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Slide indicators */
.slide-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.slide-dot:hover {
    background-color: rgba(0, 255, 255, 0.7);
}

.slide-dot.active {
    background-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    transform: scale(1.2);
}
  
/* Responsive: Stack Columns on Smaller Screens */
@media screen and (max-width: 768px) {
    .event-slide {
        flex-direction: column;
    }
    
    .slide-image,
    .slide-description {
        flex: none;
        width: 100%;
    }
    
    .slide-image {
        height: 200px;
    }
    
    .slide-description {
        border-left: none;
        border-top: 1px solid var(--accent);
    }
    
    .event-slider {
        height: auto;
    }
    
    .slide-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
  