/* STYLE GENERAL DU SITE */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body{
    background-color: #f4f4f4;
    padding-top: 100px;
}

/* MENU DE NAVIGATION */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #00205b;
    z-index: 1000;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
}

/* Logo FIFA + Nom du site */
.logo{
    display: flex;
    align-items: center;
}

.logo img{
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-right: 15px;
}

.logo h2{
    font-size: 22px;
    color: #ffd700;
}

/* Les liens du menu */
.menu{
    display: flex;
    list-style: none;
}

.menu li{
    margin-left: 13px;
    list-style-type: none;
}

.menu li a{
    text-decoration: none;
    color: #ffd700;
    font-size: 16px;
    font-weight: bold;
    border-radius: 40px;
    padding: 5px 10px;
    transition: 150ms;
}

.menu li a:hover{
    transition: 0.3s;
    background: white;
}

/* SECTION HERO FIFA 2026 */
.hero{
    height: 600px;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("image.avif");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content{
    max-width: 800px;
    padding: 40px;
}

.hero-content h1{
    font-size: 55px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-content h2{
    font-size: 35px;
    color: #ffd700;
    margin-bottom: 20px;
}

.hero-content p{
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-content button{
    background-color:#ffd700;
    color:#00205b;
    border:none;
    padding:15px 35px;
    font-size:18px;
    font-weight:bold;
    border-radius:30px;
    cursor:pointer;
    transition:0.3s;
}

.hero-content button:hover{
    background-color:white;
    transform:scale(1.05);
}

/* MATCHS EN DIRECT */
.live-matches{
    padding:50px;
    background:#f5f5f5;
    text-align:center;
}

.live-matches h2{
    font-size:35px;
    color:#00205b;
    margin-bottom:30px;
}

.matches-container{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.match-card{
    background:white;
    width:300px;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 15px gray;
}

.match-card h3{
    margin:20px 0;
}

.score{
    font-size:40px;
    color:#00205b;
}

.status,
.upcoming,
.half{
    padding:8px 15px;
    border-radius:20px;
    color:white;
    font-size:13px;
    font-weight:bold;
}

.status{
    background:red;
}

.upcoming{
    background:#007bff;
}

.half{
    background:orange;
}

/* PUBLICATIONS RECENTES */
.news-section{
    padding:50px;
    background:white;
    text-align:center;
}

.news-section h2{
    font-size:35px;
    color:#00205b;
    margin-bottom:35px;
}

.news-container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.news-card{
    width:320px;
    background:#f4f4f4;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px gray;
}

.news-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.news-content{
    padding:20px;
}

.news-content h3{
    color:#00205b;
    margin-bottom:15px;
}

.news-content p{
    line-height:1.5;
}

.news-content button{
    margin-top:15px;
    padding:10px 25px;
    background:#00205b;
    color:white;
    border:none;
    border-radius:20px;
    cursor:pointer;
}

.news-content button:hover{
    background:#ffd700;
    color:black;
}

/* FOOTER */
footer {
    background-color: #00205b;
    color: white;
    padding: 40px 20px;
}

.footer-container{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-box{
    width: 220px;
    margin: 15px;
}

.footer-box h3{
    color: #ffd700;
    margin-bottom: 15px;
}

.footer-box p{
    margin: 8px 0;
    cursor: pointer;
}

.footer-box p:hover{
    color: #ffd700;
}

/* Réseaux sociaux */
.social a{
    color: white;
    text-decoration: none;
    margin-right: 10px;
}

.social a:hover{
    color: #ffd700;
}

/* Copyright */
.copyright{
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid white;
}

/* RESPONSIVE TELEPHONE */
@media(max-width:900px){
    .navbar{
        flex-direction: column;
    }

    .menu{
        flex-direction: column;
        text-align: center;
        margin-top: 20px;
    }

    .menu li{
        margin: 10px;
    }

    .footer-container{
        flex-direction: column;
        align-items: center;
    }
}