* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #37463D;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    background-color: #37463D;
    color: #F8FBF1;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed; /* Keeps the header fixed at the top */
    z-index: 99;
    top: 0;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    color: #F8FBF1;
    text-decoration: none;
    font-size: 16px;
}

/* New styles for mobile responsiveness */
.hamburger {
    display: none; /* Hide by default */
    background: none;
    border: none;
    color: #F8FBF1;
    font-size: 24px;
    cursor: pointer;
}

/* Media query for mobile */
@media (max-width: 768px) {
    header nav ul {
        display: none; /* Hide the navigation menu by default */
        flex-direction: column; /* Stack the items vertically */
        position: absolute; /* Position it absolutely */
        background-color: #37463D; /* Match the header background */
        top: 60px; /* Position below the header */
        left: 0;
        right: 0;
        padding: 10px 0; /* Padding for the menu */
        z-index: 98; /* Below the header */
        text-align: center;
    }

    header nav ul.active {
        display: flex; /* Show when active */
    }

    .hamburger {
        display: block; /* Show hamburger button */
    }
}

section.main-content {
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2b2b2b;
    height: 100vh;
    padding: 100px 0; /* Ajusté pour compenser le header fixe */
}

footer {
    background-color: #37463D;
    color: #F8FBF1;
    text-align: center;
    padding: 10px;
    margin-top: auto;
    bottom: 0px;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #555; /* Bordure des champs */
    border-radius: 5px; /* Coins arrondis */
    background-color: #444; /* Fond des champs */
    color: #f0f0f0; /* Couleur du texte */
    font-size: 14px; /* Taille de police des champs */
}

button.cta-button {
    background-color: #5B696A; /* Couleur de fond pour le bouton */
    color: #F8FBF1; /* Couleur du texte */
    padding: 10px 15px; /* Espacement */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
    cursor: pointer; /* Curseur pointer */
    font-size: 16px; /* Taille du texte */
    transition: background-color 0.3s; /* Transition pour le survol */
}

button.cta-button:hover {
    background-color: #37463D;
}
