/* =============================
   TIROIRS (DRAWERS)
   ============================= */
.drawer {
    position: absolute; /* ou fixed selon la configuration de ta page */
    top: 0; bottom: 0;
    width: 80%;
    max-width: 400px; /* Sécurité pour les grands écrans */
    background: var(--Or-color);
    color: #ffffff; /* Texte en blanc pour contraster avec le fond sombre */
    z-index: 20;
    transition: transform 0.3s ease;
    padding: 20px;
    box-sizing: border-box; /* Important pour que le padding ne casse pas la largeur */
    /* box-shadow: 0 0 15px rgba(0,0,0,0.8); */
    text-align: center;
    /* Ajout de Flexbox pour gérer l'agencement vertical */
    display: flex;
    flex-direction: column;
    overflow-y: visible; /* Permet de scroller si l'écran est trop petit */
}

/* Animations d'ouverture/fermeture */
.drawer-left { left: 0; transform: translateX(-100%); }
.drawer-left.open { transform: translateX(0); }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer-right.open { transform: translateX(0); }

.drawer-left{
    background-color: var(--Or-color);
    background-image: url(/css/assets/images/motif/L_motif\ poliade_Flou.png),linear-gradient(#ffffff28, #ffffff31);
    background-size: cover;
    background-repeat: repeat;
    background-blend-mode: multiply;
    overflow: scroll;
    

}
#drawer-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 15;
}

/* =============================
   INTERIEUR DU TIROIR
   ============================= */

/* Bouton Fermer */
.close-drawer {
    align-self: flex-start; /* Aligné à gauche */
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
    margin-top: -24px;
    margin-left: -24px;
    img{
        width: 50px;
        height: 50px;
    }
}
#btn-close-drawer-right{
    align-self: flex-end;
}

/* Liste des Villes */
.city-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espace entre chaque bouton */
    margin-bottom: 30px;
}

.city-btn {
    display: block;
    text-align: center;
    padding: 12px;
    /* border: 1px solid #444; */
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--background-dark);
    background: var(--Beige-Fond-color);
    transition: background 0.2s;
    box-shadow: 13px 11px 11px 0px rgba(0, 0, 0, 0.2);
}

.city-btn:hover {
    background: #3a3a3a;
}

/* Grand Logo central */
.main-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.placeholder-logo-1300 {
    width: 150px;
    height: 150px;
    background: #283959;;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    img{
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }
}

/* Boîte de texte descriptive */
.description-box {
    background: var(--Or-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
    box-shadow: var(--boxshadow);

}

/* Les 3 petits logos en ligne */
.partner-logos {
    display: flex;
    justify-content: space-between; /* Espace uniformément les logos */
    gap: 10px;
    margin-bottom: 30px;
    
}

.placeholder-logo-small {
    flex: 1; /* Chaque carré prend le même espace */
    width: 60px;
    height: 100%;
    background: var(--Or-color);
    box-shadow: var(--boxshadow);
    margin:10px ;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 12px;
    padding: 3%;
    img{
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }
}

/* Bouton Recommencer */
.restart-btn {
    margin-top: auto; /* C'est LA propriété magique qui pousse le bouton tout en bas ! */
    width: 100%;
    padding: 15px;
    background: var(--Bleu-color);
    color: #1a1a1a;
    border: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: -20px;

}

.restart-btn:hover {
    background: var(--Bleu-color);
        
}
