/* ========== RESET BÁSICO ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0e0f0e;
  color: #e0e0e0;
  line-height: 1.7;
}

/* ========== CONTENEDOR GENERAL ========== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ========== HEADER DEL PROYECTO ========== */
.project-header {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(to bottom, #1b1d1b, #0e0f0e);
  border-bottom: 1px solid #2d2d2d;
}

.project-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fafafa;
  margin-bottom: 10px;
}

.project-header p {
  font-size: 1.1rem;
  color: #c8c8c8;
  max-width: 700px;
  margin: auto;
  opacity: 0.9;
}

/* ========== SECCIONES DEL PROYECTO ========== */
.project-section {
  padding: 60px 0;
}

.project-section h2 {
  font-size: 2rem;
  color: #8fbf7a; /* Verde natural */
  margin-bottom: 20px;
  font-weight: 600;
}

.project-description {
  font-size: 1.05rem;
  color: #d4d4d4;
  margin-bottom: 25px;
  line-height: 1.8;
}

/* ========== GALERÍA DE IMÁGENES ========== */
.gallery {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  transition: transform 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.04);
  filter: brightness(1.1);
}

/* ========== BOTÓN VOLVER ========== */
.back-section {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid #2b2b2b;
}

.back-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1.1rem;
  color: #8fbf7a; /* Verde suave */
  text-decoration: none;
  border: 2px solid #8fbf7a;
  border-radius: 6px;
  transition: 0.3s ease;
}

.back-btn:hover {
  background: #8fbf7a;
  color: #0f0f0f;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .project-header h1 {
    font-size: 2.2rem;
  }

  .project-section h2 {
    font-size: 1.7rem;
  }

  .project-description {
    font-size: 1rem;
  }

  .back-btn {
    font-size: 1rem;
    padding: 10px 22px;
  }
}
