@import url('https://fonts.googleapis.com/css2?family=Amiri:ital@1&display=swap');

body {
    padding-top: 200px;
    font-family: "Amiri";
    background-size: cover; 
    background-image: url('');  
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    background-position: center;  
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

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;
    justify-content: center;
    flex: 1;
}

.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: #FF7F00;
}

.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;
}

.toggle ion-icon {
    color: #FF7F00; /* Couleur orange pour l'icône de toggle */
}

@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: black;
        width: 100%;
        text-align: center;
    }

    .menu.active {
        display: flex;
        background: white; /* Couleur de fond changée en blanc */
        z-index: 999; /* Valeur de z-index ajustée */
    }

    .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%;
}

.center-content h1 {
    font-size: 48px;
    color: #FF7F00;
    margin: 0;
}

.image-text-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.8); /* Couleur de fond blanche semi-transparente */
}

.image-text-container img {
    width: 150px; /* Ajustez la largeur selon vos besoins */
    margin-right: 20px;
    border-radius: 10px; /* Ajoute des coins arrondis à l'image */
}

.image-text-container .text-content {
    max-width: 600px; /* Limite la largeur du texte */
}

.image-text-container .text-content h2 {
    font-size: 24px;
    color: #FF7F00; /* Couleur du titre */
    margin-bottom: 10px;
}

.image-text-container .text-content p {
    font-size: 16px;
    color: #333; /* Couleur du texte */
    line-height: 1.6;
}

