/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #faf9f6; /* Fondo claro y suave */
    color: #333333;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Fredoka One', cursive; /* Fuente divertida y redondeada */
}

header {
    background-color: #ffb703; /* Amarillo alegre */
    padding: 1.5rem;
    text-align: center;
    border-bottom: 4px solid #fb8500; /* Naranja fuerte */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #023047; /* Azul oscuro contrastante */
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s, transform 0.2s;
    display: inline-block;
}

nav a:hover {
    color: #fb8500;
    transform: translateY(-2px);
}

main {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    position: relative;
    width: 100%;
    height: 80vh; /* Ocupa casi toda la pantalla */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000; /* Fondo negro mientra carga el video */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero h2 {
    color: #ffb703;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 6px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.8);
    font-weight: 600;
}

section {
    margin-bottom: 4rem;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fb8500;
    margin-bottom: 2rem;
}

section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Biografías */
.bio-container {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.bio {
    flex: 1;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid #219ebc;
}

.bio h3 {
    color: #219ebc;
    margin-bottom: 1rem;
}

/* Videos */
.video-container {
    margin: 3rem 0;
    text-align: center;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.video-container h3 {
    margin-bottom: 1.5rem;
    color: #023047;
}

mux-player {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Grid Repertorio */
.repertorio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 5px solid #ffb703;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #fb8500;
    margin-bottom: 1rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #023047;
    color: #ffffff;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .bio-container {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 0;
        margin: 10px 0 0 0;
    }
    
    header img {
        height: 100px !important; /* Achicar el logo en mobile */
    }

    .hero {
        height: 100vh; /* Que ocupe mas pantalla en mobile para darle aire al menú */
    }

    .hero h2 {
        font-size: 2.2rem;
        margin-top: 150px; /* Dale espacio para que no termine debajo del menu si baja mucho */
    }

    .hero p {
        font-size: 1.2rem;
    }

    header h1 {
        font-size: 2rem;
    }
}