/* Fond de la popup */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  display: flex;
  opacity: 1;
  color: white;
}

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  color: black;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
}

.popup-close-btn {
  background-color: var(--main-color, #2ecc71);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  margin: 1rem auto 0;
}

@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    padding: 1rem;
  }
}


/* SERVICES */

	.backgroundServiceTitle {
		background-color: var(--main-color);
		color: white;
		border: 1px solid var(--main-color);
		padding-left: 10px;
	}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
}

.service h3 {
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.service p {
  margin-bottom: 1rem;
  color: #666;
}

.popup-trigger {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.popup-trigger:hover {
  background-color: var(--main-color);
  color: var(--secondary-color);
}