
/* Import de la police Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital@1&display=swap');

body {
    padding-top: 500px;
    font-family: "Amiri", serif;
    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;
    background-color:#fdac47;
}

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;
}

@media screen and (max-width: 900px) {
    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;
        z-index: 999;
    }

    .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: white;
}

.sections-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

section {
    background-color: white;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
}

section h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
    color: #FF7F00;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    overflow-x: hidden;
}

.image-container img {
    width: 190px;
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-prev,
.btn-next {
    background-color: #FF7F00;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-prev:hover,
.btn-next:hover {
    background-color: #FF5733;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.btn-custom {
    display: inline-block;
    padding: 12px 24px;
    background-color: #FF7F00;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-custom:hover {
    background-color: #FF5733;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-custom:active {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Utility classes for positioning buttons */
.placerboutonG {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.placerboutonD {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.placerboutonDr {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
