:root {
    --primary-color: #8b0000; /* Voltera Dark Red */
    --bg-dark: #121212; /* Slightly darker to make the red pop */
    --bg-darker: #0a0a0a;
    --text-light: #f1f1f1;
    --text-gray: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(22, 22, 26, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/accueil.png'); /* Background updated */
    background-size: cover;
    background-position: center;
    background-color: var(--bg-darker);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #a50000; /* Slightly lighter red for hover */
}

/* Mods Gallery */
.mods-gallery {
    padding: 60px 0;
    background-color: var(--bg-dark);
}

.mods-gallery h2, .about h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #333;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    background-color: #333; /* Placeholder color */
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.tag {
    background-color: var(--primary-color); /* Fond rouge Voltera */
    color: white; /* Texte blanc */
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 1rem; /* Police plus grande */
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* About & Footer */
.about {
    padding: 60px 0;
    background-color: var(--bg-darker);
    text-align: center;
}

footer {
    padding: 30px 0;
    text-align: center;
    background-color: #111;
    color: var(--text-gray);
}

.socials {
    margin-bottom: 15px;
}

.socials a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary-color);
}
