/* Reset básico */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Estilos del encabezado */
header {
    background-color: #4d4d4d;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Carrusel de conciertos */
.contenedor-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 90%;
    margin: 20px auto;
    background-color: #eeeeee;
    padding: 20px;
    border-radius: 10px;
}

/* Botones de desplazamiento */
.flecha-izquierda, .flecha-derecha {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.flecha-izquierda { left: 10px; }
.flecha-derecha { right: 10px; }

.flecha-izquierda:hover, .flecha-derecha:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Contenedor de conciertos */
.contenedor-conciertos {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    padding: 10px;
    width: 80%;
}

/* Tarjetas de concierto */
.concierto {
    background: white;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 250px;
    margin: 0 10px;
    display: inline-block;
    padding: 15px;
}

.concierto img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
}

.concierto h2 {
    font-size: 18px;
    margin: 10px 0;
}

.concierto p {
    font-size: 14px;
    color: #666;
}

/* Botón comprar */
.concierto button {
    background-color: #008cba;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.concierto button:hover {
    background-color: #005f7f;
}

/* Botón Volver */
.boton-volver {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #008cba;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.boton-volver:hover {
    background-color: #005f7f;
}