body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* === MENU BURGER === */
.menu-btn {
  position: fixed;
  top: 15px;
  left: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #ffffff;
  z-index: 1001;
}

.side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #183841;
  padding-top: 60px;
  transition: 0.3s;
  z-index: 1000;
}

.side-menu a {
  display: block;
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
}

.side-menu a:hover {
  background-color: #e63946;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: white;
  z-index: 1002;
}

/* === TOP BAR === */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;  
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top-bar h2{
  position: absolute;
  right: 45px;
  font-size: 20px;
  
}

/* === LOGO === */

.logo {
  margin-left: auto;
  width: 80px;
  height: auto;
  max-height: 50px; /* limite la hauteur */
  object-fit: contain;
  display: block;
}

.topbar .logo h1 {
  font-family: 'Arial', sans-serif;
  font-size: 22px;
  color: white;
  margin: 0;
}


/* === HEADER === */
header {
  position: relative;
  background-image: url("image/hotel1.JPG"); /* image par défaut */
  background-size: cover;
  background-position: center;
  min-height: 600px;
  color: white;
  overflow: hidden;
}

/* Slideshow d'arrière-plan */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(90%);
  animation: bgSlide 24s infinite;
  z-index: 1;
  transition: background-image 1s ease-in-out;
}

/* === HEADER CONTENT === */
.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 180px;
  padding-left: 20px;
  padding-right: 20px;
  animation: fadeInUp 2s ease-out;
}

/* Titre et slogan */
header h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.3em;
}

/* === BOUTON === */
.btn {
  display: inline-block;
  background-color: #000000;
  color: white;
  padding: 12px 25px;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  margin-top: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #cf1313fa;
}

/* === SECTIONS === */
.section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

/* === IMAGE PRINCIPALE === */
.image-hotel {
  text-align: center;
  margin-top: 20px;
}

.image-hotel img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* === GALERIE === */
.galerie {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.galerie h2 {
  text-align: center;
  margin-bottom: 30px;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.galerie-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* === FOOTER === */
footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgSlide {
  0%   { background-image: url('image/restaurant1.jpg'); }
  25%  { background-image: url('image/couloir.jpg'); }
  50%  { background-image: url('image/chambre standard.jpg'); }
  75%  { background-image: url('image/douche.jpg'); }
  100% { background-image: url('image/chambre2 (15).jpg'); }
  125% { background-image: url('image/chambre2\ \(16\).jpg'); }
}

.top-bar {
  position: fixed; /* préférable pour rester visible au scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;  /* hauteur fixe */
  background-color: rgb(8, 8, 8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;  /* padding horizontal seulement */
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Ajuster le header pour qu'il commence en dessous */
header {
  padding-top: 60px;  /* égale à la hauteur de la top-bar */
  position: relative;
  background-image: url("image/hotel1.JPG");
  background-size: cover;
  background-position: center;
  min-height: 600px;
  color: white;
  overflow: hidden;
}


/* presentation de l'hotel */

.presentation .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 20px;
}

.presentation .texte {
  flex: 1 1 400px;
  max-width: 400px;
}

.presentation .texte h2 {
  font-size: 1.6em;
  margin-bottom: 20px;
  color: #12058a;
}
.presentation .texte ul{
  font-size: 1em;
}

.presentation .texte h3{
  color: #12058a;
}
.presentation .texte p {
  font-size: 1em;
  line-height: 1.1;
  color: #444;
}

.presentation .image {
  flex: 1 1 300px;
  max-width: 700px;
}

.presentation .image img {
  width: 140%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* separateur entre les sections */
.separateur {
  height: 90px; /* environ 10mm */
  background-color: #e0dedeab; /* gris clair */
  width: 100%;
}

/* localisation*/

.localisation h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

.localisation p {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
}

.localisation .carte {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Bouton retour en haut */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: #fbc531;
  color: #1a1c2d;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 20px;
  display: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn:hover {
  background-color: #e1a500;
  color: white;
}


/* CSS à ajouter dans ton fichier style.css */

.section-accueil {
  position: relative;
  height: 100vh;
  background-image: url('./image/reception.JPG'); /* Mets ici le bon chemin */
  background-size: cover;
  background-position: center;
  display: flex;
  filter: brightness(40%);
  align-items: center;
  justify-content: center;
  color: white;
}

.section-accueil .overlay {
  background-color: rgba(0, 0, 0, 0.5); /* fond semi-transparent */
  padding: 40px;
  text-align: center;
  border-radius: 10px;
}

.section-accueil h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.section-accueil h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.section-accueil p {
  font-size: 1.5em;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-inner img {
  display: none;
  width: 100%;
  height: auto;
}

.carousel-inner img.active {
  display: block;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
}

.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }


.galerie-accueil .image-unique {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-voir-plus {
  display: inline-block;
  background-color: #050505;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-voir-plus:hover {
  background-color: #a10c22;
}


/* retour a l'accueil */

a.retour {
  padding: 10px 20px;
  background-color: #1d1f4e;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

a.retour:hover {
  background-color: #3c3f8c;
}


.top-bar {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: black;
  color: white;
}

.menu-btn {
  font-size: 24px;
  cursor: pointer;
  margin-right: 15px; /* espace entre le bouton et le titre */
}

.site-title {
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}
