/* ===========================
   HEADER
=========================== */

.tet{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:9999;
}

header{
    width:100%;
    height:90px;
    background:#071A2F;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 5px 20px rgba(0,0,0,.25);
}

.logo-containeur{
    width:90%;
    max-width:1400px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logohotel img{
    width:200px;
    height:200px;
    
}

.logohotel img:hover{
    transform:scale(1.08);
}

.liens{
    display:flex;
    align-items:center;
    gap:35px;
}

.liens a{
    text-decoration:none;
    color:#ffffff;
    font-size:17px;
    font-weight:600;
    position:relative;
    transition:.3s;
    letter-spacing:.5px;
}

/* Animation sous le menu */

.liens a::after{

    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0%;
    height:3px;
    background:#D4AF37;
    transition:.4s;

}

.liens a:hover::after{

    width:100%;

}

.liens a:hover{

    color:#D4AF37;

}

/* Page active */

.liens a.active{

    color:#D4AF37;

}

.liens a.active::after{

    width:100%;

}

/* Responsive */

@media(max-width:900px){

    header{

        height:auto;
        padding:20px 0;

    }

    .logo-containeur{

        flex-direction:column;

    }

    .liens{

        margin-top:20px;
        flex-wrap:wrap;
        justify-content:center;
        gap:18px;

    }

    .logohotel img{

        width:65px;
        height:65px;

    }

}




/*CORPS DE LA PAGE*/
.listchamb{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

padding:30px;

}


.chambre-card{

background:white;

border-radius:15px;

padding:15px;

text-align:center;

box-shadow:0 5px 15px rgba(0,0,0,.15);

}


.chambre-card img{

width:100%;

height:220px;

object-fit:cover;

border-radius:15px;

}

/*============================
        CONTENU
============================*/


.contenu{

margin-left:260px;
padding:30px;
min-height:100vh;

}





/*============================
        TITRE
============================*/


.contenu h1{


background:white;

padding:25px;

border-radius:15px;

color:#071A2F;

font-size:30px;

box-shadow:0 5px 15px rgba(0,0,0,.15);

margin-bottom:25px;


}


.contenu h1 i{

color:#D4AF37;

margin-right:10px;

}






/*============================
       BOUTON AJOUT
============================*/


.btn-ajouter{


background:#D4AF37;

color:#071A2F;

border:none;

width:50px;

height:50px;

border-radius:50%;

font-size:22px;

cursor:pointer;

margin-bottom:25px;

transition:.3s;


}


.btn-ajouter:hover{


background:#071A2F;

color:#D4AF37;

transform:scale(1.1);


}






/*============================
       FORMULAIRES
============================*/


.formulaire{


display:none;

background:white;

width:450px;

padding:25px;

border-radius:15px;

box-shadow:0 8px 20px rgba(0,0,0,.15);

margin-bottom:30px;


}




.formulaire h2{


color:#071A2F;

margin-bottom:20px;


}



.formulaire h2 i{


color:#D4AF37;

margin-right:8px;


}




.formulaire input,
.formulaire select{


width:100%;

padding:12px;

margin-bottom:15px;

border-radius:8px;

border:1px solid #ddd;


}



.formulaire input:focus,
.formulaire select:focus{


outline:none;

border-color:#D4AF37;


}






.formulaire button{


width:45px;

height:45px;

border:none;

border-radius:50%;

background:#071A2F;

color:white;

cursor:pointer;

margin-right:10px;

font-size:17px;


}



.formulaire button:hover{


background:#D4AF37;

color:#071A2F;


}
/*============================
        TITRE LISTE
============================*/


.contenu h2{


color:#071A2F;

margin:25px 0;
}
.contenu h2 i{


color:#D4AF37;

margin-right:10px;


}

/*============================
       LISTE CHAMBRES
============================*/


.liste-chambre{


display:grid;

grid-template-columns:repeat(4,1fr);

gap:20px;


}

/*============================
       CARTE CHAMBRE
============================*/


.card-chambre{


background:white;

border-radius:15px;

padding:15px;

box-shadow:0 6px 18px rgba(0,0,0,.12);

transition:.3s;

text-align:center;


}



.card-chambre:hover{


transform:translateY(-7px);


}
.card-chambre img{


width:100%;

height:160px;

object-fit:cover;

border-radius:12px;

margin-bottom:15px;


}
.card-chambre h3{


color:#071A2F;

margin-bottom:10px;
}

.card-chambre p{
color:#555;
margin:8px;
}



#modifier h2{

font-size:20px;

color:#071A2F;

margin-bottom:20px;

}



#modifier input,
#modifier select{

width:100%;

padding:12px;

margin-bottom:15px;

border-radius:8px;

border:1px solid #ddd;

}


#modifier{


position:absolute;

display:none;

width:350px;

min-height:420px;

z-index:100;

background:white;

border-radius:15px;

padding:25px;

box-shadow:0 10px 30px rgba(0,0,0,.3);


}


#modifier button{

width:45px;

height:45px;

border-radius:50%;

border:none;

cursor:pointer;

background:#071A2F;

color:white;

font-size:18px;

}



#modifier button:hover{

background:#D4AF37;

color:#071A2F;

}
/*============================
      ICONES ACTION
============================*/


.card-chambre button{


border:none;

background:none;

cursor:pointer;

margin-right:15px;


}

.card-chambre button i{


color:#D4AF37;

font-size:20px;


}

.card-chambre a i{


color:#b52b27;

font-size:20px;


}

.card-chambre i:hover{


transform:scale(1.2);


}


/*============================
        RESPONSIVE
============================*/


@media(max-width:1200px){


.liste-chambre{

grid-template-columns:repeat(3,1fr);

}


}



@media(max-width:900px){


.liste-chambre{

grid-template-columns:repeat(2,1fr);

}

.contenu{
margin-left:0;

}

}

@media(max-width:600px){


.liste-chambre{

grid-template-columns:1fr;

}
.formulaire{

width:100%;

}


}

/*============================
       BOUTON CHOISIR PHOTO
============================*/


.photo-btn{

    display:inline-flex;

    align-items:center;

    gap:8px;

    background:#D4AF37;

    color:#071A2F;

    padding:12px 20px;

    border-radius:25px;

    cursor:pointer;

    font-weight:bold;

    margin-bottom:15px;

    transition:.3s;

}



.photo-btn:hover{

    background:#071A2F;

    color:#D4AF37;

}



.photo-btn i{

    font-size:18px;

}



.photo-btn input{

    display:none;

}


.chambre{

    text-align:center;

    font-size:40px;

    color:#071A2F;

    margin:70px 0 40px;

    font-weight:bold;

    letter-spacing:2px;

    position:relative;

}

.chambre::after{

    content:"";

    width:100px;

    height:4px;

    background:#D4AF37;

    display:block;

    margin:15px auto 0;

    border-radius:10px;

}


.chambre-card a{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    margin-top:20px;

    padding:12px 25px;

    background:#D4AF37;

    color:#071A2F;

    text-decoration:none;

    border-radius:30px;

    font-weight:bold;

    transition:.3s;

}

.chambre-card a i{

    font-size:18px;

}

.chambre-card a:hover{

    background:#071A2F;

    color:#D4AF37;

    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(0,0,0,.20);

}



/*PARTIE RESERVATION*/


/*=========================================
        FORMULAIRE RESERVATION
=========================================*/


#reservation{

    display:none;

    position:absolute;

    width:450px;

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.35);

    z-index:1000;

}



/* TITRE */

#reservation h2{

    color:#071A2F;

    font-size:22px;

    margin-bottom:20px;

}


#reservation h2 i{

    color:#D4AF37;

    margin-right:10px;

}



/* INPUT */

#reservation input,
#reservation select{


    width:100%;

    padding:12px;

    margin-bottom:15px;

    border-radius:8px;

    border:1px solid #ddd;

    font-size:15px;

}



/* CHAMPS AUTOMATIQUES */

#reservation input[readonly]{


    background:#f2f2f2;

    color:#555;

    cursor:not-allowed;


}




#reservation input:focus,
#reservation select:focus{


    outline:none;

    border-color:#D4AF37;


}




/* LABEL */

#reservation label{


    color:#071A2F;

    font-weight:bold;

    display:block;

    margin-bottom:5px;


}



/* BOUTONS */

#reservation button{


    width:45px;

    height:45px;

    border-radius:50%;

    border:none;

    background:#071A2F;

    color:white;

    font-size:18px;

    cursor:pointer;

    margin-right:10px;

    transition:.3s;


}



#reservation button:hover{


    background:#D4AF37;

    color:#071A2F;


}




/* BOUTON FERMER */

#reservation button:last-child{


    background:#b52b27;


}



#reservation button:last-child:hover{


    background:#8d211e;

    color:white;

}




/*=========================================
        BOUTON RESERVER
=========================================*/


.btn-reserver{


    background:#D4AF37;

    color:#071A2F;

    border:none;

    padding:12px 20px;

    border-radius:25px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}



.btn-reserver i{


    margin-right:8px;

}



.btn-reserver:hover{


    background:#071A2F;

    color:#D4AF37;

    transform:scale(1.05);


}




/*=========================================
        MESSAGE RESERVATION
=========================================*/


.message-reservation{


    background:#D4AF37;

    color:#071A2F;

    padding:15px 25px;

    border-radius:10px;

    font-weight:bold;

    position:fixed;

    top:20px;

    right:20px;

    box-shadow:0 5px 15px rgba(0,0,0,.2);

    z-index:2000;


}





.formulaire-reservation{

    display:none;

    position:absolute;

    width:900px;

    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

    z-index:1000;

}




.formulaire-reservation h2{

    text-align:center;

    color:#071A2F;

    margin-bottom:25px;

}


.formulaire-reservation h2 i{

    color:#D4AF37;

    margin-right:10px;

}



/* CONTENEUR DES DEUX PARTIES */

.reservation-container{

    display:flex;

    gap:30px;

}





/* PARTIE GAUCHE ET DROITE */

.reservation-gauche,
.reservation-droite{

    width:50%;

}



/* INPUT */

.formulaire-reservation input{

    width:100%;

    padding:12px;

    margin-bottom:15px;

    border-radius:8px;

    border:1px solid #ddd;

    outline:none;

    font-size:15px;

}



.formulaire-reservation input:focus{

    border-color:#D4AF37;

}




.formulaire-reservation label{

    display:block;

    margin-bottom:8px;

    color:#071A2F;

    font-weight:bold;

}





.formulaire-reservation hr{

    margin:15px 0;

    border:none;

    border-top:1px solid #ddd;

}





/* BOUTONS */

.btn-reservation{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:20px;

}



.btn-reservation button{


    width:45px;

    height:45px;

    display:flex;

    align-items:center;

    justify-content:center;


    border:none;

    border-radius:50%;

    cursor:pointer;

    background:#071A2F;

    color:white;

    font-size:18px;

    transition:.3s;


}


.btn-reservation button i{

    margin:0;

}



.btn-reservation button:hover{

    background:#D4AF37;

    color:#071A2F;

}



/* RESPONSIVE */

@media(max-width:900px){


.reservation-container{

    flex-direction:column;

}


.formulaire-reservation{

    width:90%;

}



.reservation-gauche,
.reservation-droite{

    width:100%;

}


}




/*MESSAGE SUCCES*/
.succes{
    background:#e8f7e8;
    color:#1d7a1d;
    padding:12px;
    border-radius:10px;
    margin-bottom:18px;
    font-weight:bold;
    border:1px solid #bde5bd;
    font-size:14px;
}


/*PIED DE PAGE*/

.footer{

    background:#071A2F;

    color:white;

    margin-top:50px;

}


.footer-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

    padding:45px 25px;

}


.footer-col h3{

    color:#D4AF37;

    margin-bottom:15px;

    font-size:20px;

}


.footer-col p,
.footer-col a{

    color:#d6d6d6;

    font-size:14px;

    line-height:1.8;

    text-decoration:none;

}


.footer-col a:hover{

    color:#D4AF37;

}


.footer-col ul{

    list-style:none;

    padding:0;

}


.footer-col li{

    margin-bottom:10px;

}


.footer-col i{

    color:#D4AF37;

    margin-right:8px;

}


/* Section étudiants */

.footer-etudiants{

    border-top:1px solid rgba(255,255,255,.12);

    border-bottom:1px solid rgba(255,255,255,.12);

    padding:22px 20px;

    text-align:center;

}


.footer-etudiants h4{

    color:#D4AF37;

    margin-bottom:12px;

    font-size:18px;

}


.etudiants-list{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:12px;

}


.etudiants-list span{

    background:rgba(255,255,255,.08);

    padding:8px 14px;

    border-radius:20px;

    font-size:14px;

    transition:.3s;

}


.etudiants-list span:hover{

    background:#D4AF37;

    color:#071A2F;

}


/* Bas du footer */

.footer-bottom{

    text-align:center;

    padding:16px;

    font-size:13px;

    color:#b8b8b8;

}

