/* FILE: static/css/theme.css */
:root {
    --bg-primary: #F4F6F8;
    --surface: #FFFFFF;
    --text-primary: #121212;
    --text-secondary: #5A6472;
    --accent-primary: #F36C21;
    --accent-secondary: #0C3C60;
    --accent-hover: #D85713;
    --success: #2E7D32;
    --warning: #F9A825;
    --error: #C62828;
    --borders: #D3D8E0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

/* Navigation */
.nav-custom {
    background-color: var(--accent-secondary) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-custom .brand-logo {
    font-weight: 500;
    display: flex;
    align-items: center;
}

.nav-custom .brand-logo i {
    margin-right: 8px;
}

.nav-link {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, #061E30 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    background-color: var(--accent-primary) !important;
    font-weight: 500;
    padding: 0 2rem;
    height: 48px;
    line-height: 48px;
}

.hero-btn-outline {
    background-color: transparent !important;
    border: 2px solid white;
    color: white;
    font-weight: 500;
    padding: 0 2rem;
    height: 48px;
    line-height: 44px;
}

.hero-btn-outline:hover {
    background-color: white !important;
    color: var(--accent-secondary);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-about {
    background-color: var(--surface);
}

.section-program {
    background-color: var(--bg-primary);
}

.section-materials {
    background-color: var(--surface);
}

.section-partners {
    background-color: var(--accent-secondary);
    color: white;
}

/* Cards */
.protest-card {
    border-left: 4px solid var(--accent-primary);
    background-color: var(--bg-primary);
}

.program-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--accent-primary);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.material-card {
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid var(--borders);
}

.material-card:hover {
    transform: translateY(-3px);
}

.material-card .card-title {
    color: var(--accent-secondary);
    font-weight: 500;
    margin-top: 1rem;
}

.material-card i {
    color: var(--accent-primary);
}

.btn-material {
    background-color: var(--accent-primary) !important;
    color: white;
    font-weight: 500;
}

/* Partners */
.partner-logo {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.partner-logo:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Footer */
.footer-custom {
    background-color: var(--accent-secondary) !important;
    margin-top: 0;
}

/* Markdown Content */
.markdown-body {
    font-family: 'Merriweather', serif;
    line-height: 1.8;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    font-family: 'Roboto', sans-serif;
    color: var(--accent-secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.markdown-body p {
    margin-bottom: 1.5rem;
}

.markdown-body a {
    color: var(--accent-primary);
    text-decoration: none;
}

.markdown-body a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Cards in lists */
.card {
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-title a {
    color: var(--accent-secondary);
    font-weight: 500;
}

.card-title a:hover {
    color: var(--accent-primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination li.active {
    background-color: var(--accent-primary);
}

.pagination li a {
    color: var(--accent-secondary);
}

.pagination li a:hover {
    background-color: rgba(243, 108, 33, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section {
        padding: 60px 0;
    }
}

/* Utility classes */
.text-accent {
    color: var(--accent-primary);
}

.bg-accent {
    background-color: var(--accent-primary);
}

.border-accent {
    border-color: var(--accent-primary);
}