/* ===== Festival Countdown Section ===== */
.festival-countdown-section {
    position: relative;
    padding: 100px 0;
    min-height: 500px;
    overflow: hidden;
}

.countdown-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Background Image */
.countdown-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.countdown-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Strong Overlay for Text Legibility */
.countdown-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.95) 0%,
        rgba(52, 73, 94, 0.9) 30%,
        rgba(44, 62, 80, 0.85) 70%,
        rgba(52, 73, 94, 0.9) 100%
    );
    z-index: 2;
}

/* Content Panel */
.countdown-content-panel {
    position: relative;
    z-index: 3;
    padding: 60px 30px;
}

/* Festival Information */
.festival-info {
    color: white;
    margin-bottom: 40px;
}

.festival-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.festival-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.festival-theme {
    font-size: 3rem;
    font-weight: 900;
    color: #3498db;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.festival-details {
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #ecf0f1;
}

.detail-item i {
    margin-right: 15px;
    color: #3498db;
    font-size: 1.2rem;
    width: 20px;
}

/* Action Buttons */
.festival-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.festival-btn,
.festival-btn-secondary {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.festival-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    color: white;
}

.festival-btn:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
    color: white;
}

.festival-btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.festival-btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
}

/* Countdown Timer Panel */
.countdown-timer-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.timer-header {
    margin-bottom: 30px;
}

.timer-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Countdown Timer Grid */
.countdown-timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: block;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.countdown-label {
    font-size: 0.9rem;
    color: #bdc3c7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1200px) {
    .festival-title {
        font-size: 3rem;
    }
    
    .festival-theme {
        font-size: 3.5rem;
    }
    
    .countdown-number {
        font-size: 3rem;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .festival-countdown-section {
        padding: 80px 0;
    }
    
    .countdown-content-panel {
        padding: 40px 20px;
    }
    
    .festival-title {
        font-size: 2rem;
    }
    
    .festival-theme {
        font-size: 2.5rem;
    }
    
    .countdown-timer-grid {
        gap: 15px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .festival-actions {
        justify-content: center;
        margin-top: 30px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .festival-countdown-section {
        padding: 60px 0;
    }
    
    .countdown-hero {
        min-height: 400px;
    }
    
    .countdown-content-panel {
        padding: 30px 15px;
    }
    
    .festival-info {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .festival-title {
        font-size: 1.5rem;
    }
    
    .festival-theme {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .countdown-timer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .countdown-item {
        padding: 15px 8px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .festival-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .festival-btn,
    .festival-btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .countdown-content-panel {
        padding: 20px 10px;
    }
    
    .festival-title {
        font-size: 1.3rem;
    }
    
    .festival-theme {
        font-size: 1.8rem;
    }
    
    .countdown-timer-panel {
        padding: 25px 15px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .detail-item {
        font-size: 1rem;
    }
}

/* Animation Effects */
@keyframes countdownPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.countdown-item.pulse {
    animation: countdownPulse 0.6s ease-in-out;
}

/* Floating Elements Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.countdown-timer-panel {
    animation: float 6s ease-in-out infinite;
}

/* Loading State */
.countdown-loading {
    opacity: 0.7;
}

.countdown-loading .countdown-number {
    color: #95a5a6;
} 