/* --- Hero Slider Container --- */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 50vh; /* Takes up 85% of the screen height */
    overflow: hidden;
    background-color: #000;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- Individual Slide --- */
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Dark Overlay */
.slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Darken image by 50% */
    z-index: 2;
}

/* --- Content Styling --- */
.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    text-decoration: none; /* For wrapper links */
}

.slide-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    animation: slideUp 0.8s ease forwards;
}

.slide-desc {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* --- YouTube Pop Animation --- */
.play-button-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 80px; height: 80px;
    background: #ff0000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; color: #fff;
    box-shadow: 0 0 20px rgba(255,0,0,0.6);
    z-index: 2;
    transition: transform 0.3s;
}
.youtube-content:hover .play-button {
    transform: scale(1.1);
}

.pulse-ring {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid #ff0000;
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* --- Announcement Date Badges --- */
.date-badge {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    min-width: 100px;
}

.left-date { left: 5%; }
.right-date { right: 5%; }

.date-badge .label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.date-badge .date {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffc107; /* Yellow for visibility */
}

/* --- Badges and Buttons --- */
.badge-pill {
    background-color: #ffc107;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}
.event-pill { background-color: #007bff; color: #fff; }

.btn-slide {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-slide:hover {
    background: #007bff;
    color: #fff;
}

.event-date-display {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #bad9ff;
}

/* --- Navigation Dots --- */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0; width: 100%;
    text-align: center;
    z-index: 4;
}
.dot {
    height: 12px; width: 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.dot.active {
    background-color: #fff;
    transform: scale(1.3);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .slide-title { font-size: 2rem; }
    /* On mobile, move dates from sides to below content */
    .date-badge { 
        position: static; 
        display: inline-block; 
        margin: 10px; 
        transform: none;
    }
}