/* ===== ESTILOS COMUNES — tiempos.php + espectaculos.php ===== */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

@font-face {
  font-family: 'Goudy';
  src: url('../fonts/goudycataloguedcdot-regu-webfont.woff2') format('woff2'),
       url('../fonts/goudycataloguedcdot-regu-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Germania';
  src: url('../fonts/GermaniaOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/RobotoCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-parque: #851f23;
  --color-gold:   #7c5f17;
}

body {
  background: url('../img/fd.jpg') repeat;
  background-color: #e9dccd;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  color: #333;
  text-align: center;
}

/* ---- Navegación entre páginas hermanas (tiempos ↔ espectáculos) ---- */
.nav-paginas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px auto 30px;
  padding: 0 16px;
  background: none;
  box-shadow: none;
}

.nav-pagina {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .85rem;
  font-family: 'Goudy', serif;
  font-size: .88rem;
  letter-spacing: .07em;
  color: var(--color-parque);
  text-decoration: none;
  border: 1.5px solid rgba(133,31,35,.4);
  border-radius: 20px;
  background: rgba(255,255,255,.55);
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}

.nav-pagina i   { font-size: .85rem; letter-spacing: 0; }
.nav-pagina svg { width: 14px; height: 14px; stroke-width: 2; vertical-align: middle; flex-shrink: 0; }

.nav-pagina.activo {
  background: var(--color-parque);
  border-color: var(--color-parque);
  color: #fff;
  cursor: default;
  pointer-events: none;
}

.nav-pagina:not(.activo):hover {
  background: rgba(133,31,35,.1);
  border-color: var(--color-parque);
}

/* ---- Pie de página (aviso legal / informativo) ---- */
.aviso-legal {
  width: 90%;
  max-width: 720px;
  margin: 2rem auto 1.5rem;
  font-size: .85rem;
  color: #7a5c3a;
  font-family: 'Roboto Condensed', sans-serif;
  line-height: 1.5;
  text-align: left;
}
.aviso-legal p { margin: 0 0 .5rem; }
.aviso-legal p:last-child { margin-bottom: 0; }

/* Separador de sombra entre secciones */
.sombra,
.sombra-separador {
  background: url('../img/sombra-modulos.png') no-repeat center top;
  background-size: contain;
  height: 25px;
  margin: 0 auto;
}

/* Animación de entrada */
@keyframes fadeInAtraccion {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- HEADER (compartido: espectáculos, restaurantes) ---- */
.site-header {
  text-align: center;
  padding: 0 0 5px;
}

.site-header .logo {
  height: 60px;
  width: auto;
  margin: 10px 0 5px 0;
}

.titulo-programa {
  font-family: 'Goudy', serif;
  font-size: 2em;
  font-weight: bold;
  line-height: 1.1;
  color: var(--color-parque);
  margin: 5px 0 2px;
}

.subtitulo-fecha {
  font-family: 'Goudy', serif;
  font-size: 1.30rem;
  color: var(--color-gold);
  letter-spacing: .04em;
  margin-bottom: 8px;
}

/* ---- NAV TABS (compartido) ---- */
.nav-tabs {
  display: flex;
  width: 96%;
  max-width: 960px;
  margin: 8px auto;
  gap: 6px;
  padding: 5px;
  background: rgba(255,255,255,.65);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.nav-tab {
  flex: 1;
  padding: .55rem 1rem;
  font-family: 'Goudy', serif;
  font-size: 1.05rem;
  color: #777;
  cursor: pointer;
  border: none;
  background: transparent;
  border-radius: 7px;
  transition: background .2s, color .2s, box-shadow .2s;
  letter-spacing: .05em;
}

.nav-tab.activo {
  background: var(--color-parque);
  color: #fff;
  box-shadow: 0 2px 8px rgba(133,31,35,.35);
}

/* ---- SECCIONES (compartido) ---- */
.seccion { display: none; }
.seccion.visible { display: block; }

/* ---- GRUPO ZONA/TIPO (compartido) ---- */
.grupo-tipo,
.grupo-zona {
  background: color-mix(in srgb, var(--color-tipo, var(--color-parque)) 6%, #fff);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  padding: 15px 15px 12px;
  width: 96%;
  max-width: 1500px;
  margin: 5px auto 0;
}

.grupo-encabezado {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: .75rem;
}

/* ---- TARJETAS (compartido) ---- */
.tarjetas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
