/* Styles de base pour la page */
body {
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style pour centrer le logo en haut de la page */
#logo-container {
    margin-top: 1.5em;
    text-align: center;
}

#logo {
    width: 120px;
}

header, main, footer {
    width: 90%;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

header {
    background-color: rgb(36,137,173);
    color: #fff;
    padding: 1em 0;
    border-radius: 8px;
}

h1, h2 {
    font-weight: normal;
}

section {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5em;
    margin-bottom: 1.5em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ajout d'un espacement pour le cadre "Contact" */
#contact {
    margin-top: 1.5em;
}

.download-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 1em;
}

.download-button {
    border: none;
    background: none;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;
    transition: transform 0.3s;
}

.download-button:hover {
    transform: scale(1.05);
}

.button-logo {
    width: 70%;
    height: auto;
}

.app-names {
    display: flex;
    justify-content: space-around;
    margin-top: 0.5em;
}

.app-names p {
    font-weight: bold;
}

#hours-address {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hours, .address {
    margin-bottom: 1em;
}

/* Nouveau code responsive pour la carte */
#map-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    margin-top: 10px;
}

#map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

button {
    background-color: rgb(36,137,173);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

button:hover {
    background-color: rgb(25,94,123);
}

footer {
    text-align: center;
    padding: 1em;
    background-color: rgb(36,137,173);
    color: #fff;
    width: 100%;
    border-radius: 8px;
}

/* Media Queries pour la responsivité */
@media screen and (max-width: 768px) {
    header, main {
        width: 95%;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }

    .app-names {
        flex-direction: column;
        gap: 0.5em;
    }
}

@media screen and (max-width: 480px) {
    #map-container {
        padding-bottom: 100%;
    }

    section {
        padding: 1em;
    }

    .download-button {
        width: 120px;
        height: 40px;
    }
}