/* ======== ESTILOS DE LA PÁGINA ======== */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f0f4ff, #e3ebf9);
  margin: 0;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ======== ENCABEZADO ======== */
header {
  text-align: center;
  background: linear-gradient(135deg, #0078ff, #00c6ff);
  color: white;
  padding: 3rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

header h1 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ======== GALERÍA ======== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  flex-grow: 1;
}

.image-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.image-card h2 {
  color: #0078ff;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ======== ENLACES ======== */
.image-card a {
  text-decoration: none;
  color: #0078ff;
  font-weight: 500;
  transition: color 0.2s ease;
}

.image-card a:hover {
  color: #005ecb;
  text-decoration: underline;
}

/* ======== PIE DE PÁGINA ======== */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #0f172a;
  color: white;
  font-size: 0.9rem;
  margin-top: auto;
  letter-spacing: 0.5px;
}
