:root {
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --primary-color: #ef4444;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --accent-color: #3b82f6;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-color);
}

/* Live Indicator */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-color);
    animation: blink 1.5s infinite ease-in-out;
}

@keyframes blink {
    0% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--primary-color); }
    50% { opacity: 0.4; transform: scale(0.8); box-shadow: 0 0 2px var(--primary-color); }
    100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--primary-color); }
}

/* Map Section */
#map {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin: 30px 0;
    z-index: 1;
}

/* Grid layout for news */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.news-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.news-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-card .meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

/* Timeline specific styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    left: 15px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: var(--bg-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
}

.timeline-time {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.timeline-text {
    margin: 0;
    color: var(--text-color);
}

/* Specific Event Header */
.event-header {
    max-width: 800px;
    margin: 40px auto 20px;
}

.event-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 15px 0;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128C7E;
    color: white;
    box-shadow: 0 15px 25px rgba(18, 140, 126, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .event-header h1 {
        font-size: 1.8rem;
    }
    
    #map {
        height: 300px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-dot {
        left: 10px;
        width: 10px;
        height: 10px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}
