/* Police Destruction Manual */
@font-face {
    font-family: 'Destruction Manual';
    src: url('./fonts/destruction-manual.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Police Urban Sign */
@font-face {
    font-family: 'Urban Sign';
    src: url('./fonts/urban-sign.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --noir: #000000;
    --rouge: #DC143C;
    --rouge-fonce: #B22222;
    --jaune: #FFA500;
    --orange: #FF6B35;
    --orange-fonce: #F7931E;
    --blanc: #FFFFFF;
    --gris-fonce: #1a1a1a;
    --gris: #333333;
    --gris-clair: #666666;
    --header-height: 120px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--noir);
    background-color: var(--blanc);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--rouge);
}

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

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.nav-slogan-top {
    font-size: 1.2rem;
    color: var(--jaune);
    font-family: 'Urban Sign', sans-serif;
    margin: 0;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.nav-brand h1 {
    font-size: 7rem;
    color: var(--noir);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Destruction Manual', sans-serif;
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
    transition: color 0.3s;
}

.nav-brand h1 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-brand h1 a:hover {
    color: var(--rouge);
}

.nav-brand .number-38 {
    color: var(--rouge);
    display: inline-block;
}

.nav-slogan {
    font-size: 1.8rem;
    color: var(--jaune);
    font-family: 'Urban Sign', sans-serif;
    margin: 0;
    transform: rotate(10deg);
    display: inline-block;
    white-space: nowrap;
}

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

.nav-menu a {
    color: var(--noir);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--jaune);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--jaune);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--noir);
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle:hover span {
    background-color: var(--rouge);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blanc);
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 7rem;
    font-weight: normal;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--noir);
    font-family: 'Destruction Manual', sans-serif;
    animation: fadeInUp 1s ease-out;
    text-shadow: 
        3px 3px 0px rgba(220, 20, 60, 0.3),
        6px 6px 0px rgba(0, 0, 0, 0.1);
    transform: rotate(-1deg);
    position: relative;
    display: inline-block;
    line-height: 1.1;
}

.hero-title .number-38 {
    color: var(--rouge);
    transform: rotate(3deg) scale(1.1);
    display: inline-block;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.2),
        4px 4px 0px rgba(220, 20, 60, 0.3);
    position: relative;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--jaune);
    font-family: 'Urban Sign', sans-serif;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Manifesto Section */
.manifesto-section {
    padding: 3rem 0;
    background-color: var(--blanc);
    scroll-margin-top: var(--header-height);
    padding-top: calc(var(--header-height) + 5rem);
}

.hero-manifesto {
    width: 100%;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    border: 2px dashed var(--rouge);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.manifesto-title {
    font-size: 2rem;
    color: var(--rouge);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Destruction Manual', sans-serif;
    text-align: center;
}

.manifesto-text {
    font-size: 1.1rem;
    color: var(--noir);
    line-height: 1.8;
    text-align: justify;
}

.manifesto-text p {
    margin-bottom: 1rem;
}

.manifesto-text h1,
.manifesto-text h2,
.manifesto-text h3 {
    color: var(--rouge);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Destruction Manual', sans-serif;
}

.manifesto-text h1 {
    font-size: 2rem;
}

.manifesto-text h2 {
    font-size: 1.5rem;
}

.manifesto-text h3 {
    font-size: 1.2rem;
}

.manifesto-text ul,
.manifesto-text ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.manifesto-text li {
    margin-bottom: 0.5rem;
}

.manifesto-text a {
    color: var(--rouge);
    text-decoration: underline;
}

.manifesto-text a:hover {
    color: var(--orange);
}

.manifesto-text strong {
    font-weight: 600;
}

.manifesto-text em {
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--rouge);
    color: var(--blanc);
    border: 2px solid var(--rouge);
}

.btn-primary:hover {
    background-color: var(--rouge-fonce);
    border-color: var(--rouge-fonce);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--rouge);
    border: 2px solid var(--rouge);
}

.btn-secondary:hover {
    background-color: var(--rouge);
    color: var(--blanc);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--rouge);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rouge);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--rouge), var(--jaune), var(--orange));
}

/* Latest Articles Section */
.latest-articles-section {
    padding: 3rem 0;
    background-color: #f5f5f5;
}

.latest-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.latest-article-card {
    background-color: var(--blanc);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.latest-article-card:hover {
    transform: translateY(-5px);
    border-color: var(--rouge);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

/* Articles Section */
.articles-section {
    padding: 3rem 0;
    background-color: var(--blanc);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    background-color: var(--blanc);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--rouge);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
}

.article-image {
    height: 200px;
    width: 100%;
    flex-shrink: 0;
}

/* Style pour les dates dans les cartes d'articles */
.article-date {
    display: inline;
    color: var(--noir);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: normal;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
    background: none;
    padding: 0;
    border-radius: 0;
    min-width: auto;
    min-height: auto;
}

.article-meta {
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--noir);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.article-author {
    color: var(--noir);
    font-size: 0.85rem;
    font-weight: normal;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: 0.5rem;
}

.article-author::before {
    content: "| ";
    margin-right: 0.5rem;
}

.article-date .day,
.article-date .month {
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    font-size: 1.3rem;
    color: var(--rouge);
    margin-bottom: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
}

.article-content p {
    color: var(--noir);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.article-link {
    color: var(--rouge);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    margin-top: auto;
}

.article-link:hover {
    color: var(--rouge-fonce);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--rouge) 0%, var(--orange) 100%);
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--blanc);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--blanc);
}

.cta .btn-primary {
    background-color: var(--blanc);
    border-color: var(--blanc);
    color: var(--rouge);
}

.cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background-color: #f5f5f5;
    border-top: 2px solid var(--rouge);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: var(--noir);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: 'Destruction Manual', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(-0.5deg);
}

.footer-col h3 .number-38,
.footer-bottom .number-38 {
    color: var(--rouge);
    transform: rotate(1.5deg);
    display: inline-block;
}

.footer-col h4 {
    color: var(--rouge);
    margin-bottom: 1rem;
}

.footer-col p,
.footer-col li {
    color: var(--noir);
    margin-bottom: 0.5rem;
    list-style: none;
}

.footer-col a {
    color: var(--noir);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--rouge);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    color: var(--gris-clair);
}

/* Responsive */
@media (max-width: 1024px) {
    .articles-grid,
    .latest-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .nav-slogan-top {
        font-size: 1rem;
    }
    
    .nav-brand h1 {
        font-size: 3.5rem;
        letter-spacing: 3px;
        line-height: 1;
    }
    
    .nav-slogan {
        font-size: 1.2rem;
        transform: rotate(0deg);
        margin-left: 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--blanc);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        border-top: 2px solid var(--rouge);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        display: block;
    }

    .menu-toggle {
        display: flex;
    }
    
    /* Header height adjustment */
    :root {
        --header-height: 100px;
    }

    /* Manifesto Section */
    .manifesto-section {
        padding-top: calc(var(--header-height) + 3rem);
        padding-bottom: 2rem;
    }
    
    .hero-manifesto {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .manifesto-title {
        font-size: 1.8rem;
    }
    
    .manifesto-text {
        font-size: 1rem;
    }

    /* Sections */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .latest-articles-section,
    .articles-section {
        padding: 3rem 0;
    }

    /* Articles Grid */
    .articles-grid,
    .latest-articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-card,
    .latest-article-card {
        margin-bottom: 0;
    }
    
    .article-content {
        padding: 1.25rem;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }

    /* Hero buttons */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* CTA Section */
    .cta {
        padding: 3rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col h3 {
        font-size: 1.3rem;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    .nav-slogan-top {
        font-size: 0.9rem;
    }
    
    .nav-brand h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .nav-slogan {
        font-size: 1rem;
    }
    
    :root {
        --header-height: 90px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }

    /* Container */
    .container {
        padding: 0 10px;
    }
    
    /* Manifesto */
    .manifesto-section {
        padding-top: calc(var(--header-height) + 2rem);
    }
    
    .hero-manifesto {
        padding: 1rem;
        margin: 0.5rem auto;
    }
    
    .manifesto-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .manifesto-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Sections */
    .section-title {
        font-size: 1.5rem;
    }
    
    .latest-articles-section,
    .articles-section {
        padding: 2rem 0;
    }

    /* Article Cards */
    .article-content {
        padding: 1rem;
    }
    
    .article-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .article-content p {
        font-size: 0.9rem;
    }
    
    .article-date,
    .article-author {
        font-size: 0.75rem;
    }
    
    .article-meta {
        font-size: 0.75rem;
    }

    /* CTA */
    .cta {
        padding: 2rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 0.5rem;
    }
    
    .footer-col h3 {
        font-size: 1.1rem;
    }
    
    .footer-col h4 {
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Article Page Styles */
.article-page {
    background-color: var(--blanc);
}

.article-full {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--blanc);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .article-full {
        padding: 2rem 1.5rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .article-full {
        padding: 1.5rem 1rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-body {
        font-size: 0.95rem;
    }
    
    .article-body p {
        margin-bottom: 1rem;
    }
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px dashed var(--rouge);
}

.article-title {
    font-size: 2.5rem;
    color: var(--rouge);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

.article-date {
    display: inline;
    color: var(--noir);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-weight: normal;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
}

.article-meta {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--noir);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.article-author {
    color: var(--noir);
    font-size: 0.85rem;
    font-weight: normal;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: 0.5rem;
}

.article-author::before {
    content: "| ";
    margin-right: 0.5rem;
}

.article-body {
    color: var(--noir);
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

