/*
 Theme Name: Dome Collection
 Theme URI: https://dome-collection.com
 Description: Un thème enfant pour Divi
 Author: TOCLIC 
 Author URI: https://toclic.fr
 Template: Divi
 Version: 1.0.0
*/

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.service-title {
  font-size: 18px;
  margin: 15px 0 10px;
  font-weight: bold;
  color: #222;
}

.service-desc {
  font-size: 14px;
  color: #555;
}

/* Supprime les marges auto des modules */
.et_pb_column.text-inline > .et_pb_module {
  margin: 0 !important;
}


.hebergement-card {
  background: #F6F6F6;
  border-radius: 8px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hebergement-card .image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.hebergement-card .content {
  padding: 20px;
}

.hebergement-card .titre {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.hebergement-card .titre a {
  color: inherit;
  text-decoration: none;
}
.hebergement-card .titre a:hover {
  text-decoration: underline;
}

.hebergement-card .infos {
  font-size: 14px;
  color: #555;
  margin: 0 0 12px;
}

.hebergement-card .destinations {
  margin-top: 10px;
}
.hebergement-card .destinations a {
  display: inline-block;
  background: #fff;
  border-radius: 20px;
  padding: 4px 10px;
  margin: 0 6px 6px 0;
  font-size: 12px;
  text-decoration: none;
  color: #333;
}

.hebergement-card .explorer {
  position: absolute;
  right: 20px;
  bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: underline;
}

/* Bouton Load More */
.load-more-container {
  text-align: center;
  margin-top: 30px;
}

.load-more-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: #555;
}

/* Loader Spinner */
.loader {
  border: 4px solid #f3f3f3; /* Gris clair */
  border-top: 4px solid #333; /* Couleur du spinner */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}