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

body {
    max-width: 1080px;
    margin: 0 auto; 
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}
  


.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background-color: white;
    height: 60px;
    padding: 10px 20px;
    font-size: 25px;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    z-index: 1000; 
}

.menu {
    background-color: white;
    padding: 10px 20px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 50px;
}

.menu a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}


.menu a.active {
    color: blue;       
    text-decoration: underline; 
}

.hero {
    position: relative;
    height: 70vh;

    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}


.hero-text {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 72px;
    letter-spacing: 4px;
}

.hero-text p {
    font-size: 35px;
    margin-top: 10px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.hero-stats div {
    text-align: center;
}

.hero-stats span {
    font-size: 48px;
    font-weight: bold;
    display: block;
}

.hero-stats small {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

main {
    background: rgba(0,0,0,0.55);
    margin: -10px auto 40px auto; 
    padding: 30px;
    width: 100%;
    border-radius: 12px;
    color: white;
    font-size: 20px;
}


.site-footer {
    background-color: white;
    color: black;
    text-align: center;
    padding: 15px;
    font-size: 25px;

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    height: 75px;
}

h2  {
    font-size: 50px;
    text-align: center;
    padding: 15px;
}
p {
    font-size: 25px;
    text-align: center;
}

.text-accueil {
color: black;
font-size: 35px;
padding: 20px;
}

.contact {
    max-width: 1000px;
    margin: 75px auto;
    padding: 20px;
    background-color: white;
    color: black;
}

.contact h1 {
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 15px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 8px;
    margin-top: 5px;
    font-size: 25px;
}

.contact-form button {
    margin-top: 20px;
    padding: 10px;
    background-color: #00529F; 
    color: white;
    font-size: 35px;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #003b73;
}

.contact-officiel {
    color: black;
}
.page-donnees {
    background-image: url("../images/Bernabeu.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}


main.galerie-simple {
    background: white;
    color: white;
    margin-top: 90px;
    padding: 30px 20px;
    text-align: center;
}

main.galerie-simple h1 {
    color: #00529c;
    margin: 40px 0 30px;
}

.galerie {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    gap: 10px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url(../images/galerie/pelouse.jpg);
    background-size: cover;
    background-position: center;
}



.joueur {
    width: 16%; 
}

.joueur img {
    width: 100%;
    height: 180px;        
    object-fit: cover;
    object-position: top;  
    border-radius: 8px;
}

.joueur p {
    margin-top: 6px;
    font-size: 14px;
}



.page-credits {
    color: black;
    background-color: white;
    margin: 200px auto;
}

.partenaire-bg {
    width: 100%;
    background-image: url("../images/fondpartenaire.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed
}



.partenaire {
    max-width: 1080px;   
    margin: 0 auto;      
    padding: 40px 20px;  
    background-color: none; 
}

.partenaire {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 20px;
    background: none; 
}


.partners h1 {
    text-align: center;
    margin-bottom: 40px;
    color: black;
}

.partners-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.partner-card {
    background-color: white;
    color: black;
    width: 300px;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.partner-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.partner-card h2 {
    font-size: 18px;
    margin: 10px 0;
}

.partner-card h3 {
    font-size: 14px;
    font-weight: normal;
    color: black;
}

.partner-card a {
    display: inline-block;
    margin-top: 15px;
    color: white;
    background-color: #00529F;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 4px;
}

main > .partner-card {
    width: 70%;
    margin: 30px auto;
    text-align: center;
}

main > .partner-card a {
    background-color: transparent;
    color: #00529F;
    display: block;
    margin-top: 10px;
    padding: 0;
}
