/* Styles pour la section d'accueil */
.accueil-container {
  overflow: visible;
  width: 100%;
}

.hero-section {
  height: 100vh;
  overflow: hidden;
}

.background-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.e-hero-title {
  color: white;
  font-size: 150px;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.e-bg-mountains {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -100;
  transition: transform 0.1s ease-out;
}

.e-bg-cloud {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  z-index: 30;
  transition: transform 0.1s ease-out;
  object-fit: cover;
}

.e-bg-cloud-1 {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  z-index: 30;
}

.e-content-section {
  min-height: 100vh;
  background-color: #283024;
  z-index: 29;
  padding: 20px;
}

/*Style pour zone de filtre*/

.region-filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 40px;
}

.filter-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #f5f5f5;
  color: #333;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  z-index: 1000;
}

.filter-btn:hover {
  background-color: #e0e0e0;
}

.filter-btn.active {
  background-color: #FF8C00;
  color: white;
}

/* Style pour carte escape games*/

.egames-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

.egames-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.egame-card {
  position: relative;
  color: white;
  border-radius: 10px;
  overflow: hidden;
}

.egame-card p {
  color: #b5b5b5;
}

.egame-card strong {
  color: #444;
}

.egame-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.egame-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.egame-info {
  margin: 15px 0;
}

.egame-info h2 {
  margin: 10px 0;
  color: #ffffff;
  font-size: 1.2rem;
}


.egame-details-region {
  display: block;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}

.egame-details-duree {
  font-size: 1rem;
  margin-bottom: 20px;
}




.adventure-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #ff8c00;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.adventure-btn:hover {
  background-color: #ff7300;
  color: white;
  text-decoration: none;
}



@media (max-width: 768px) {

  .e-bg-cloud,
  .e-bg-cloud-1 {
    display: none;
  }

  .e-bg-mountains {
    object-fit: cover;
  }

  .e-hero-title {
    font-size: 5rem;
  }

  .egames-grid {
    grid-template-columns: repeat(1, minmax(250px, 1fr));
  }

  .egame-info {
    text-align: center;
  }

  .region-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
  }
}