/* Importation d'une police moderne */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    line-height: 1.6;
}

/* Header & Nav */
header {
    background: #000;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Ajuste la hauteur selon tes préférences */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05); /* Petit effet de zoom sympa au survol */
}


nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #e74c3c;
}

/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1613771404721-1f92d799e49f?auto=format&fit=crop&q=80&w=2070') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background: #e74c3c;
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background: #c0392b;
}

/* Grille des Univers */
.univers-grid {
    padding: 50px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #2c2c2c;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #444;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #e74c3c;
}

.card-img {
    height: 150px;
    background-color: #444;
    border-radius: 8px;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
}

/* Images factices - Remplace par tes vraies photos */
.pokemon { background-image: url('https://images.unsplash.com/photo-1605902711622-cfb39c773fd3?auto=format&fit=crop&q=60&w=500'); }
.onepiece { background-image: url('https://images.unsplash.com/photo-1615915468538-0fbd857888ca?auto=format&fit=crop&q=60&w=500'); }
.lorcana { background-image: url('https://images.unsplash.com/photo-1544634076-a90160ddf44d?auto=format&fit=crop&q=60&w=500'); }
.mtg { background-image: url('https://images.unsplash.com/photo-1593814681464-eef5af2b0628?auto=format&fit=crop&q=60&w=500'); }
.dbs { background-image: url('https://images.unsplash.com/photo-1534333230407-b755ed3695a6?auto=format&fit=crop&q=60&w=500'); }
.naruto { background-image: url('https://images.unsplash.com/photo-1580477667995-2b94f01c9516?auto=format&fit=crop&q=60&w=500'); }
.yugioh { background-image: url('https://images.unsplash.com/photo-1622519407050-2dd970a6c44d?auto=format&fit=crop&q=60&w=500'); }

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #000;
    margin-top: 50px;
}

.socials {
    margin-top: 15px;
}

.socials a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: 0.3s;
}

.socials a:hover {
    color: #e74c3c;
    transform: scale(1.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style spécifique pour la page contact */
.contact-page {
    padding: 60px 5%;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 2rem;
    color: #e74c3c;
    margin-right: 20px;
}

.active {
    color: #e74c3c !important;
    border-bottom: 2px solid #e74c3c;
}