/* Styles de base pour le blog */
:root {
    --blog-primary-color: rgb(239, 191, 4);
    --blog-text-color: #333;
    --blog-light-text: #666;
    --blog-bg-color: #ffffff;
    --blog-card-bg: #fff;
    --blog-card-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --blog-card-hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    --blog-border-radius: 8px;
    --blog-transition: all 0.3s ease;
}

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

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* En-tête du blog */
.blog-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    padding-bottom: 2rem;
}

.blog-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--blog-primary-color);
}

.blog-header h1 {
    font-family: 'Tallica', sans-serif;
    font-size: 3.5rem;
    color: var(--blog-primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-header p {
    font-size: 1.3rem;
    color: var(--blog-light-text);
    max-width: 800px;
    margin: 0 auto;
}

/* Filtres de catégories */
.categories-filter {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--blog-primary-color);
    background: transparent;
    color: var(--blog-primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--blog-transition);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-btn:hover,
.category-btn.active {
    background: var(--blog-primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(239, 191, 4, 0.3);
}

/* Grille d'articles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Cartes d'articles */
.blog-card {
    background: var(--blog-card-bg);
    border-radius: var(--blog-border-radius);
    overflow: hidden;
    box-shadow: var(--blog-card-shadow);
    transition: var(--blog-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--blog-card-hover-shadow);
}

.blog-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    display: inline-block;
    background-color: var(--blog-primary-color);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.blog-title {
    font-family: 'Tallica', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--blog-text-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

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

.blog-excerpt {
    color: var(--blog-light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    align-self: flex-start;
    margin-top: auto;
    background-color: transparent;
    border: 2px solid var(--blog-primary-color);
    color: var(--blog-primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--blog-transition);
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    background-color: var(--blog-primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(239, 191, 4, 0.3);
}

.read-more:after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover:after {
    transform: translateX(5px);
}

/* Styles pour un article individuel */
.article-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 3rem;
    background: white;
    border-radius: var(--blog-border-radius);
    box-shadow: var(--blog-card-shadow);
    border: 1px solid #eee;
}

.article-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.article-header .article-category {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.article-header h1 {
    font-family: 'Tallica', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--blog-text-color);
    line-height: 1.3;
}

.article-header .article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    color: var(--blog-light-text);
    font-size: 0.9rem;
}

.article-cover {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--blog-border-radius);
    margin-bottom: 2.5rem;
}

.article-blocks {
    margin: 2.5rem 0;
}

.article-blocks h2 {
    font-family: 'Tallica', sans-serif;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--blog-text-color);
}

.article-blocks p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-blocks .article-image {
    margin: 2.5rem 0;
    border-radius: var(--blog-border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

blockquote {
    position: relative;
    border-left: 4px solid var(--blog-primary-color);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    background-color: rgba(239, 191, 4, 0.05);
    border-radius: 0 var(--blog-border-radius) var(--blog-border-radius) 0;
}

blockquote:before {
    content: '"';
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 3rem;
    color: rgba(239, 191, 4, 0.2);
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    font-style: normal;
    color: var(--blog-primary-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 2rem 1.5rem;
    }

    .blog-header {
        margin-bottom: 3rem;
    }

    .blog-header h1 {
        font-size: 2.5rem;
    }

    .blog-header p {
        font-size: 1.1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .article-container {
        padding: 2rem 1.5rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-category, 
    .article-category {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .blog-title {
        font-size: 1.3rem;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .read-more {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .categories-filter {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .category-btn {
        width: 100%;
        max-width: 200px;
    }

    .article-header .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
} 