/* ======= RESET ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('banda/DIAFANOS4.png');
    background-size:cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /*background-color: rgb(0, 0, 0);*/
}

.show {
    padding-bottom: 2rem;
    margin-bottom: 3rem;

    /* Línea divisoria */
    border-bottom: 1px solid rgba(180, 180, 180, 0.4);
}



html {
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background: #000;
    color: white;
}

/* ======= LAYOUT ======= */
.layout {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

/* ======= TIMELINE IZQUIERDA ======= */
.timeline {
    position: sticky;
    top: 140px;
    width: 180px;
    padding-left: 25px;
    padding-top: 20px;
}

/* Línea vertical */
.timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(#999, #555);
}

.timeline-item {
    display: block;
    margin: 10px 0;
    padding: 6px 10px;
    font-size: 0.78rem;
    text-decoration: none;
    color: #ccc;
    position: relative;
    transition: 0.25s ease;
}

/* Punto */
.timeline-item::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
    border: 2px solid white;
}

/* Hover */
.timeline-item:hover {
    transform: translateX(5px);
    color: white;
}

/* ======= CONTENEDOR PRINCIPAL ======= */
.gallery-wrapper {
    flex: 1;
    padding-left: 40px;
    padding-right: 40px;
}

/* ======= ENCABEZADO ======= */
#encabezado {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 120px;
    margin-bottom: 10px;
}

/* ======= BOTONES SUPERIORES ======= */
#shows {
    text-align: center;
    margin-bottom: 30px;
}

.cta-button {
    display: block;
    margin: 5px auto;
    width: 200px;
    padding: 10px;
    background: #d00;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s ease;
}

.cta-button:hover {
    background: #ff4444;
    transform: scale(1.07);
}

/* ======= TITULO DE SHOW ======= */
/* Caja del título */
.show-header {
    width: 100%;
    display: flex;
    justify-content: center; /* <--- CENTRA EL H2 RELATIVO A LAS FOTOS */
    margin-bottom: 1.5rem;
}

/* Estilo del título */
.show-header h2 {
    background: rgba(201, 3, 3, 0.82);
    padding: 12px 22px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(97, 2, 2, 0.4);
    color: white;
    font-size: 1.3rem;
    width: fit-content;
    text-align: center;
}

/* ======= GRID DE FOTOS ======= */
.fotos-grid {
    display: grid;
    grid-template-columns: repeat(5, 180px);
    gap: 20px;
    justify-content: center;
}

/* ======= TARJETA DE FOTO ======= */
.fotos-card {
    width: 180px;
    height: 180px;
    position: relative;
    transition: transform 0.25s ease;
}

.fotos-card:hover {
    transform: scale(2.2);
    z-index: 10;
    filter: drop-shadow(0 0 8px rgba(255,0,0,0.8));
}

.fotos-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* MARCO / MÁSCARA */
     mask-image: url("banda/CaliforniaCantina/fondo.png");
    -webkit-mask-image: url("banda/CaliforniaCantina/fondo.png");
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
}

/* ======= DIVISOR ENTRE SHOWS ======= */
.divider {
    width: 100%;
    height: 20px;
    background: url("banda/divisor.png") center repeat-x;
    opacity: 0.5;
    margin: 40px 0;
}

/* -------- FOOTER -------- */
footer {
  text-align: center;
  padding: 1.5rem 0;
  background: #111;
  color: #999;
  font-size: 0.9rem;
  margin-top: auto;
}

footer p {
  margin: 0;
  line-height: 1.2;
}

.redes {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.redes img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

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


/* ============================================
   RESPONSIVE PARA CELULARES (CORREGIDO)
   ============================================ */
@media screen and (max-width: 600px) {

    /* --- Oculta la timeline --- */
    .timeline {
        display: none !important;
    }

    /* --- Galería: 2 columnas REALES --- */
    .fotos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .fotos-card {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .fotos-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* --- Texto timeline más grande (por si aparece por error) --- */
    .timeline-item {
        font-size: 16px !important;
    }

    .timeline-item::before {
        width: 12px;
        height: 12px;
    }
}



