.installation-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.installation-header {
  text-align: center;
  margin-bottom: 50px;
}

.installation-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--light-text);
}

.swiper {
  width: 100%;
  padding-bottom: 70px;
}

.swiper-slide {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  height: auto;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.swiper-slide-active {
  transform: scale(1.02);
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--text-color);
  font-weight: 600;
}

.step-description {
  color: var(--light-text);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.5;
}

.step-image {
  margin-top: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  background-color: #f5f5f5;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.step-image img:hover {
  transform: scale(1.05);
}

.swiper-pagination {
  bottom: 10px !important;
}

.swiper-pagination-bullet {
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-size: 12px;
  color: #000;
  opacity: 1;
  background: #ddd;
  margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
  color: #fff;
  background-color: var(--primary-color);
  font-weight: bold;
}

.installation-note {
  background-color: #f1f8e9;
  border-left: 4px solid var(--accent-color);
  padding: 15px 20px;
  margin-top: 40px;
  border-radius: 0 4px 4px 0;
  color: #33691e;
  font-size: 0.95rem;
  line-height: 1.6;
}

.installation-note strong {
  color: #2e7d32;
}

/* Styles pour la visionneuse d'images en plein écran */
.image-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-viewer.active {
  opacity: 1;
  visibility: visible;
}

.image-viewer-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.image-viewer-container img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.image-viewer-close {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.image-viewer-close:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 992px) {
  .step-image {
    height: 200px;
  }
  
  .swiper-pagination-bullet {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 10px;
  }
  
  .image-viewer-close {
    top: -30px;
    right: -10px;
  }
}

@media (max-width: 768px) {
  .installation-section {
    padding: 60px 0;
  }
  
  .swiper {
    padding-bottom: 60px;
  }
  
  .step-image {
    height: 180px;
  }
  
  .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 9px;
    margin: 0 3px !important;
  }
}

@media (max-width: 576px) {
  .step-image {
    height: 160px;
  }
  
  .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 8px;
    margin: 0 2px !important;
  }
  
  .swiper-slide {
    padding: 20px 15px;
  }
  
  .step-title {
    font-size: 1.1rem;
  }
  
  .step-description {
    font-size: 0.9rem;
  }
  
  .installation-header h2 {
    font-size: 1.5rem;
  }
  
  .installation-header p {
    font-size: 0.9rem;
  }
} 