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

body {
    font-family: 'Baloo Chettan 2', sans-serif;
    background-color: #ffffffec;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-direction: column;

}

header img {
    width: 100%;
    height: auto;
}

header ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 25px;
    text-decoration: none;
}

header ul li a {
    text-decoration: none;
    color: black;
    font-family: 'Delius Unicase', sans-serif;
    font-size: 16px;
    padding-bottom: 50px;
}

/* Bordure spécifique pour le lien Accueil */
header ul li a.accueil-link {
    border: 2px solid rgb(147, 80, 4);
    padding: 8px 15px;
    border-radius: 20px;
}


/* MAIN */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: black;
    background-image: linear-gradient(rgba(21, 21, 21, 0.8), rgba(21, 21, 21, 0.8)), url('../img/image-creche2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-attachment: scroll;
    height: 900px;

}

main h1 {
    font-family: 'Baloo Chettan 2', sans-serif;
    font-size: 56px;
    margin-bottom: 10px;
    color: #ffd3b5;
    text-align: center;
    max-width: 70%;
    padding-top: 250px;
}

main h3 {
    font-family: 'Baloo Chettan 2', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffd3b5;
    text-align: center;
    padding-top: 40px;
}

main p {
    font-size: 16px;
    color: white;
    text-align: center;
    max-width: 60%;
    line-height: 1.6;
}

main .numero {
    margin-top: 40px;
    font-size: 16px;
    color: white;
    text-align: center;
    max-width: 80%;
}

main .numero a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
}








/* Information */

.information {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: -50px;
}

.information-card {
    background-color: #ffffff;
    color: black;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    height: 500px;
    text-align: center;
}

.information-card img {
    width: 100%;
    object-fit: cover;
    padding-top: 20px;

}

.information-card h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #A16300;
}

.information-card p {
    font-size: 16px;
    color: black;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: justify;
}


/* A propos */

.propos {
    text-align: center;
    margin-top: 50px;
}

.propos h2 {
    font-size: 32px;
    color: #A16300;
}

.propos h4 {
    font-size: 24px;
    color: #A16300;
}

.propos p {
    padding-top: 20px;
    font-size: 16px;
    color: black;
    margin-bottom: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Section GPS / Localisation */
.gps {
    text-align: center;
    margin: 50px 0;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.gps h2 {
    font-size: 32px;
    color: #A16300;
    margin-bottom: 10px;
}

.gps p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}



/* Menu hamburger - caché par défaut */
.menu-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.menu-hamburger span {
    width: 25px;
    height: 3px;
    background-color: rgb(147, 80, 4);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Animation du menu hamburger quand il est ouvert */
.menu-hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.menu-hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    header {
        position: relative;
        padding: 15px 20px;
    }

    header img {
        width: 20%;
    }

    .menu-hamburger {
        display: flex;
    }

    header ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: left 0.3s ease;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    header ul.active {
        left: 0;
    }

    header ul li a {
        font-size: 24px;
        font-weight: 600;
        color: rgb(147, 80, 4);
        padding: 15px 30px;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    header ul li a:hover {
        background-color: rgba(147, 80, 4, 0.1);
    }

    /* Styles pour les liens actifs en mobile */
    header ul li a.accueil-link {
        background-color: rgb(147, 80, 4);
        color: white;
        border: none;
    }

    main {
        height: 600px;
        padding: 10px;
    }

    main h1 {
        font-size: 36px;
        padding-top: 150px;
        max-width: 90%;
    }

    main h3 {
        font-size: 22px;
        padding-top: 20px;
    }

    main p {
        max-width: 80%;
        font-size: 14px;
    }

    .information {
        flex-direction: column;
        margin-top: -30px;
        gap: 15px;
    }

    .information-card {
        width: 90%;
        height: auto;
        padding: 15px;
    }

    .propos p {
        max-width: 95%;
        padding: 0 20px;
    }

    .map-container {
        max-width: 95%;
        margin: 0 20px;
    }
}

@media screen and (max-width: 768px) {
    header img {
        width: 25%;
    }

    main {
        height: 500px;
    }

    main h1 {
        font-size: 28px;
        padding-top: 100px;
    }

    main h3 {
        font-size: 18px;
    }

    .information-card {
        width: 95%;
        padding: 10px;
    }

    .information-card h4 {
        font-size: 20px;
    }

    .propos h2 {
        font-size: 26px;
    }

    .propos h4 {
        font-size: 20px;
    }

    .gps h2 {
        font-size: 26px;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media screen and (max-width: 480px) {
    header img {
        width: 30%;
    }

    main {
        height: 400px;
    }

    main h1 {
        font-size: 24px;
        padding-top: 80px;
    }

    main h3 {
        font-size: 16px;
    }

    main p {
        font-size: 12px;
    }

    header ul li a {
        font-size: 20px;
        padding: 12px 25px;
    }

    .information-card h4 {
        font-size: 18px;
    }

    .information-card p {
        font-size: 14px;
    }

    .propos h2 {
        font-size: 22px;
    }

    .propos h4 {
        font-size: 18px;
    }

    .propos p {
        font-size: 14px;
    }

    .gps h2 {
        font-size: 22px;
    }

    .gps p {
        font-size: 14px;
    }

    .map-container iframe {
        height: 250px;
    }
}

/* Footer */

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
}