/* -------------------------------------------------- */
/* 🖼️ Image de fond + overlay */
/* -------------------------------------------------- */

.bg-image,
.overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay {
  background: rgba(0, 0, 0, 0.15);
}

/* -------------------------------------------------- */
/* 🧱 Header */
/* -------------------------------------------------- */

header {
  padding: 1rem 0 0.5rem;
  text-align: center;
}

header h1 {
  margin: 0.5rem 0;
  font-size: 2rem;
  color: #fff;
}

.menu-toggle {
  display: none;
}

/* -------------------------------------------------- */
/* 📂 Navigation */
/* -------------------------------------------------- */

.main-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  background-color: #e0e0e0;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.nav-links a.active,
.nav-links a:hover {
  background-color: #b0c4de;
}

/* -------------------------------------------------- */
/* 🎞️ Galerie moderne */
/* -------------------------------------------------- */

.photo-gallery {
  display: grid;
  grid-template-columns: 15% 50% 35%;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  align-items: start;
}

/* Miniatures rondes */
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.gallery-thumbnails img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-thumbnails img:hover {
  transform: scale(1.08);
}

.gallery-thumbnails img.active {
  border-color: #2b6cb0;
}

/* -------------------------------------------------- */
/* 🖼️ Image centrale */
/* -------------------------------------------------- */

.gallery-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-main img {
  width: 90%;
  max-height: 55vh;
  object-fit: contain;
  border-radius: 8px;
}

/* Navigation */
.gallery-nav {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.nav-btn {
  padding: 0.5rem 1rem;
  background-color: #2b6cb0;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.nav-btn:hover {
  background-color: #1e4f80;
}

/* -------------------------------------------------- */
/* 📝 Description */
/* -------------------------------------------------- */

.gallery-info {
  background: rgba(255,255,255,0.85);
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  width: 90%;
  max-width: 650px;
  margin-top: 110px;
  margin-left: -1.5rem;
}

.gallery-info h2 {
  margin-bottom: 10px;
  color: #2b6cb0;
}

.gallery-info p {
  line-height: 1.5;
  font-size: 1rem;
}

.info-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0.3rem 0;
}

.info-line i {
  color: #2b6cb0;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.spot-description {
  margin-top: 1rem;
  font-style: italic;
}

/* -------------------------------------------------- */
/* 📱 Responsive */
/* -------------------------------------------------- */

@media (max-width: 900px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-thumbnails {
    grid-template-columns: repeat(6, 80px);
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .gallery-main img {
    max-height: 45vh;
  }

  .gallery-info {
    margin-left: 0;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1000;
  }
}
