/* Global Styles */
body {
  font-family: 'Abel', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #333;
}

/* Projects Section */
.projects-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  position: relative;
  padding-bottom: 1rem;
}

.section-title2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
}

/* Project Container */
.project-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.project-container:hover {
  transform: translateY(-5px);
}

/* Project Content */
.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.project-description {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.project-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.project-description ul {
  list-style-type: none;
  padding: 0;
}

.project-description li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1rem;
  color: #34495e;
}

.project-description li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #3498db;
}

/* Documents Section */
.documents-section {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.documents-section h4 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Document Card */
.document-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.document-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--random-color-1, rgba(52, 152, 219, 0.1)), var(--random-color-2, rgba(46, 204, 113, 0.1)));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.document-card:hover::before {
  opacity: 1;
}

.document-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.document-card:hover .document-icon {
  transform: scale(1.1);
}

.document-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

/* Download Button */
.download-button {
  background: linear-gradient(135deg, #3498db, #2ecc71);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.download-button:active {
  transform: translateY(0);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.modal-content h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.modal-content p {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #666;
}

.modal-content input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.modal-content button {
  width: 100%;
  padding: 0.8rem;
  background: linear-gradient(135deg, #3498db, #2ecc71);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.modal-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Contact Section */
.contact-section {
  background-color: #1a237e;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.btn-reseau-contact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-home {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.btn-home:hover {
  transform: scale(1.1);
}

.btn-home img {
  width: 30px;
  height: 30px;
}

.legal-links {
  margin-top: 2rem;
}

.legal-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-links a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-content {
    grid-template-columns: 1fr;
  }

  .section-title2 {
    font-size: 2rem;
  }

  .project-container {
    padding: 1.5rem;
  }

  .documents-grid {
    grid-template-columns: 1fr;
  }

  .btn-reseau-contact {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .projects-section {
    padding: 2rem 1rem;
  }

  .section-title2 {
    font-size: 1.8rem;
  }

  .project-description,
  .documents-section {
    padding: 1rem;
  }

  .document-card {
    padding: 1rem;
  }

  .download-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .contact-section {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
} 