
.chauffage-header {
    background: url("img/img-chauffage.jpg") center center/cover no-repeat;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .chauffage-header-title {
    font-size: 3em;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  }
  

  .chauffage-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #fff;
  }
  
  .chauffage-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
  }
  
  .chauffage-section p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
  }
  
  .chauffage-section h3 {
    margin-top: 40px;
    font-size: 1.4em;
    color: #444;
  }
  
  .chauffage-section ul {
    margin-left: 20px;
    margin-top: 20px;
    line-height: 1.8;
    color: #555;
    list-style: disc;
  }
  
  .chauffage-section ul li {
    margin-bottom: 10px;
  }
  
  
  .chauffage-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
  }
  
  .gallery-item {
    width: 400px;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  

.modal {
  display: none; 
  position: fixed;
  z-index: 1000; 
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.8); 
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: color 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}

@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}


.modal {
  display: none; 
  position: fixed;
  z-index: 1000; 
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: color 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
}


@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
