/* style.css */

body {
  margin: 0;
  padding: 0;
  
}

.menu-opener {
  background-color: transparent;
  color: #fff;  
  border: none;
  cursor: pointer;
  position: fixed;
  
}

.modal {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 120vh;
  display: flex;
  justify-content: space-between;
  transition: all 0.4s ease-in-out;
  background-image: url('img/ui/baoli-best-ambiance-nightout-party-restaurant-dubai.jpg');
  background-position: center center; /* Centré verticalement et horizontalement */
  background-repeat: no-repeat;
  background-size: cover;
  /* Optionnel : ajouter un fallback de couleur pendant le chargement */
  background-color: #000;
}

/* Optimisation pour différentes tailles d'écran */
@media (max-width: 768px) {
  .modal {
    background-position: center top;
    height: 100vh; /* Ajuster la hauteur pour mobile si nécessaire */
  }
}

/* Pour les écrans très larges */
@media (min-width: 1920px) {
  .modal {
    background-size: contain;
    background-color: #000; /* Pour les bords si l'image ne couvre pas tout */
  }
}

.modal.active {
  left: 0; 
}

.modal-content {
  width: 45%;
  height: 100%;
  display: flex;
  flex-direction: column; /* Stack menu links and image/text */
  box-shadow: -37px 41px 47px 5px rgba(69,51,21,0.46) inset;
-webkit-box-shadow: -37px 41px 47px 5px rgba(69,51,21,0.46) inset;
-moz-box-shadow: -37px 41px 47px 5px rgba(69,51,21,0.46) inset;
  background-image: url('img/ui/Artboard-back-3.jpg');
  /*opacity: 0.93; */
  padding: 1em;
  flex-direction: column;
  pointer-events: auto;
  overflow-y: auto;
}
	
.@media screen and (min-width: 360px) {
  .modal-content {
	  width: 30%;
	  height: 100%;
  display: flex;
  flex-direction: column; 
  box-shadow: -37px 41px 47px 5px rgba(69,51,21,0.46) inset;
-webkit-box-shadow: -37px 41px 47px 5px rgba(69,51,21,0.46) inset;
-moz-box-shadow: -37px 41px 47px 5px rgba(69,51,21,0.46) inset;
  background-image: url('img/ui/Artboard-back-3.jpg');
  /* opacity: 0.93; */
  padding: 1em;
  flex-direction: column;
  pointer-events: auto;
  }
}
	
@media screen and (min-width: 720px) {
  .modal-content {
    width: 28%;
	height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -37px 41px 47px 5px rgba(69,51,21,0.46) inset;
-webkit-box-shadow: -37px 41px 47px 5px rgba(69,51,21,0.46) inset;
-moz-box-shadow: -37px 41px 47px 5px rgba(69,51,21,0.46) inset;
  background-image: url('img/ui/Artboard-back-3.jpg');
  /* opacity: 0.93; */
  padding: 1em;
  flex-direction: column;
  pointer-events: auto;
  }
}

.menu-links {
  list-style: none;
  padding: 0;
  margin-top: 60px;
  
}

.menu-links li {
  margin-bottom: 10px;
  font-weight: 100;
  font-size: 15px;
}

.menu-links a {
  text-decoration: none;
  color: #fff;
  padding: 10px 20px;
  display: block;
}
	
.menu-links p {
  font-family: 'High Spirited', sans-serif ; 
  font-size: 45px;
  color: #f0f0f0;
  text-align: center;
  font-weight: 100;
  width: 100%;
}

.menu-links a:hover {
  background-color: #124842;
  /*opacity: 0.9; */
}

.modal-image-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-image-text img {
  width: 50%;
  max-height: 404px;
  object-fit: cover;
  margin-top: 33px;
}

.modal-image-text p {
  text-align: center;
  color: #fff;
  padding: 10px;
}

.modal-close {
  position: absolute; 
  top: 34px;
  left: 0px;
  text-decoration: none; 
  color: #fff;
  padding: 6px 10px;
  background-color: #b95817; 
  cursor: pointer;
  box-shadow: 14px 15px 21px -3px rgba(69,51,21,0.5);
}

.modal:not(.active) {  
  left: -100%;  
}


