:root{
  --accent:#ee5b99;
  --card-bg:#fff;
  --muted:#666;
  --maxw:1100px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:#f8f8f8;
  color:#222;
}

/* HEADER */
header{
  background:var(--accent);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 18px;
  flex-wrap:wrap;
}
header .logo img{height:50px; display:block}
header h1{flex:1 1 300px; text-align:center; margin:0; font-size:1.25rem}
header nav{display:flex; gap:14px; align-items:center}
header nav a{color:#fff; text-decoration:none; font-weight:600}

/* MAIN LAYOUT */
.main-wrap{
  max-width:var(--maxw);
  margin:18px auto;
  padding:0 16px 40px;
}

/* MAP */
#map{
  width:100%;
  height:460px;
  border-radius:10px;
  box-shadow:0 6px 18px rgba(0,0,0,0.06);
  margin-bottom:20px;
}

/* PLACES GRID: 2 columnas (desktop) / 1 columna (mobile) */
.places-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:20px;
}
@media (max-width:900px){
  .places-grid{ grid-template-columns: 1fr; }
  #map{ height:360px; }
}

/* CARD (lugar) */
.place{
  background:var(--card-bg);
  border-radius:10px;
  padding:14px;
  box-shadow:0 6px 12px rgba(0,0,0,0.04);
  border:1px solid rgba(0,0,0,0.03);
}

/* header del lugar (titulo + links) */
.place-header{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; flex-wrap:wrap }
.place-title{ font-size:1.08rem; font-weight:700; color:var(--accent); margin:0 }
.place-links{ display:flex; gap:10px; align-items:center }
.place-links a{ color:#333; text-decoration:none; font-size:1.05rem }
.place-links a:hover{ color:#000 }

.address{ font-size:0.95rem; color:var(--muted); margin:8px 0 10px; }

/* autores */
.authors{ margin-top:10px; padding-top:6px; border-top:1px solid #f2f2f2 }
.author{ display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px dashed #f3f3f3 }
.author:last-child{ border-bottom:none }
.author-left{ display:flex; flex-direction:column; gap:3px }
.author-name{ font-size:0.98rem; font-weight:600 }
.author-activity{ font-size:0.87rem; color:var(--muted) }
.author-links{ display:flex; gap:8px; align-items:center }
.author-links a{ color:#444; font-size:0.98rem; text-decoration:none }
.author-links a:hover{ color:#000 }

/* responsive header tweaks */
@media (max-width:560px){
  header h1{ order:2; width:100%; }
  header .logo{ order:1 }
  header nav{ order:3; width:100%; display:flex; justify-content:center }
}
/* AVISO */
.aviso {
  background: #fff8dc; /* un amarillo suave */
  border: 1px solid #f0d98c;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  font-weight: bold; /* texto en negrita */
}
/* FOOTER */
footer {
  text-align: center;
  margin-top: 20px;
  padding: 20px 10px;
  border-top: 1px solid #ddd;
  background: #fafafa;
}

footer .footer-logo {
  width: 154px;
  height: 50px;
  margin-bottom: 3px;
}

footer p {
  margin: 4px 0;
  color: #000;
  font-size: 0.9rem;
}
/* Sección "¿De qué se trata?" */
.sobre {
  background-color: #ee5b99;
  margin-top: 20px;
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

.sobre h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.sobre p {
  max-width: 800px;
  margin: 0 auto 1rem auto;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* ICONOS REDES EN #sobre */
.social-icons-sobre {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.social-icons-sobre a {
  color: #fff;
  font-size: 2rem; /* más grande que los del resto de la página */
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icons-sobre a:hover {
  color: #000;
  transform: scale(1.1);
}

/* Scroll suave en toda la página */
html {
  scroll-behavior: smooth;
}
.map-container {
  position: relative; /* importante para el overlay */
}

.qr-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  z-index: 1000; /* aseguramos que quede encima del mapa */
  text-align: center;
}

.qr-overlay img {
  display: block;
  width: 90px;
  height: auto;
}

.qr-overlay .qr-text {
  margin-top: 6px;
  font-size: 0.7rem;
  color: #fff;
  text-align: center;
  max-width: 90px;
  line-height: 1.2;
}

/* Ocultar en mobile/tablet */
@media (max-width: 900px) {
  .qr-overlay { display: none; }
}

/* === NUEVOS ESTILOS === */

/* Contenedor de filtros */
.day-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

/* Botones de filtro */
.filter-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  color: #555;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.filter-btn:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

/* Estilo del botón activo */
.filter-btn.active {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Estilo para el horario en la tarjeta (versión encabezado) */
.horario {
  background-color: #505050; /* Fondo oscuro */
  color: #fff; /* Letras blancas */
  font-weight: bold; /* Letras en bold */
  
  /* Anulamos el padding de la tarjeta para que ocupe todo el ancho */
  margin: -14px -14px 14px -14px;
  padding: 10px 14px; /* Le damos su propio padding */

  /* Alineamos el contenido al centro */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  
  /* Redondeamos solo las esquinas superiores para que coincida con la tarjeta */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 0.95rem;
}
