:root {
  --color-bg: #06141B;        /* azul negruzco */
  --color-bg-alt: #11212D;    /* azul marino oscuro */
  --color-card: #253745;      /* fondo de cuadros */
  --color-text: #CCD0CF;      /* texto principal */
  --color-subtext: #9BA8AB;   /* texto secundario */
  --color-accent: #4A5C6A;    /* acento */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  /* 🔹 Opción 1: degradado vertical */
  background: linear-gradient(180deg, var(--color-bg), var(--color-bg-alt), var(--color-card), var(--color-subtext), var(--color-text));
  
  /* 🔹 Opción 2: degradado radial (actívala si quieres un efecto circular) */
  /* background: radial-gradient(circle at center, var(--color-card), var(--color-bg)); */

  background-attachment: fixed; /* mantiene el fondo al hacer scroll */
  color: var(--color-text);
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-subtext);
}

.galeria {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.cuadro {
  background: var(--color-card);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cuadro:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.cuadro img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cuadro h3 {
  padding: 15px 20px 5px;
  font-size: 1.2rem;
  color: var(--color-text);
}

.cuadro p {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--color-subtext);
  line-height: 1.4;
}

/* Responsive - tablet */
@media (max-width: 900px) {
  .galeria {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - móvil */
@media (max-width: 600px) {
  .galeria {
    grid-template-columns: 1fr;
  }
  body {
    padding: 10px;
  }
  .cuadro h3 {
    font-size: 1.1rem;
  }
  .cuadro p {
    font-size: 0.9rem;
  }
}

.video-container {
  max-width: 200px;
  margin: 0 auto 40px auto;
  padding: 0 10px;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  display: block;
}
