/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #FFFFFF;
    color: #000000;
}

/* Header Styles */
header {
    background-color: #FFFFFF;
    padding: 30px 50px;
    border-bottom: 1px solid #E5E5E5;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-center {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.nav-center a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-center a:hover {
    color: #4CC9F0;
}

.nav-right .cta {
    background-color: #A2358B;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.nav-right .cta:hover {
    background-color: #7209B7;
}

/* Menu toggle button for mobile */
.menu-toggle {
    display: none;
    font-size: 18px;
    background-color: #A2358B;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
}

.nav-center.active {
    display: block;
}

/* Contact Page */
.contact-container {
    display: flex;
    justify-content: space-between;
    min-height: calc(100vh - 120px); /* 100vh - header + footer height */
}

/* Partie Gauche : Formulaire */
.contact-form {
    width: 50%;
    background-color: #FFFFFF;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #A2358B;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.contact-form label {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #E5E5E5;
    border-radius: 5px;
}

.contact-form button.cta {
    padding: 10px 20px;
    background-color: #A2358B;
    color: white;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.contact-form button.cta:hover {
    background-color: #7209B7;
}

/* Partie Droite : Informations de Contact */
.contact-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centre horizontalement le contenu */
    background-image: url('../photo/media_conatct.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    padding: 0;
    text-align: center; /* Centre le texte */
    color: beige;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #A2358B;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.contact-info ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info ul li a {
    color: #000;
    text-decoration: none;
}

.contact-info ul li a:hover {
    color: #4CC9F0;
}

.contact-info .cta {
    padding: 15px 30px;
    background-color: #A2358B;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.contact-info .cta:hover {
    background-color: #7209B7;
}

/* Footer */
footer {
    background-color: #FFFFFF;
    padding: 40px 20px;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #E5E5E5;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-section {
    flex: 1;
    padding: 0 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #5C5C5C;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #7209B7;
}
/* Responsive Design */
@media (max-width: 768px) {
    nav .menu-toggle {
        display: inline-block;
    }

    .logo {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
        background-color: #A2358B;
        color: white;
        padding: 10px 20px;
        border-radius: 25px;
        border: none;
    }
    
    .nav-center {
        display: none;
        flex-direction: column;
        background-color: #FFF;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        z-index: 10; /* Ajoute un z-index plus élevé pour s'afficher au-dessus du reste */
        padding: 20px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }
    
    .nav-center.active {
        display: flex;
    }
    
    nav {
        position: relative;
        z-index: 1000; /* Pour s'assurer que le menu s'affiche au-dessus */
    }

    .nav-right {
        justify-content: flex-end;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
        padding: 20px 0;
    }

    .contact-container {
        display: flex;
        justify-content: space-between;
        padding: 60px 20px;
        gap: 20px;
    }
    
    .contact-form, .contact-info {
        flex: 1;
        padding: 20px;
        background-color: #F9F9F9;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .contact-form h2, .contact-info h2 {
        font-size: 24px;
        margin-bottom: 20px;
        color: #A2358B;
    }
    
    .contact-form input, .contact-form textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
        border-radius: 5px;
        border: 1px solid #ddd;
    }
    
    .contact-info ul {
        list-style: none;
        padding: 0;
    }
    
    .contact-info li {
        margin-bottom: 15px;
    }
    
    .contact-info img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .cta {
        padding: 10px 20px;
        background-color: #4CC9F0;
        color: white;
        text-decoration: none;
        border-radius: 20px;
        display: inline-block;
        text-align: center;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
        .contact-container {
            flex-direction: column;
        }
    
        .contact-form, .contact-info {
            width: 100%;
        }
    }
    
}
