/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1a2a6c;
    --secondary: #b21f1f;
    --accent: #fdbb2d;
    --bg-light: #f8f9fa;
    --text-dark: #2d3748;
    --text-light: #ffffff;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation */
header {
    background: var(--primary);
    color: var(--text-light);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-in;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    background-color: var(--accent);
    color: var(--primary);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    background-color: #ffe066;
}

/* Interactive Quote Feature */
.quote-section {
    max-width: 800px;
    margin: -3rem auto 4rem;
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    color: #4a5568;
    margin-bottom: 1rem;
    transition: opacity 0.3s;
}

.quote-author {
    font-weight: bold;
    color: var(--secondary);
    transition: opacity 0.3s;
}

/* Main Content Grid */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.feed-section h2, .poll-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Forum / Post Cards */
.voice-card {
    background: var(--text-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.voice-card:hover {
    transform: scale(1.01);
}

.card-meta {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 0.5rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: #edf2f7;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

/* Interactive Poll Section */
.poll-box {
    background: var(--text-light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.poll-option {
    background: var(--bg-light);
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.poll-option:hover {
    border-color: var(--primary);
    background: #f0f4f8;
}

.poll-option.selected {
    background: #e2e8f0;
    border-color: var(--primary);
    font-weight: bold;
}

.percentage {
    display: none;
    color: var(--secondary);
    font-weight: bold;
}

/* Footer */
footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 2rem;
    margin-top: 5rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Layout */
@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}
