/* Styles pour l'overlay du menu */
.overlay {
    position: fixed;
    inset: 0;
    background-color: transparent;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    padding: 0;
    visibility: hidden;
}

.overlay::before {
    content: '';
    position: fixed;
    inset: 0;
    backdrop-filter: none;
    transition: backdrop-filter 0.3s ease-in-out;
    pointer-events: none;
}

.overlay.active {
    transform: translateX(0);
    visibility: visible;
}

.overlay.active::before {
    backdrop-filter: none;
}

.overlay nav {
    padding: 2rem;
    width: 100%;
    height: 100vh;
    background-color: #F9B233;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.overlay nav a {
    display: inline-flex;
    margin: 0;
    padding: 0.5rem 0;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: #2A3945;
    text-decoration: none;
    align-items: center;
    transition: color 0.3s ease;
    position: relative;
    line-height: 1.2;
    width: auto;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}

.overlay nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #2A3945;
    transition: width 0.3s ease;
}

.overlay nav a:hover {
    color: #ffffff;
}

.overlay nav a:hover::after {
    width: 50%;
    background-color: #ffffff;
}

/* Styles pour le bouton du menu */
.button-74 {
    background-color: #F9B233;
    border: 2px solid #422800;
    border-radius: 30px;
    box-shadow: #422800 4px 4px 0 0;
    color: #422800;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    font-size: 18px;
    padding: 0 18px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.button-74:hover {
    background-color: #fff;
}

.button-74:active {
    box-shadow: #422800 2px 2px 0 0;
    transform: translate(2px, 2px);
}

@media (max-width: 768px) {
    .overlay nav {
        padding: 1.5rem;
    }

    .overlay nav a {
        font-size: clamp(1.1rem, 5vw, 1.8rem);
        padding: 0.8rem 0;
        width: 100%;
        max-width: 300px;
    }

    .button-74 {
        min-width: 100px;
        padding: 0 15px;
        font-size: 16px;
        line-height: 40px;
    }
}

@media (min-width: 768px) {
    .button-74 {
        min-width: 120px;
        padding: 0 25px;
    }
} 