:root {
  --violeta: #6A0DAD;
  --gris-oscuro: #1E1E1E;
  --rojo: #C1121F;
  --blanco: #FFFFFF;
  --font-title: 'Shadows Into Light', cursive;
  --font-body: 'Poppins', sans-serif;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--blanco);
  background-color: var(--gris-oscuro);
  line-height: 1.6;
}

.hero {
  text-align: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, var(--violeta) 0%, var(--gris-oscuro) 100%);
}

.hero-logo {
  max-width: 150px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--blanco);
}

.subtitle {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.dates {
  color: var(--rojo);
  font-weight: 600;
  margin: 1rem 0;
}

.cta {
  display: inline-block;
  background-color: var(--rojo);
  color: var(--blanco);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  transition: 0.3s;
}
.cta:hover {
  background-color: var(--violeta);
}

/* Sección sobre */
.sobre {
  text-align: center;
  padding: 3rem 1.5rem;
  background-color: var(--gris-oscuro);
}

.sobre h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--violeta);
  margin-bottom: 1.5rem;
}

.sobre p {
  max-width: 700px;
  margin: 0 auto 1rem;
}

.fechas-lugares {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--rojo);
}

/* Colaboradores */
.colaboradores {
  background-color: #2a2a2a;
  padding: 3rem 1.5rem;
  text-align: center;
}

.colaboradores h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--violeta);
  margin-bottom: 2rem;
}

.logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.logos img {
  max-width: 120px;
  transition: transform 0.3s ease;
}
.logos img:hover {
  transform: scale(1.1);
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #111;
}

.footer p {
  margin-bottom: 0.5rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.socials img {
  width: 28px;
  filter: invert(100%);
  transition: transform 0.3s ease;
}

.socials img:hover {
  transform: scale(1.2);
}

.copy {
  font-size: 0.9rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .sobre h2, .colaboradores h2 {
    font-size: 1.8rem;
  }
}

.programa {
  margin-top: 3rem;
  text-align: center;
}

.programa h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--violeta);
  margin-bottom: 1rem;
}

/* ================================
   TABLA PRINCIPAL (escritorio)
   ================================ */

.tabla-programa {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  position: relative;
  border-radius: 10px;
}

/* Indicador visual de desplazamiento */
.tabla-programa::after {
  /*content: "⇆ Desliza para ver todos los días";*/
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 0.8rem;
  color: #aaa;
  opacity: 0.8;
  pointer-events: none;
}

table {
  min-width: 700px;
  width: 100%;
  border-collapse: collapse;
  background-color: #2a2a2a;
  color: var(--blanco);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.9rem;
}

th, td {
  border: 1px solid #444;
  padding: 0.75rem;
  text-align: center;
  vertical-align: middle;
}

th {
  background-color: var(--violeta);
  color: var(--blanco);
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background-color: #222;
}

.estreno {
  color: var(--blanco);
  font-weight: 600;
}

.vacio {
  color: #777;
  opacity: 0.7;
}

/* ================================
   VERSIÓN AGENDA (móvil)
   ================================ */

.agenda-mobile {
  display: none;
  margin-top: 2rem;
  text-align: left;
}

.agenda-mobile .dia {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.agenda-mobile h4 {
  font-family: var(--font-title);
  color: var(--violeta);
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.agenda-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.agenda-mobile li {
  border-left: 3px solid var(--rojo);
  padding: 0.4rem 0.8rem;
  margin-bottom: 0.4rem;
  background-color: #1e1e1e;
  border-radius: 6px;
  font-size: 0.9rem;
}

.agenda-mobile .estreno {
  color: var(--blanco);
  font-weight: 600;
}

/* ================================
   MEDIA QUERIES RESPONSIVE
   ================================ */

@media (max-width: 768px) {
  /* Ocultar tabla, mostrar agenda */
  .tabla-programa {
    display: none;
  }

  .agenda-mobile {
    display: block;
  }

  .programa h3 {
    font-size: 1.5rem;
  }

  th, td {
    padding: 0.6rem;
    font-size: 0.8rem;
  }

  table {
    min-width: 650px;
  }
}

@media (min-width: 769px) {
  /* Ocultar agenda en escritorio */
  .agenda-mobile {
    display: none !important;
  }
}

tbody tr:nth-child(even) {
  background-color: #222;
}

.estreno {
  color: var(--blanco);
  font-weight: 600;
}

.vacio {
  color: #777;
  opacity: 0.7;
}

.notas {
  margin-top: 1.5rem;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
}

.notas ul {
  margin-left: 1.2rem;
}

.notas li {
  margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
  table {
    font-size: 0.8rem;
  }

  th, td {
    padding: 0.6rem;
  }

  th:first-child, td:first-child {
    text-align: center;
  }
}

/* ================================
   Aviso: Entrada libre
   ================================ */
.entrada-libre {
  background-color: var(--gris-oscuro);
  color: var(--blanco);
  text-align: center;
  padding: 2rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.entrada-libre h2 {
  font-family: var(--font-title);
  color: var(--blanco);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.entrada-libre p {
  font-family: var(--font-body);
  font-size: 1rem;
  margin: 0.3rem 0;
  line-height: 1.5;
}

/* ================================
   Botón "Conoce más" fuera del header
   ================================ */
.conoce-mas {
  display: inline-block;
  background-color: var(--rojo);
  color: var(--blanco);
  font-weight: 600;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 2rem;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;

  /* Centrado horizontal y visual destacado */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 2rem 0 3rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10; /* asegura que esté "al frente" */
}

.conoce-mas:hover {
  background-color: #b30000;
  transform: translateX(-50%) scale(1.03);
}

.conoce-mas:active {
  transform: translateX(-50%) scale(0.97);
}




/* ================================
   Sección: Proyecciones online
   ================================ */
.online {
  background-color: #2a2a2a;
  color: var(--blanco);
  text-align: center;
  padding: 3rem 1.5rem;
  margin-top: 2rem;
}

.online h2 {
  font-family: var(--font-title);
  color: var(--violeta);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.online p {
  font-family: var(--font-body);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

/* ================================
   Botón dentro de "Proyecciones online"
   ================================ */
.btn-online {
  display: inline-block;
  background-color: var(--rojo);
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  margin-top: 1.5rem;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-online:hover {
  background-color: #b30000;
  transform: scale(1.05);
}

/* ================================
   Separador entre secciones
   ================================ */
.separator {
  width: 60%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 3rem auto;
  border: none;
}

