/* === HERO (vidéo de fond) === */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.video-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.video-background video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 1rem;
  width: 90%;
  max-width: 800px;
  z-index: 1;
}

.overlay-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.overlay-content h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.cta-button {
  padding: 1rem 2rem;
  background: #4CAF50;
  color: white;
  font-weight: bold;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
  background: #45a049;
  transform: scale(1.05);
}


/* === SERVICES === */
.services {
  padding: 5rem 2rem;
  background: #fff;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  color: #2e3d2f;
  margin-bottom: 3rem;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  width: 320px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease;
}

.hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.service-card:hover .hover-img {
  opacity: 1;
}

.service-card:hover .default-img {
  opacity: 0;
}

.service-overlay {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: white;
  padding: 2rem 1rem;
  width: 100%;
  text-align: left;
}

.service-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-overlay p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.btn {
  background: rgba(255, 255, 255, 0.85);
  color: #2e3d2f;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: white;
}


/* === CAROUSEL === */

.paysage-carousel {
  padding: 5rem 2rem;
  text-align: center;
  background: #f7f9f7;
  position: relative;
  font-family: 'Segoe UI', sans-serif;
}

.paysage-carousel h2 {
  font-size: 2rem;
  color: #2e3d2f;
  margin-bottom: 2rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track img {
  min-width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-btn svg {
  stroke: white;
  transition: stroke 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(76, 175, 80, 0.9); /* Vert Jolly */
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:hover svg {
  stroke: #fff;
}

/* Position */
.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

/* === CONTACT === */
.contact {
  background: #f7f9f7;
  padding: 5rem 2rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #2e3d2f;
}

.contact p {
  font-size: 1.1rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.contact-option {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  max-width: 400px;
  transition: transform 0.3s ease;
}

.contact-option:hover {
  transform: translateY(-5px);
}

.contact-option h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1c2c23;
}

.contact-option p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.contact-option .btn {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  background: #4CAF50;
  color: white;
  transition: background 0.3s ease;
}

.contact-option .btn:hover {
  background: #388e3c;
}

.secondary-btn {
  background: #fff;
  color: #4CAF50;
  border: 2px solid #4CAF50;
}

.secondary-btn:hover {
  background: #4CAF50;
  color: #fff;
}


/* === RESPONSIVE === */
@media (max-width: 768px) {
  .overlay-content h1 {
    font-size: 2rem;
  }

  .overlay-content h2 {
    font-size: 1.2rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .contact-options {
    flex-direction: column;
  }

  .service-grid {
    flex-direction: column;
    align-items: center;
  }
}
