/* === TEMPLATE - ARTISTE - THEME SWITCHER === */
/* css01.css */
/* defaut - bleu */
/* 20241101 - 17:45:00 */

/* === STYLE GLOBAL | DESKTOP === */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* === HEADER | DESKTOP === */
header {

    padding: 5px;
    background-color: #007bff;
    color: white;
    border-bottom: 2px solid #0056b3;
    text-align: center; /* Centre le contenu */
}

header a {
    display: block;
    text-decoration: none;
    /* color: white; */
    /* padding: 10px; */
    margin: 5px; /* Marge entre les liens */
    border-radius: 5px; /* Coins arrondis */
    transition: background-color 0.3s; /* Transition pour le survol */
}

header a:hover {
    /* background-color: #0056b3; */
}

/* Centre #header1 */
#header1 {
    width: 180px;
    background-color: #d6d6d6;
    margin: 0 auto; /* Centre horizontalement */
    padding: 2px;
    border-radius: 5px; /* Coins arrondis */
}

#header1:hover {
    background-color: #1359a8;
}

#header1 a {
    color: #0a4ca1; /* Couleur spécifique pour les liens dans header1 */
    text-decoration: none; /* Enlève le soulignement */
}

#header1 a:hover {
    color: #e9e9e9; /* Couleur au survol pour les liens dans header1 */
}


#header2 {
    display: flex;
    justify-content: space-around;
    margin: auto;
    padding: 5px;
    border-radius: 10px;
}

#header2 a {
    flex: 1;
    text-align: center;
    padding: 5px 0;
    text-decoration: none;
    color: #dfdfdf;
    background-color: #2364af; /* Couleur de fond individuelle des liens */
    border-radius: 5px;
    transition: background-color 0.3s;
}

#header2 a:hover {
    background-color: #0056b3;
}

#header3 {
    display: flex;
    justify-content: space-around;
    margin: auto;
    width: 200px;
    padding: 5px;
    border-radius: 10px;
}

#header3 a {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    text-decoration: none;
    color: #2aafd8;
    background-color: #2c5c94;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#header3 a:hover {
    background-color: #b4b4b4;
    color: #383838;
}

#header4 {
    margin: 5px 0;
}

/* Style pour le select */
#styleSelect {
    background-color: #007bff;
    color: white;
    border: 1px solid #0056b3;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
}

#styleSelect:hover {
    background-color: #0056b3;
}






/* === CONTENU PRINCIPAL | DESKTOP === */
main {
    flex: 1;
    width: calc(100% - 20px);
    padding: 20px;
    background-color: #ffffff;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
    font-family: Helvetica, sans-serif;
}

main h1 {
    color: #333;
}

main p {
    color: #666;
}

/* === IMAGE | DESKTOP === */
.Index-image {
    align-content: center;
    width: 40%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* === IMAGE | MOBILE === */
@media (max-width: 600px) {
    .Index-image {
        align-content: center;
        width: 90%;
        height: auto;
        display: block;
        margin: 20px auto;
    }
}


/* === FOOTER | DESKTOP === */
footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #007bff;
    color: #fff;
    padding: 5px;
    text-align: center;
    position: relative;
    margin-top: auto;
}

.footer1 {
    display: inline-block;
    padding: 5px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.footer1:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(44, 85, 223);
}

.footer2 {
    display: inline-block;
    padding: 5px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.footer2:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.footer3 {
    display: inline-block;
    padding: 5px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.footer3:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.footer4 {
    display: inline-block;
    padding: 5px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.footer4:hover {
    background-color: rgba(19, 40, 136, 0.8);
}

footer span {
    margin: 0 10px;
    color: white;
}

/* === STYLE GLOBAL | MOBILE === */
@media (max-width: 600px) {
    #header1 h1 {
        font-size: 1.5em;
    }

    #header1 p {
        font-size: 1em;
    }

    #header2 {
        flex-direction: row;
        justify-content: space-between;
    }

    .header2-item {
        margin: 5px 0;
        flex: 1;
        min-width: 0;
    }

    footer {
        flex-direction: row;
        padding: 5px;
        margin-top: auto;
    }

    main {
        padding: 15px;
        margin: 5px;
        width: calc(100% - 10px);
    }

    main h1 {
        font-size: 1.5em;
    }

    main p {
        font-size: 0.9em;
    }
}

/* === FORMULAIRE DE CONTACT === */
#contact-form {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

#contact-form label {
    margin: 10px 0 5px;
    font-weight: bold;
}

#contact-form input,
#contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

#contact-form button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: #0056b3;
}


/* === PAGE AGENDA | DESKTOP === */
.agenda-list {
    list-style-type: none; /* Supprime les puces par défaut */
    padding: 0; /* Supprime le padding par défaut */
    margin: 20px 0; /* Marge autour de la liste */
}

.agenda-list li {
    margin-bottom: 20px; /* Espace entre chaque événement */
    padding: 15px; /* Espace à l'intérieur de chaque événement */
    border: 1px solid #ddd; /* Bordure autour de chaque événement */
    border-radius: 8px; /* Coins arrondis */
    background-color: #f9f9f9; /* Fond clair */
    transition: box-shadow 0.3s; /* Animation de l'ombre */
}

.agenda-list li:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Ombre au survol */
}

.agenda-list h2 {
    font-size: 1.5em; /* Taille de police pour le titre de l'événement */
    margin: 0; /* Pas de marge pour le titre */
    color: #007bff; /* Couleur du titre */
}

.agenda-list p {
    margin: 5px 0; /* Marge pour les paragraphes */
    color: #666; /* Couleur du texte */
}

/* === PAGE AGENDA | MOBILE === */
@media (max-width: 600px) {
    .agenda-list li {
        padding: 10px; /* Réduit l'espace à l'intérieur des événements */
    }

    .agenda-list h2 {
        font-size: 1.3em; /* Réduit la taille de la police pour les petits écrans */
    }

    .agenda-list p {
        font-size: 0.9em; /* Réduit la taille de la police pour les petits écrans */
    }
}


/* === PAGE GALERIE | DESKTOP ET MOBILE === */
.gallery {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 10px; 
    padding: 20px;
    margin-bottom: 70px;
}

.gallery-image {
    width: 20%; 
    height: auto; 
    aspect-ratio: 1 / 1; 
    border-radius: 4px; 
    transition: transform 0.3s, box-shadow 0.3s; 
    cursor: pointer; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}

.gallery-image:hover {
    transform: scale(1.1); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
}

/* Styles pour la modale */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.8); 
    justify-content: center; 
    align-items: center; 
}

.modal-content {
    max-width: 90%; 
    max-height: 90%; 
    border-radius: 8px; 
}

/* Style pour le bouton de fermeture */
.close {
    position: absolute; 
    top: 20px; 
    right: 30px; 
    color: white; 
    font-size: 30px; 
    font-weight: bold; 
    cursor: pointer; 
}

.close:hover,
.close:focus {
    color: #bbb; 
    text-decoration: none; 
    cursor: pointer; 
}

/* Styles responsive */
@media (max-width: 600px) {
    .gallery-image {
        width: 48%;
        height: auto; 
        aspect-ratio: 1 / 1; 
    }
}
