/*
Theme Name: JO - LE BLOG
Author: GHOSTRED
Description: Theme blog minimaliste - Style TikTok/Neon
Version: 1.0
*/

/* --- 1. VARIABLES & BASE --- */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent: #FF003C; /* Rouge Néon */
    --gray: #1a1a1a;
    --font-main: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0; padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
}

a { text-decoration: none; color: white; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* --- 2. HEADER STYLES (TOTALEMENT SUPPRIMÉ) --- */
/* Cette section cache tout le haut : Titre, Logo, Ligne Rouge, Menu */
#main-header {
    display: none !important;
}

/* --- 3. NAVIGATION (MASQUÉE) --- */
/* On cache aussi les menus par sécurité */
.desktop-menu { display: none !important; }
.mobile-toggle { display: none !important; }
#mobile-menu-overlay { display: none !important; }


/* --- 4. CONTENU & GRILLE --- */
#site-content { 
    /* On ajoute un peu d'espace en haut pour ne pas coller au bord de l'écran */
    padding-top: 50px; 
    min-height: 100vh; 
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px 50px 20px; }

/* Titre "DERNIÈRES ACTUS" */
.page-title {
    text-align: center; font-size: 2.5rem; text-transform: uppercase;
    margin-bottom: 50px; font-weight: 900; letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 0, 60, 0.4);
}

/* Grille Articles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Carte Article */
.article-card {
    background: var(--gray); border: 1px solid #333; border-radius: 8px;
    overflow: hidden; display: block; position: relative;
    transition: 0.4s;
}
.article-card:hover {
    transform: translateY(-10px); 
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(255, 0, 60, 0.2);
}

.card-img { height: 220px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.article-card:hover .card-img img { transform: scale(1.1); filter: brightness(1.1); }

.card-content { padding: 25px; }
.card-cat { color: var(--accent); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; display: block; letter-spacing: 1px;}
.card-title { font-size: 1.4rem; margin: 0 0 10px 0; line-height: 1.3; color: white; font-weight: 800; }
.card-excerpt { font-size: 0.95rem; color: #bbb; line-height: 1.6; }


/* --- 6. RESPONSIVE --- */
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; } /* 1 colonne sur mobile */
    .page-title { font-size: 2rem; }
}
/* --- STYLE NETFLIX --- */
.netflix-section {
    margin-bottom: 50px;
    padding-left: 20px; /* Petit décalage pour l'esthétique */
}

.netflix-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 800;
    border-left: 5px solid #FF003C;
    padding-left: 15px;
}

/* Le conteneur qui scroll */
.netflix-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Pour fluidité sur mobile */
}

/* On cache la barre de scroll (optionnel, sinon tu peux l'enlever) */
.netflix-scroll::-webkit-scrollbar {
    height: 8px;
}
.netflix-scroll::-webkit-scrollbar-track {
    background: #111;
}
.netflix-scroll::-webkit-scrollbar-thumb {
    background: #FF003C;
    border-radius: 4px;
}

/* Les cartes dans le rail */
.netflix-card {
    flex: 0 0 300px; /* Largeur FIXE de la carte (impératif pour le scroll) */
    width: 300px;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
    position: relative;
    border: 1px solid #333;
}

.netflix-card:hover {
    transform: scale(1.05); /* Petit zoom au survol */
    border-color: #FF003C;
    z-index: 10;
}

.netflix-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.netflix-content {
    padding: 15px;
}

.netflix-card-title {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
}