/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === HEADER === */
header {
  height: 90px;
  background-color: white;
  margin: 0 auto;
  padding: 0 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 70px;
  margin-left: 10px;
}

header h1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  color: #05C49F;
  margin-left: -170px;
}

/* === NAVIGATION === */
nav {
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

header nav ul li {
  margin-right: 10px;
  font-family: sans-serif;
  font-weight: bold;
  font-family: "Times New Roman", Times, serif;
}

nav a {
  text-decoration: none;
  color: #05C49F;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  background-color: white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* === GLOBAL === */
body {
  font-family: 'Arial', sans-serif;
  color: #333;
}

.global-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  background-color:white;
}

/* === TITRES === */
h1 {
  text-align: center;
  margin: 40px 0;
  color: #222;
}

.group-title {
  font-size: 1.5em;
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}

/* === PROJETS === */
.project-group {
  max-width: 1000px;
  margin: 0 auto 40px;
}

.project-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project {
  flex: 1 1 45%;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.project:hover {
  transform: scale(1.02);
}

.project img {
  width: 100%;
  height: 350px; /* Hauteur uniforme */
  object-fit: cover; /* Recadre sans déformer */
  display: block;
}

/* === SLIDESHOW === */
.slideshow-container {
  max-width: 800px;
  margin: 60px auto;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: 500px; /* ou une hauteur qui te convient (ex : 300px, 350px) */
  object-fit: cover;
  display: block;
}

/* === SECTION DE FIN === */
.fin {
  text-align: center;
  background-color: #05C49F;
  font-size: 20px;
  padding: 20px;
  margin-top: 40px;
  color: white;
  font-family: "Times New Roman", Times, serif;
}

/* === CAROUSEL PARTENAIRES === */
.carousel {
  width: 100%;
  overflow: hidden;
  margin-top: 30px;
}

.carousel-track-container {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  animation: scroll 20s linear infinite;
}

.carousel-item {
  flex: 0 0 auto;
  margin-right: 20px;
}

.carousel-item img {
  width: 100px;
  height: auto;
}

/* === ANIMATION CAROUSEL === */
@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* === FOOTER === */
footer {
	font-family: "Times New Roman", Times, serif;
	background-color: #333;
	color: white;
	padding: 20px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-info{
  width: 45%;
}

.footer-links{
  width: 15%;
}

.footer-contacts {
  width: 30%;
}

.footer-info h2, .footer-links h2, .footer-contacts h2 {
  color: #ffcc00;
}

.footer-links ul {
  list-style-type: none;
  padding: 0;
}

.footer-links ul li {
  margin: 5px 0;
}

.footer-links ul li a {
  text-decoration: none;
  color: white;
}

.footer-links ul li a:hover {
  color: #ffcc00;
}

footer a {
  color: white;
}

footer a:hover {
  color: #ffcc00;
}

.location-icon {
    color: white; /* Change la couleur de l'icône en bleu */
    font-size: 25px; /* Tu peux aussi ajuster la taille de l'icône */
    margin-top: 20px;
}

.location-icons {
    color: white; /* Change la couleur de l'icône en bleu */
    font-size: 25px; /* Tu peux aussi ajuster la taille de l'icône */
    margin-top: 15px;
}

.phone-icon {
    color: white; /* Couleur de l'icône */
    font-size: 25px; /* Taille de l'icône */
    margin-top: 15px;
}

.email-icon {
    color: white; /* Couleur de l'icône */
    font-size: 25px; /* Taille de l'icône */
    margin-top: 15px;
}

#readMoreBtn {
  background-color: #2a8c82;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#readMoreBtn:hover {
  background-color: #20665f;
}

.email-button {
  display: inline-block;
  background-color: #05C49F;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.email-button:hover {
  background-color: #049e85;
}