/* =========================
   BASE PREMIUM
========================= */
body {
  margin: 0;
  font-family: "Nunito", sans-serif;

  /* Fondo más sofisticado */
  background: radial-gradient(
    circle at top,
    #3a7f8c,
    #2b5e66 40%,
    #1e1b25 100%
  );
  color: #e3f2f9;
}

/* CONTENEDOR */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 90px 20px 50px;
}

/* =========================
   HEADER DE PROYECTO
========================= */
h1 {
  text-align: center;
  font-size: 46px;
  margin-bottom: 8px;
  color: #bcfbc6;
  letter-spacing: 1px;
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.subtitle {
  text-align: center;
  font-size: 18px;
  color: #e3f2f9;
  opacity: 0.8;
  margin-bottom: 60px;
}

/* =========================
   DESCRIPCIÓN (GLASS CARD)
========================= */
.description {
  background: rgba(30, 27, 37, 0.65);
  border: 1px solid rgba(112, 199, 218, 0.25);
  border-radius: 20px;

  padding: 32px;
  margin-bottom: 70px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

/* TEXTO */
.description p {
  font-size: 16px;
  line-height: 1.7;
  color: #e3f2f9;
  opacity: 0.9;
}

/* TAG DE ROL */
.role {
  margin-top: 18px;
  display: inline-block;

  background: linear-gradient(135deg, #bcfbc6, #70c7da);
  color: #1e1b25;

  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* =========================
   SECCIONES (CARD ELEVADA)
========================= */
.section {
  margin-bottom: 80px;
  padding: 25px;
  border-radius: 18px;

  background: rgba(30, 27, 37, 0.45);
  border: 1px solid rgba(112, 199, 218, 0.15);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* TITULOS */
.section-title {
  font-size: 22px;
  color: #bcfbc6;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* IMAGEN */
.section img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;

  border-radius: 16px;
  border: 1px solid rgba(112, 199, 218, 0.25);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  transition: 0.4s ease;
}

.section img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* TEXTO */
.section p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #e3f2f9;
  opacity: 0.85;
}

/* =========================
   BOTÓN BACK
========================= */
.btn-back {
  position: fixed;
  top: 20px;
  left: 20px;

  padding: 10px 18px;
  border-radius: 12px;

  background: rgba(188, 251, 198, 0.9);
  color: #1e1b25;

  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: 0.3s ease;
}

.btn-back:hover {
  background: #70c7da;
  transform: translateY(-2px);
}

/*modal de ver imagen en grande */
/* =========================
   MODAL IMAGEN PRO
========================= */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 27, 37, 0.95); /* tu paleta #1E1B25 */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* imagen grande */
.modal img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: 0.3s ease;
}

/* cuando se abre */
.modal.show {
  display: flex;
}

/* =========================
   BOTÓN CERRAR (X PRO)
========================= */

.modal .close {
  position: absolute;
  top: 20px;
  right: 25px;

  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  font-weight: bold;

  color: #bcfbc6; /* verde de tu paleta */

  background: rgba(53, 111, 120, 0.25); /* #356f78 con transparencia */
  border: 2px solid rgba(188, 251, 198, 0.6);

  border-radius: 12px; /* esquinas redondeadas */
  cursor: pointer;

  backdrop-filter: blur(6px);

  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* hover elegante */
.modal .close:hover {
  background: #70c7da;
  color: #1e1b25;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 10px 25px rgba(112, 199, 218, 0.5);
}

/* click efecto */
.modal .close:active {
  transform: scale(0.95) rotate(90deg);
}

/* efecto hover en imágenes */
.section img {
  cursor: pointer;
  transition: 0.3s ease;
}

.section img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* =========================
   FOOTER GENERAL (FULL WIDTH)
========================= */
.footer {
  width: 100%;
  position: relative;
  color: white;
  overflow: hidden;
}

/* =========================
   FONDO (IMAGEN)
========================= */
.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;

  background: url("../images/footer.png") no-repeat center;
  background-size: cover;

  z-index: 0;
}

/* =========================
   CONTENIDO CENTRADO
========================= */
.footer-content {
  position: relative;
  z-index: 1;

  max-width: 1200px;
  margin: 0 auto;
  height: 220px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* =========================
   LOGO
========================= */
.footer-logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

/* HOVER LOGO */
.footer-logo img:hover {
  transform: scale(1.1) translateY(-3px);
  filter: drop-shadow(0 0 12px #b7f0b6);
}

/* =========================
   LÍNEA + REDES
========================= */
.footer-line-container {
  position: relative;
  width: 70%;
  margin: 15px 0;
}

/* LÍNEA (VISIBLE) */
.footer-line {
  width: 100%;
  height: 2px;
  background: white;
  opacity: 0.8;
}

/* REDES SOBRE LA LÍNEA */
.footer-social {
  position: absolute;
  right: 10px;
  top: -12px;

  display: flex;
  gap: 20px;
}

/* ÍCONOS */
.footer-social a {
  color: white;
  font-size: 22px;
  transition: 0.3s ease;
}

/* HOVER ÍCONOS */
.footer-social a:hover {
  transform: scale(1.2);
  color: var(--accent-light);
  text-shadow: 0 0 10px var(--accent-light);
}

/* =========================
   TEXTO
========================= */
.footer-copy {
  font-size: 14px;
  width: 70%;
  text-align: right;
}
