/* Global Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
  }
  
  .container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  h1, h2, h3 {
    color: #333;
  }
  
  /* Single Project Section */
  .section_single_projet {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    width: 100%;
    padding: 20px;
    background: #eaeaea;
    border-radius: 8px;
  }
  
  .single_projet_container {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    max-width: 1100px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .container_center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .container_info {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }
  
  .photo-image {
    width: 100%;
    border-radius: 8px;
    max-width: 500px; /* Ajustez selon les besoins */
    object-fit: cover;
    overflow: visible;
  }

 /* Separation Line */
hr.separation-line {
    border: 0;
    border-top: 1px solid #ccc;
    width: 60%; /* Définir la largeur à 50% */
    margin: 20px auto; /* Centrer la ligne */
}

  .projet_description {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }
  
  .single_description_date {
    margin-bottom: 15px;
  }
  .single_description_objectif{
    margin-top: 10px;
  }
  .single_categorie_photo,
  .single_description_lien,
  .single_description_objectif,
  .single_description_tache {
    margin-bottom: 10px;
  }
  
  /* Alignments */
  .projet_description h2,
  .single_description_date p {
    margin: 0;
  }
  /* section maquette et lien*/

  .new-cards-section {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

body.dark .card {
    background: var(--nav-color);
    color: var(--text-color);
    box-shadow: 0 0 10px #000;
}
.maquette_title {
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
}
.lien_title {
    text-align: center;
    margin-top: 30px;
}
.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

body.dark .card {
  background: var(--nav-color);
  color: var(--text-color);
  box-shadow: 0 0 10px #000;
}

/* Specific styles for the main project details card */
.main-details-card .container_center,
.main-details-card .container_info {
  margin-bottom: 20px;
}

.main-details-card .container_center img {
  max-width: 70%;
  height: auto;
  border-radius: 8px;
}
/* Responsive styles */
@media (max-width: 790px) {
  .detail_title {
    margin-top: -20px;
    margin-bottom: 25px;
  }
  .single_projet {
    display: flex;
    flex-direction: column;
    flex: 1 1 100%; /* Ajuste la largeur à 100% pour afficher une card par ligne */
    margin-bottom: 20px; /* Ajoute de l'espace entre les cards */
  }
}