/* style_menu.css */

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-family: 'Reem Kufi';
    font-size: 18px;
    letter-spacing: 1px;
}

/*----------------------------le header--------------------*/
header {
    background-color: rgba(223, 222, 222, 0.95);
    position: sticky;
    top: 0px;
    /*  nécessaire au fonctionnement de 'sticky'  */
    display: flex;
    justify-content: space-between;
	align-items: center;
	padding: 12px 50px 0px 50px;
  z-index: 1000;
}
header .logo{
  transition: all 0.5s ease-out;
}


header .logo:hover{
  filter:contrast(10%);
}

/*MENU DEROULANT*/

header nav{
  width: 33%;
  text-align: left;
}

#menuToggle
{
  display: block;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: gray;
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: black;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

#menuToggle input:hover ~ span{
	background: gray;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Oh yeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  height: 78vh;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background-color: rgba(223, 222, 222);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

#menu li .sm{
    padding-left: 30px;
    list-style-type: none;
}

#menu li .sm li{
    font-size: 17px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

header .btn{
	font-size: 22px;
	text-decoration: none;
	transition: all 0.5s ease-out;
	margin: 20px;
	color: black;
}

header .button_cont{
	width: 33%;
    text-align: right;
}

header .btn:hover{
	color: gray;
	cursor: pointer;
	
}

header .titre{
	width: 34%;
	text-align: center;
}

/*----fin menu déroulant----*/














/*---------------------------fin du header----------------*/

.non-connecte{
  display: flex;
  justify-content: center;
}


main {
  flex: 1;
  /* Le contenu peut s'étendre pour remplir tout l'espace disponible */
  display: flex;
  /*propriéter de l'image de fond*/
  background-image: url(img/ch_hotel/chambre_premium.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

}


.droite {
  flex: 1;
}

/*---------*/
.centre {
  background-color: rgb(245 245 245 / 50%);
  padding: 10px;
  flex-basis: 1200px;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
}

.centre2 {
  background-color: rgb(245 245 245 / 50%);
  padding: 10px;
  flex-basis: 1200px;
  display: flex;
  justify-content: center;
  column-gap: 10px;
}

img {
  max-width: 100%;
}

main .imggauche {
  margin: 0 10px 10px 0;
  max-height: 280px;
}

.para {
  margin: 20px;
  border: solid 1px gainsboro;
  display: flex;
  padding: 50px;
  align-items: center;
  border-radius: 5px;
  background-color: #efefef;
  transition: all 0.5s ease-out;
  max-height: 300px;
  justify-content: space-between;
  
}

.para:hover{
	transform: scale(1.01);
	cursor: pointer;
}


.para .txt_droite {
  text-align: right;
  padding-left: 20px;
  width: 50%;
}

.para .txt_gauche {
  padding-right: 20px;
  padding: 10px;
  width: 50%;
}

.txt_gauche2 {
  padding-right: 20px;
  padding: 20px;
  background-color: #dddddd;
  margin-top: 10px;
  border-radius: 10px;
}



.para p {
  text-align: justify;
}

.gauche {
  flex: 1;
}

.para h3 {
    font-weight: bolder;
    font-size: 22px;
    color: #999;
}



.para p.capacite {
    font-style: italic;
    color: #d11313;
}

.para p.prix {
    font-weight: bold;
    color: rgb(153 153 155);
}

.resa{
  background-color: #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  padding: 20px;
  border-radius: 10px;
}

.field{
  padding:20px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.resa_form{
  display:flex;
  align-items: center;
  background-color: #a6a6a6;
  border-radius: 10px;
}

.error{
  color:#a60000;
}

.chambres .bouton {
    margin-bottom: 10px;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 4px;
    color: #333;
    background-color: #f4f4f4;
    transition: background-color 0.3s ease;
}

.chambres .bouton:hover {
    background-color: #ddd;
}

.chambres .bouton:active {
    background-color: #bbb;
}

.year-name {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
}

.green {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  outline: none;
}

.green:hover{
  background-color: #327534;
  color: rgb(172, 254, 207);
}

.red{
  background-color: #e84040;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  outline: none;
}

.red:hover{
  background-color: #753632;
  color: rgb(254, 172, 172);
}

.month-name {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.day {
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
}

.unavailable {
  background-color: gray;
}

.available {
  cursor: pointer;
  transition: background-color 0.10s ease;
}

.available:hover {
  background-color: #4CAF50;
}

.selected {
  background-color: #66b268;
  color: white;
  scale: 1.1;
}

.highlighted {
  background-color: rgb(161, 194, 165);
  color: white;
}

.invalid {
  background-color: rgb(255, 0, 0);
  color: white;
}

.upfooter{
    background-color: rgba(162, 162, 162, 0.95);
    display:flex;
    justify-content: space-around;
    padding: 40px;
}

.vos_reserve{
  background-color: #a6a6a6;
  border-radius: 10px;
  padding: 0px 10px;
}


/*----------------------le footer-----------------------*/

.footer {
    padding: 30px 30px 20px 30px;
    background-color: rgba(223, 222, 222, 0.95);
    border-top: 1px solid #e5e5e5;
}


.navtitle {
    font-weight: 400;
    font-size: 15px;
}

.footernav{
	display: flex;
    flex-wrap: wrap;
	justify-content: space-evenly;
}
	


.navul a {
    color: #999;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer li {
    line-height: 2em;
}

.footer a {
    text-decoration: none;
}


.img_logo {
    margin: 5px;
}

/*----------------------fin footer----------------*/