
/* Import de la police Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital@1&display=swap');

.body amiri-regular-italic {
    font-family: "Amiri";
    font-weight: 400;
    font-style: italic;
  }
  
body {
    padding-top: 80px; /* Ajuster le padding-top pour laisser la place à la navigation */
    font-family: "Amiri", serif;
    background-size: cover;
    background-image: url('');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    margin: 0;
    background-color: #fdac47;
}

/* Styles pour la barre de navigation */
nav {
    background: white;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #FF7F00;
    text-decoration: none;
}

.logo a:hover {
    color: #FF7F00;
}

.logo img {
    width: 40px;
    margin-right: 10px;
}

.menu-container {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    padding: 15px 10px;
    font-size: 16px;
}

.menu li a {
    color: #FF7F00;
    text-decoration: none;
}

.menu li a:hover {
    color: #FF5733;
}

.search-bar {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-bar input[type="text"] {
    padding: 10px;
    font-size: 14px;
    border: 2px solid #FF7F00;
    border-radius: 20px 0 0 20px;
    background-color: #fff;
    color: black;
    width: 200px;
    transition: all 0.3s ease-in-out;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search-bar input[type="text"]:focus {
    border-color: #FF5733;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-bar input[type="text"]::placeholder {
    font-style: italic;
    color: #FF7F00;
}

.search-bar button {
    padding: 10px;
    background-color: #FF7F00;
    color: white;
    border: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #FF5733;
}

.toggle {
    font-size: 30px;
    display: none;
}

@media screen and (max-width: 600px) {
    nav {
        flex-direction: column;
    }

    .menu-container {
        flex-direction: column;
        width: 100%;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background: white;
        width: 100%;
        text-align: center;
    }

    .menu.active {
        display: flex;
    }

    .toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        color: white;
    }

    .search-bar {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
    }
}

.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin-top: 20px; /* Ajuster pour plus d'espace sous la section centrale */
}

.center-content h1 {
    font-size: 48px;
    color: #FF7F00;
    margin: 0;
}

/* Styles pour les conteneurs d'informations */
.info-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 50px auto;
}

/* Styles pour chaque section de service */
.service-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    background-color: white;
}

.service-section h1 {
    color: #FF7F00;
    font-size: 30px;
    margin-bottom: 10px;
    text-align: center;
    flex: 1;
}

.service-content {
    flex: 1;
    text-align: left; /* Aligner le texte à gauche */
}

.service-image {
    flex: 1;
    max-width: 300px; /* Ajustez la largeur maximale selon votre besoin */
    margin-left: 20px; /* Espacement entre le texte et l'image */
}

.service-image img {
    max-width: 100%;
    height: auto;
}

/* Styles pour les images responsives */
.responsive-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 600px) {
    .info-container {
        padding: 10px;
    }

    .service-section {
        flex-direction: column;
    }

    .service-image {
        margin: 20px auto; /* Centrer l'image sur les petits écrans */
        max-width: 100%;
    }
}

.menu-container #toggleButton ion-icon {
    color: orange;
}

