/* ========================= */
/* THEME GLOBAL BLOC MOTEUR  */
/* ========================= */

:root {
    --bg-main: #050505;
    --bg-header: #000000;
    --bg-card: #141414;
    --bg-card-alt: #1c1c1c;
    --border-soft: #333333;

    --color-text: #f5f5f5;
    --color-muted: #b0b0b0;

    --color-yellow: #ffc800;   /* BLOC */
    --color-red: #e53935;      /* MOTEUR */
    --color-blue-fb: #1877f2;
}

/* RESET SIMPLE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #202020 0, #050505 40%, #000000 100%);
    color: var(--color-text);
}

/* ========================= */
/* HEADER + MENU             */
/* ========================= */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-header);
    padding: 10px 25px;
    border-bottom: 2px solid var(--color-red);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

header .logo img {
    height: 70px;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8));
}

/* TEXTE OFFICIEL */
.header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.header-title .title-yellow {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--color-yellow);
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
    letter-spacing: 1px;
}

.header-title .title-red {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--color-red);
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
    letter-spacing: 1px;
}

.header-title .title-small {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--color-muted);
    opacity: 0.9;
    letter-spacing: 2px;
    margin-left: 5px;
}

/* MENU */
nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none;
    color: #000;
    background: linear-gradient(135deg, var(--color-yellow), var(--color-red));
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    border: 1px solid #000;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

nav a:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    filter: brightness(1.1);
}

/* ========================= */
/* MAIN + SECTIONS           */
/* ========================= */

main {
    padding: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--color-red);
}

/* ========================= */
/* CARTES RASSEMBLEMENTS     */
/* ========================= */

.events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.event-card {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    width: 280px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-card img {
    max-width: 100%;
    border-radius: 6px;
    border: 2px solid #000;
}

.event-card h3 {
    font-size: 1.1rem;
    color: var(--color-yellow);
}

.event-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* ========================= */
/* CARTES PARTENAIRES        */
/* ========================= */

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-card {
    background: var(--bg-card-alt);
    padding: 15px;
    border-radius: 8px;
    width: 260px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.partner-card img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    border-radius: 4px;
    border: 2px solid #000;
    background: #000;
}

.partner-card h3 {
    font-size: 1.05rem;
    color: var(--color-yellow);
}

.partner-card .desc {
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* ========================= */
/* CARTES PRESSE             */
/* ========================= */

.press-item {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
}

.press-item h3 {
    font-size: 1.1rem;
    color: var(--color-red);
}

.press-item .source {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 8px;
}

.press-item .excerpt {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* ========================= */
/* BOUTONS GÉNÉRAUX          */
/* ========================= */

.btn {
    display: inline-block;
    margin-top: 6px;
    padding: 7px 12px;
    background: var(--color-red);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid #000;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn.fb {
    background: var(--color-blue-fb);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
    filter: brightness(1.05);
}

/* ========================= */
/* PAGE FICHE ÉVÈNEMENT      */
/* ========================= */

.event-container {
    max-width: 1100px;
    margin: 40px auto;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
    display: flex;
    gap: 30px;
}

.event-left {
    width: 40%;
}

.event-left img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid #000;
}

.event-right {
    width: 60%;
}

.event-right h1 {
    margin-top: 0;
    font-size: 2rem;
    color: var(--color-yellow);
}

.event-meta {
    margin: 10px 0 20px 0;
    font-size: 1rem;
    color: var(--color-muted);
}

.event-details {
    background: #101010;
    padding: 15px;
    border-radius: 8px;
    color: var(--color-text);
    line-height: 1.5rem;
}

/* ========================= */
/* TABLES (ADMIN)            */
/* ========================= */

table {
    width: 100%;
    margin-bottom: 20px;
    background: #101010;
    color: var(--color-text);
    border-collapse: collapse;
    border: 1px solid var(--border-soft);
}

th, td {
    padding: 8px;
    border: 1px solid #333;
    font-size: 0.9rem;
}

th {
    background: #181818;
}

/* ========================= */
/* FORMULAIRES (ADMIN)       */
/* ========================= */

input, textarea, button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 7px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #050505;
    color: var(--color-text);
    font-size: 0.9rem;
}

textarea {
    min-height: 120px;
}

button {
    width: auto;
    display: inline-block;
    background: linear-gradient(135deg, var(--color-yellow), var(--color-red));
    color: #000;
    font-weight: bold;
    border: 1px solid #000;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    padding: 8px 14px;
    border-radius: 999px;
}

button:hover {
    filter: brightness(1.05);
}

/* ========================= */
/* LIENS                     */
/* ========================= */

a {
    color: var(--color-yellow);
}

a:hover {
    color: var(--color-red);
}

/* ========================= */
/* PETITS AJUSTEMENTS        */
/* ========================= */

p {
    margin-bottom: 8px;
}

h1, h2, h3 {
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}
/* ========================= */
/* VIGNETTES PRESSE          */
/* ========================= */

.press-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.press-card {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    width: 280px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 0 10px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.press-card img {
    width: 100%;
    border-radius: 6px;
    border: 2px solid #000;
}

.press-card h3 {
    font-size: 1.1rem;
    color: var(--color-red);
}

.press-card .source {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.press-card .excerpt {
    font-size: 0.9rem;
    color: var(--color-text);
}

