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

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-direction: column
}

header img {
    width: 100%;
    height: auto;
}

header ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 25px;
    text-decoration: none;
    padding-top: 25px;
}

header ul li a {
    text-decoration: none;
    color: black;
    font-family: 'Delius Unicase', sans-serif;
    font-size: 16px;
}

/* Bordure spécifique pour le lien Accueil */
header ul li a.inscription-link {
    border: 2px solid rgb(147, 80, 4);
    padding: 8px 15px;
    border-radius: 20px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

main .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    max-width: 1000px;
    width: 100%;
    justify-content: center;
}

main .container-left {
    flex: 1;
    padding-right: 40px;
    max-width: 450px;
}

main .container-left h1 {
    font-size: 33px;
    margin-bottom: 20px;
    color: #A16300;
}

main .container-left p {
    font-family: Source Sans Pro, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.btn-inscription {
    display: inline-block;
    background-color: #ffd3b5;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Baloo Chettan 2', cursive;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-inscription:hover {
    background-color: #ffb07c;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

main .container-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

main img {
    width: 60%;
    max-width: 450px;
    height: auto;
}







/* Menu hamburger - caché par défaut */
.menu-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.menu-hamburger span {
    width: 25px;
    height: 3px;
    background-color: rgb(147, 80, 4);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Animation du menu hamburger quand il est ouvert */
.menu-hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.menu-hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    header {
        position: relative;
        padding: 15px 20px;
    }

    header img {
        width: 20%;
    }

    .menu-hamburger {
        display: flex;
    }

    header ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: left 0.3s ease;
        z-index: 1000;
        backdrop-filter: blur(10px);
        padding-top: 0;
    }

    header ul.active {
        left: 0;
    }

    header ul li a {
        font-size: 24px;
        font-weight: 600;
        color: rgb(147, 80, 4);
        padding: 15px 30px;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    header ul li a:hover {
        background-color: rgba(147, 80, 4, 0.1);
    }

    /* Styles pour les liens actifs en mobile */
    header ul li a.inscription-link {
        background-color: rgb(147, 80, 4);
        color: white;
        border: none;
    }

    .inscription .Title h1 {
        margin-left: 50px;
        font-size: 2rem;
    }

    main {
        padding: 20px 10px;
        min-height: 50vh;
    }

    .container {
        padding: 20px;
        margin: 0 20px;
    }
}

@media screen and (max-width: 768px) {
    header img {
        width: 25%;
    }

    .inscription {
        height: 250px;
    }

    .inscription .Title h1 {
        margin-left: 30px;
        font-size: 1.8rem;
    }

    main {
        padding: 20px 10px;
    }

    .container {
        margin: 0 10px;
        padding: 15px;
    }

    .container h2 {
        font-size: 1.5rem;
    }

    .container p {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    header img {
        width: 30%;
    }

    .inscription {
        height: 200px;
    }

    .inscription .Title h1 {
        margin-left: 20px;
        font-size: 1.5rem;
    }

    header ul li a {
        font-size: 20px;
        padding: 12px 25px;
    }

    .container {
        margin: 0 5px;
        padding: 10px;
    }

    .container h2 {
        font-size: 1.3rem;
    }

    .container p {
        font-size: 12px;
    }
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
}