:root {
    --primary: #FFD100;
    --secondary: #8A2BE2;
    --accent: #00C853;
    --light: #f8f9fa;
    --dark: #121212;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lilita One", sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    font-family: "Lilita One", sans-serif;
}

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


.hamburger {
    display: none;
    cursor: pointer;
}

header {
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    display: flex;            /* Met l'image et le texte sur la même ligne */
    align-items: center;      /* Centre verticalement l'image et le texte */
    gap: 8px;                 /* Espace entre logo et texte, réduit si nécessaire */
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-img {
    height: 50px;             /* Ajuste la taille du logo */
    width: auto;
    display: block;            /* Supprime les espaces en ligne */
    margin: 0;                 /* Supprime tout margin par défaut */
}


.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------------- Section Title ---------------- */
#winners {
    padding-top: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 400;
}

/* ---------------- Winners ---------------- */
#winners-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    row-gap: 80px;
    padding: 20px 0;
}

#winners-container a {
    display: flex;
    justify-content: center;
}

#winners-container a img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 12px 25px rgba(0,0,0,0.45);
}

#winners-container a img:hover {
    transform: scale(1.03);
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--light);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }

    #winners-container a {
        justify-content: center;
    }
    
    #winners-container a img {
        max-width: 90%;
    }
}

/* ---------------- Footer ---------------- */
footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 20px;
}

.footer-links li {
    margin: 0 15px;
}

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

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
}


@font-face {
    font-family: "Lilita One";
    src: url("./fonts/LilitaOne.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .container {
        padding: 0 12px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--dark);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
    }
}