/* =========================
   BASE / LAYOUT (footer en bas)
========================= */
* { box-sizing: border-box; }

html, body{
  height: 100%;
  margin: 0;
}

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ton contenu principal pousse le footer */
main{
  flex: 1;
}

/* =========================
   HEADER + OVERLAY
========================= */
.site-header,
.header-slider{
  position: relative;
}

/* Overlay sombre pour rendre le texte lisible */
.header-slider::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.55) 60%,
      rgba(0,0,0,0.70) 100%),
    linear-gradient(90deg,
      rgba(0,0,0,0.60) 0%,
      rgba(0,0,0,0.25) 52%,
      rgba(0,0,0,0.35) 100%);
  z-index: 2;
  pointer-events: none;
}

/* =========================
   NAVBAR
========================= */
.navbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Barre de menu qui prend toute la largeur */
.menu{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-evenly; /* remplit la barre */
  gap: 0.5rem;

  width: 100%;
  margin: 0;
  padding: 0.5rem 1rem;
}

/* chaque item peut s’étirer */
.menu > li{
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

.menu > li > a{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;

  padding: 0.85rem 1rem;
  text-decoration: none;
  font-weight: 700;
  color: #111;

  border-bottom: 4px solid #111;
  border-radius: 12px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.menu > li > a:hover{
  background-color: orange;
  color: #fff;
  transform: translateY(-1px);
  border-bottom-color: goldenrod;
}

/* =========================
   DROPDOWN (sous-menu)
========================= */
.menu li ul{
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);

  width: 220px;
  display: none;
  flex-direction: column;

  list-style: none;
  margin: 0;
  padding: 0;

  background: #fff;
  border-radius: 0 0 14px 14px;
  overflow: hidden;

  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.20);
  z-index: 2000;
}

.menu li:hover > ul{
  display: flex;
}

.menu li ul li a{
  display: block;
  padding: 0.9rem 1rem;

  text-decoration: none;
  font-weight: 700;
  color: #111;

  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.2s ease, color 0.2s ease;
}

.menu li ul li a:hover{
  background: orange;
  color: #fff;
}

/* =========================
   HEADER SLIDER (haut de page)
========================= */
.header-slider{
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #000;
}

.header-slider .slides{
  width: 100%;
  height: 100%;
  position: relative;
}

.header-slider .slide{
  width: 100%;
  height: 100%;
  object-fit: cover;

  position: absolute;
  inset: 0;

  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.header-slider .slide.active{
  opacity: 1;
}

/* =========================
   VIGNETTE (zones touristiques)
========================= */
.vignette{
  background-color: rgb(241, 138, 87);
  font-family: Arial, sans-serif;
}

.vignette .flex-container{
  display: flex;
  justify-content: center;
  padding: 20px;
}

.vignette .vignette-lieu{
  background-color: #fff;
  height: 205px;
  width: 205px;

  border: 1px solid #000;
  border-radius: 100px;

  margin-right: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.vignette .vignette-lieu:hover{
  opacity: 0.7;
}

.vignette .vignette-lieu img{
  height: 200px;
  width: 220px;
  object-fit: cover;
}

.vignette #zone-affichage{
  background-color: #fff;
  display: flex;

  width: min(900px, 95vw);
  height: 700px;

  margin: 10px auto 0;
  border: 3px solid #333;
  border-radius: 30px;
}

.vignette .detail-lieu{
  display: none;
  width: 700px;
  height: 500px;
  border: 1px solid #000;
}

.vignette .destination{
  font-size: 30px;
  position: absolute;
  margin-right: 30%;
  padding: 10px;
}

.vignette .dest-description{
  font-size: 18px;
  width: 350px;
  position: relative;
  left: 50px;
  top: 80px;
}

.vignette .destination-images{
  width: 400px;
  height: 480px;
  text-align: left;

  margin: 20px;
  padding-top: 80px;
  object-fit: cover;
}

/* =========================
   FOOTER
========================= */
footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  background-color: goldenrod;
  width: 100%;
  padding: 14px 16px;

  box-shadow: 0 -12px 28px rgba(0,0,0,0.12);
}

.copyright{
  font-size: 1.1rem;
  font-weight: 800;
}

/* icônes social */
.social-icon{
  display: flex;
  gap: 0.6rem;

  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icon li{
  border-radius: 50%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-icon a{
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;

  color: #fff;
  text-decoration: none;
}

.social-icon li:hover{
  box-shadow: 0 12px 20px rgba(0,0,0,0.18);
  transform: translateY(-3px) rotate(8deg);
}

.social-icon li:nth-child(1){ background-color:#1877f2; }
.social-icon li:nth-child(2){ background-color:#1da1f2; }
.social-icon li:nth-child(3){ background-color:#ff5700; }
.social-icon li:nth-child(4){ background-color:#e4405f; }
.social-icon li:nth-child(5){ background-color:#cd201f; }

/* =========================
   RESPONSIVE (optionnel mais utile)
========================= */
@media (max-width: 900px){
  .menu{
    flex-wrap: wrap;
    justify-content: center;
  }
  .menu > li{
    flex: 0 0 auto;
  }
  .menu > li > a{
    width: auto;
  }
}
