/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
}

/* Header */
header {
    background-color: #000;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container0 {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 80px;
    margin-right: 15px;
}

.brand {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: white;
}

/* Barre de menu identique à celle de styles.css */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* Même espace entre les éléments de menu */
}

nav ul li a {
    font-family: 'Poppins', sans-serif; /* Police utilisée dans styles.css */
    font-size: 1.2rem; /* Taille de police identique à styles.css */
    color: white; /* Couleur du texte */
    text-decoration: none; /* Pas de soulignement */
    position: relative;
}

nav ul li a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: white; /* Ligne blanche sous l'élément */
    transition: width .3s; /* Transition pour l'animation */
}

nav ul li a:hover::after {
    width: 100%; /* Animation lors du survol */
}


/* Section Contact */
.container1 {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
}

h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
    color: #000;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #555;
}

form {
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    color: #333;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

textarea {
    resize: none;
}

button {
    background-color: black;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #333;
}

/* Contact Informations */
.contact-info {
    margin-top: 30px;
    text-align: center;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #000;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #555;
}

.contact-info i {
    color: #000;
    margin-right: 10px;
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    color: #000;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #666;
}

/* Footer */
footer {
    background-color: #000;
    padding: 20px;
    text-align: center;
    color: white;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container0, .container1 {
        width: 95%;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .brand {
        font-size: 2.5rem;
    }

    form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 60px;
    }

    .brand {
        font-size: 2rem;
    }

    button {
        width: 100%;
        font-size: 1rem;
    }

    form {
        padding: 15px;
    }
}
