:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #343a40;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    --border-light: #ced4da;
    --font-family: 'Arial', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Header */
.header {
    background-color: #ffffff;
    color: var(--text-primary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    text-decoration: none;
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav li {
    margin-left: 1rem;
}

.nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav a:hover {
    background-color: var(--bg-secondary);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 2rem;
}

/* Articles */
.articles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    background-color: var(--bg-primary);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.article-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-excerpt {
    color: var(--text-secondary);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.read-more:hover {
    border-bottom-color: var(--primary-color);
}

/* Article Page */
.article-header {
    text-align: center;
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.article-body {
    line-height: 1.8;
}

/* Sidebar */
.sidebar {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--bg-secondary);
}

.sidebar h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 0.5rem;
}

.sidebar a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #ffffff;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav ul {
        margin-top: 1rem;
        flex-direction: column;
    }

    .nav li {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
}

/* Pages statiques */
.static-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.page-content {
    line-height: 1.8;
}

.page-content h1 {
    color: var(--text-primary);
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.page-content h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    font-weight: 400;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.page-content h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    font-weight: 500;
}

.page-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.page-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.page-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.page-content a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.page-content a:hover {
    border-bottom-color: var(--accent-color);
}

.page-content hr {
    border: none;
    height: 1px;
    background: var(--border-light);
    margin: 3rem 0;
}

/* Navigation active states */
.nav a.active {
    color: var(--accent-color);
    font-weight: 500;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.nav li {
    position: relative;
}
