/* Décale tout le contenu sous la navbar */
body {
    margin: 0;
    font-family: Poppins, sans-serif;
    background: #f7f2e8;
    padding-top: 120px;
}


header {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    background: rgba(255,255,255,0.7);
    border-bottom: 2px solid #f5c542;
}

.logo span {
    color: #f29f05;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #1a1a1a;
}

.form-section {
    padding: 50px;
    text-align: center;
}

form {
    width: 350px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

input, select, textarea {
    margin: 10px 0;
    padding: 12px;
    border-radius: 5px;
    border: 2px solid #f5c542;
    background: #fffdf7;
}

button {
    padding: 12px;
    background: #f29f05;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* NAVBAR GLOBALE */
/* NAVBAR FIXE */
/* NAVBAR FIXE AVEC BLUR */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.35); /* transparence */
    backdrop-filter: blur(18px); /* BLUR FORT */
    -webkit-backdrop-filter: blur(18px); /* Safari */
    border-bottom: 2px solid #f5c542;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1400px;
    margin: auto;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
}

.logo span {
    color: #f29f05;
    text-shadow: 0 0 10px #f5c542;
}

/* NAV LINKS */
.navbar {
    display: flex;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    font-size: 18px;
    color: #1a1a1a;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.3s;
}

.navbar a:hover {
    background: rgba(245, 197, 66, 0.25);
    color: #f29f05;
    box-shadow: 0 0 12px rgba(245, 197, 66, 0.6);
}

.navbar .active {
    background: rgba(245, 197, 66, 0.35);
    color: #f29f05;
    box-shadow: 0 0 12px rgba(245, 197, 66, 0.8);
}

/* MENU BURGER */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 850px) {

    .navbar {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(18px); /* BLUR SUR MENU MOBILE */
        -webkit-backdrop-filter: blur(18px);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 15px 0;
        border-bottom: 2px solid #f5c542;
    }

    .navbar a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
        font-size: 20px;
    }

    .menu-icon {
        display: block;
    }

    #menu-toggle:checked ~ .navbar {
        display: flex;
    }
}
