/* ===== PamSTEM estilos actualizados ===== */

/* Fuente y fondo general */
body {
  font-family: 'Quicksand', sans-serif;
  background-color: #ffffff;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Encabezado */
header {
  background-color: #c4a7e7; /* lila suave */
  color: white;
  text-align: center;
  padding: 20px;
  border-bottom: 4px solid #d4af37; /* línea dorada */
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

/* Navegación */
nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Secciones */
section {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

/* Títulos */
h2, h3 {
  color: #5e4b8b; /* morado oscuro */
  margin-top: 0;
}

/* Botones principales */
a.boton, .btn-pamsteam {
  display: inline-block;
  padding: 12px 24px;
  background-color: #e89982; /* damasco */
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

a.boton:hover, .btn-pamsteam:hover {
  background-color: #d87e6f;
}

/* Artículos del blog */
article {
  background-color: #f5f5f5; /* gris claro */
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background-color: #c4a7e7;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}
.btn-lila {
  display: inline-block;
  padding: 12px 24px;
  background-color: #c4a7e7; /* lila suave */
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  transition: background-color 0.3s ease;
}

.btn-lila:hover {
  background-color: #a987d9; /* lila más oscuro al pasar el mouse */
}
.boton-lila {
  display: inline-block;
  background-color: #c8a2c8; /* lila suave */
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(200, 162, 200, 0.4);
}

.boton-lila:hover {
  background-color: #b07ab0; /* tono lila más oscuro */
  transform: translateY(-3px);
}

.botones-principales {
  text-align: center;
  margin-top: 40px;
}
.extra-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.extra-button {
  background-color: var(--lila-oscuro);
  color: var(--blanco);
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.extra-button:hover {
  background-color: var(--lila-suave);
  color: var(--lila-oscuro);
  transform: scale(1.05);
}
#video-pamstem {
  background-color: #f9f0fb;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(150, 90, 180, 0.15);
  margin-bottom: 2rem;
  text-align: center;
}

#video-pamstem h2 {
  color: #8b45c6;
  margin-bottom: 1rem;
}

#video-pamstem p {
  font-size: 1.1rem;
  color: #5e3d8a;
  margin-bottom: 1.8rem;
}

.video-container {
  display: flex;
  justify-content: center;
}

.video-wrapper {
  width: 100%;
  max-width: 500px; /* más grande pero controlado */
  aspect-ratio: 9 / 16; /* mantiene forma vertical */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.video-container {
  display: flex;
  justify-content: center;
}
/* Contenedor de los 2 cuadros */
.cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  flex-wrap: wrap;
  max-width: 900px;
}

/* Enlaces completos como tarjetas */
.card-link {
  text-decoration: none;
  width: 100%;
  max-width: 400px;
}

/* Tarjetas visuales */
.card {
  background: #c4a7e7; /* lila suave sólido */
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 0 18px rgba(196, 167, 231, 0.9); /* efecto luces LED */
}

/* Hover: animación */
.card:hover {
  transform: scale(1.05);
}

/* Título dentro de tarjeta */
.card h3 {
  margin-bottom: 10px;
  color: white; /* título blanco */
  font-size: 1.4rem;
}

.card p {
  color: #ffffffcc; /* texto blanco suave */
  font-size: 1rem;
  line-height: 1.4;
}
/* Sección Proyectos Tecnológicos */
.proyectos-tec {
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f5fc;
  margin-top: 40px;
  border-top: 3px solid #c084fc;
}

.proyectos-tec h2 {
  color: #7e22ce;
  font-size: 2rem;
  margin-bottom: 10px;
}

.proyectos-tec .subtexto {
  color: #5b3a8e;
  font-size: 1.1rem;
  margin-bottom: 40px;
  font-weight: 500;
}

.grid-proyectos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.proyecto-card {
  background: #fff;
  border: 2px solid #e9d5ff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(124,58,237,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proyecto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(124,58,237,0.2);
}

.proyecto-card h3 {
  color: #7e22ce;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.proyecto-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
}

