@charset "UTF-8";

/* ===========================
   POLICES
=========================== */
@font-face {
  font-family: 'QTBasker';
  src: url('QTBasker.ttf') format('truetype'),
       url('QTBasker Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

/* ===========================
   GLOBAL
=========================== */
html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: 'QTBasker Regular', sans-serif;
  color: #333;
  background: #fff;
}

h2 {
  text-align: center;
  margin: 50px 0 20px;
  color: #5a3c3c;
}

.section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

/* ===========================
   HEADER STICKY + NAVIGATION
=========================== */
#main-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 15px 50px;
  width: 100%;
  transition: all 0.4s ease, background-color 0.4s ease, opacity 0.4s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  opacity: 1;
  position: relative;
}

#main-header.shrink {
  padding: 8px 40px;
  opacity: 0.95;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.logo {
  height: 70px;
  flex-shrink: 0;
  transition: height 0.4s ease;
}

#main-header.shrink .logo {
  height: 50px;
}

nav ul {
  display: flex;
  justify-content: flex-end; /* alignement à droite */
  flex-wrap: wrap;
  gap: 30px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


nav li {
  list-style: none;
  margin: 0 15px;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
}
nav a {
  font-family: 'QTBasker Regular', sans-serif;
  text-decoration: none;
  color: #5a3c3c;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s, transform 0.2s;
}

nav a:hover {
  color: #b07b5a;
  transform: translateY(-2px);
}
#burger-menu {
  display: none;
  z-index: 10000
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #5a3c3c;
  position: relative; /* nécessaire pour z-index */
  left: 0; /* positionne au départ sur la gauche */
  z-index: 10000;
  padding: 0 10px; /* un peu d'espace autour */
}

@media (max-width: 768px) {
  #burger-menu {
    display: block;
  }
  nav ul {
    display: none; /* menu caché par défaut */
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 65px; /* ajuster selon taille de header */
    right: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  nav ul.open {
    display: flex;
  }
}

/* ===========================
   SECTION BULLES
=========================== */
#bulle-menu {
  position: relative;
  width: 100%;
  height: 520px;
  background-color: #f6f3ef;
  overflow: hidden;
  display: block;
}

.bulle {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'QTBasker Regular', serif;
  font-size: 1.2em;
  font-weight: 700;
  text-transform: uppercase;
  color: #2e2e2e;
  text-decoration: none;
  border-radius: 60% 40% 50% 70% / 50% 60% 40% 60%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  margin-top: 90px;
  text-align: center;
  padding: 10px;
}

.bulle strong {
  font-weight: 700;
}

.bulle:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* === Palette et disposition === */
.bulle1 { background-color: rgb(185,132,97); width: 180px; height: 150px; top: 60px; left: 18%; }
.bulle2 { background-color: rgb(162,166,162); width: 150px; height: 130px; top: 190px; left: 30%; }
.bulle3 { background-color: rgb(190,160,120); width: 200px; height: 170px; top: 100px; left: 42%; }
.bulle4 { background-color: rgb(227,211,198); width: 170px; height: 140px; top: 240px; left: 56%; }
.bulle5 { background-color: rgb(178,154,137); width: 190px; height: 160px; top: 70px; left: 63%; }

@media (max-width: 768px) {
  #bulle-menu {
	display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 100px 0;
  }
  .bulle {
    position: relative;
    width: 140px;
    height: 120px;
    margin: 10px 0;
    left: auto !important; /* annule les décalages gauche */
    top: auto !important;
  }
}

/* ===========================
   GALLERY SLIDER
=========================== */
.gallery-slider {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 10px;
  padding: 0 40px;
}

.gallery-track img {
  height: 200px;
  width: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-track img:hover { transform: scale(1.05); }

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(255,255,255,0.8);
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
  border-radius: 50%;
}
.arrow.left { left: 10px; }
.arrow.right { right: 10px; }

/* ===========================
   LIGHTBOX
=========================== */
#lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

#lightbox.active { display: flex; }

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lb-close, .lb-nav {
  background: none;
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  position: absolute;
}

.lb-close { top: 20px; right: 30px; }
.lb-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 30px; top: 50%; transform: translateY(-50%); }

/* ===========================
   SECTIONS IMAGE + TEXTE
=========================== */
.image-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  flex-wrap: wrap;
  gap: 40px;
}
.image-text.reverse { flex-direction: row-reverse; }
.image-text img { max-width: 400px; width: 100%; border-radius: 10px; }
.text { max-width: 500px; }

/* ===========================
   MAP
=========================== */
.map-section {
  padding: 50px 20px;
  text-align: center;
}
.map-container {
  margin: 20px auto;
  width: 90%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background-color: #f9f4f2;
  color: #333;
  padding: 40px 20px 10px;
  text-align: center;
}
.footer-container h2 {
  color: #5a3c3c;
  margin-bottom: 20px;
  font-family: 'QTBasker Regular', sans-serif;
}
.contact-line {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s;
}
.contact-item:hover { transform: translateY(-3px); }
.contact-item img {
  width: 30px;
  height: 30px;
}
.footer-bottom {
  font-size: 0.9em;
  color: #777;
}
