/* ==================================== */
/* DÉTAIL DU PROJET - STYLES GÉNÉRAUX  */
/* ==================================== */

/* Corps de la page */
body {
    background: #1e1e1e;
    color: #00ff00;
    font-family: sans-serif;
  }
  
  /* Conteneur principal de la page détail */
  .project-detail {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem auto auto auto;
    max-width: 1200px;
  }
  
  /* Style de la carte de détail */
  .detail-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(49, 197, 12, 0.459);
    border-radius: 8px;
    background: rgba(30, 165, 12, 0.123);
    backdrop-filter: blur(6px);
    transition: transform 0.4s ease;
  }
  
  /* Image de détail */
  .detail-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 4px solid rgba(49, 197, 12, 0.459);
  }
  
  /* Contenu principal de la carte détail */
  .detail-content {
    padding: 1rem 2rem;
  }
  
  /* Statut du projet affiché en haut */
  .detail-status {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #00ff00a9;
  }
  
  /* Titre principal de la page détail */
  .project-detail-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #a3fa69;
  }
  
  /* Zone de méta (technologies, catégories, dates) pour le header de détail */
  .detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    /* margin-bottom: 1rem; */
    /* padding: 0.5rem 1rem; */
    background: #1d311066;
    backdrop-filter: blur(10px);
    border-radius: 8px;
  }
  
  .back-link {
    text-decoration: none;
    font-size: 1.2rem;
    color: #00ff00a9;
    transition: color 0.3s ease;
  }
  
  .back-link:hover {
    color: #0cff45d4;
  }
  
  .detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .detail-meta .technologies,
  .detail-meta .categories {
    display: flex;
    gap: 0.5rem;
  }
  
  .meta-label {
    font-size: 1rem;
    margin-right: 0.5rem;
    color: #ccc;
  }
  
 .category-badge {
    background: rgba(15, 178, 53, 0.711);
    color: rgba(4, 33, 3, 0.711);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .tech-badge {
    background: #0a64ff6f;
    color: rgba(4, 33, 3, 0.711);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
  }
  
  /* Dates */
  .dates p {
    margin: 0.2rem 0;
    color: #ccc;
  }
  
  /* Corps de texte de la description */
  .project-body {
    margin-top: 1rem;
    color: #fff;
  }
  
  .project-body h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .project-description {
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  /* Impact, Difficultés, Temps passé */
  .impact-section, .difficulties-section, .time-spent {
    margin-bottom: 1rem;
  }
  
  .impact-section h3,
  .difficulties-section h3 {
    margin-bottom: 0.3rem;
    color: #0cff45d4;
  }
  
  .time-spent p {
    color: #11df11cb;
  }
  
  /* Progression */
  .progress-container {
    margin-top: 1rem;
  }
  
  .progress-label {
    margin-bottom: 0.2rem;
    color: #fff;
  }
  
  .progress-bar {
    background: #ccc;
    border-radius: 4px;
    overflow: hidden;
    height: 10px;
  }
  
  .progress-fill {
    height: 100%;
    background: #0cff45d4;
    transition: width 0.4s ease;
  }
  
  /* Responsive adjustments */
  @media screen and (max-width: 768px) {
    .detail-header {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
   .project-blocks {
  color: #f3f1e7; /* blanc cassé */
}

.project-blocks p,
.project-blocks h1, .project-blocks h2, .project-blocks h3, .project-blocks h4, .project-blocks h5, .project-blocks h6,
.project-blocks li,
.project-blocks figcaption {
  color: #f3f1e7; /* blanc cassé */
}

