/* Reset básico */
* 

{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
  --primary: #79031D;
  --dark: #000407;
  --light: #F5F7F7;
  --accent: #EDB518;
}



body {
    font-family: 'Montserrat', sans-serif;
     background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}
/* Aplicamos a todos los h2 dentro de secciones principales */
section h2 {
    position: relative;
    text-align: center; /* opcional */
    margin-bottom: 0.5rem; /* separación con contenido */
}

section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent); /* dorado */
    margin: 0.5rem auto 0; /* centrado */
}


header {
    background-color: #79031D; /* burdeos */
    color: #F5F7F7;           /* texto blanco */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;             /* que esté siempre encima */
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

header nav a {
    color: #F5F7F7;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #EDB518; /* dorado */
}

/* Hero */
/* Contenedor principal del hero */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;         /* ajusta según quieras la altura del hero */
    overflow: hidden;     /* evita que la imagen sobresalga */
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;  /* centra verticalmente el texto */
    justify-content: center; /* centra horizontalmente */
}

/* Imagen responsive con picture */
.hero picture, .hero picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* cubre toda la sección sin deformar */
    object-position: center;  /* centra la imagen */
    display: block;           /* elimina gaps */
    position: absolute;       /* detrás del texto */
    top: 0;
    left: 0;
    z-index: 1;               /* detrás del contenido */
}

/* Texto sobre la imagen */
.hero-text {
    position: relative;       /* sobre la imagen */
    z-index: 2;
    text-align: center;
    color: #F5F7F7;
    max-width: 90%;
    padding: 0 1rem;
}

/* Títulos */
.hero-text h1 {
    font-family: 'Playfair Display', serif; /* Fuente elegante con remates */
    font-size: 3.5rem;                      /* Un poco más grande para dar impacto */
    font-weight: 700;
    font-style: italic;                     /* El itálico le da un aire muy artístico */
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
/* Párrafo */
.hero-text p {
    font-family: 'Montserrat', sans-serif;  /* Mantenemos Montserrat para legibilidad */
    font-size: 1.1rem;
               /* En mayúsculas queda muy profesional */
    letter-spacing: 3px;                    /* Espaciado entre letras para aire premium */
    font-weight: 300;                       /* Un peso más fino para contraste */
}

/* Ajustes para móvil */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
}



.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #5e0216;
}

/* Sections */
section {
    padding: 4rem 2rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Tour */

#tour {
    margin-top: 0;
    padding-top: 3rem;
	background-color: var(--dark);
    color: var(--light);
}

.tour-container {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* espacio entre cada función */
    max-width: 900px;
    margin: 0 auto; /* centrado */
    padding: 1.5rem 2rem 3rem 2rem; /* arriba 1.5rem, abajo 3rem */
}

.tour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--light);
    color: var(--dark);
    padding: 0.5rem 1rem; /* más estrecho en altura */
    border-radius: 8px;
}

.tour-item .tour-info {
    display: flex;
    flex-wrap: wrap; /* permite ir a la línea siguiente en móvil */
    align-items: center;
    gap: 0.5rem; /* espacio entre ciudad y detalles */
}

.tour-item .tour-info .tour-city {
    font-weight: 600;
    font-size: 1rem;
}

.tour-item .tour-info .tour-details {
    font-size: 0.9rem;
    color: #555555;
}

.tour-item .btn-primary {
    white-space: nowrap;
    padding: 0.5rem 1rem; /* botón más compacto */
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .tour-container {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
}




/* About */

.section-about {
    background-color: var(--light);
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-container img {
    max-width: 100%;
    border-radius: 8px;
}
.section-join {
    padding: 2rem 2rem; /* antes era 4rem, reducimos a la mitad */
    background-color: #FAFAFA;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}
.section-join .section-header {
    margin-bottom: 1rem; /* antes 2rem, más compacta */
}

.section-join h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; /* un poco más pequeño */
    margin-bottom: 0.3rem; /* antes 0.5rem */
}

.section-join .section-subtitle {
    max-width: 600px;
    margin: 0 auto 1rem auto; /* reducimos margen inferior */
    font-size: 0.9rem; /* ligeramente más pequeño */
    color: #555;
    line-height: 1.4;
}

.join-content p {
    font-size: 0.95rem;
    color: #333;
    margin-top: 0; /* eliminamos espacio extra arriba */
}

/* Repertoire Grid */
/* Repertoire Grid */

#repertoire {
    background-color: var(--primary);
    color: var(--light);
}
.section-header {
    text-align: center;
    margin-bottom: 2.5rem; /* espacio debajo del título */
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #666;
    max-width: 600px;  /* limita el ancho para que no se estire demasiado */
    margin: 0 auto;    /* centra horizontalmente */
    line-height: 1.5;  /* mejora lectura */
	color: var(--light);
}

.repertoire-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.repertoire-link:visited,
.repertoire-link:active,
.repertoire-link:hover {
    text-decoration: none;
    color: inherit;
}

.repertoire-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.repertoire-card {
    background-color: var(--light);
    color: var(--dark);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.repertoire-card img {
    width: 100%;
    height: 200px; /* más baja que antes */
    object-fit: cover;
}
.repertoire-content {
    padding: 0.6rem 0.8rem; /* un poco menos de padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.repertoire-content h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.2rem; /* menos espacio */
    font-size: 1.05rem;
}
.repertoire-content p {
    font-size: 0.85rem; /* un poco más compacto */
    color: #555;
    margin-bottom: 0;
    flex-grow: 1;
}

.repertoire-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0.8rem 1rem 0.3rem 1rem;
}

.repertoire-card p {
    font-size: 0.9rem;
    color: #555555;
    margin: 0 0.8rem 0.6rem 0.8rem; 
}

/* Hover effect */
.repertoire-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.repertoire-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    cursor: pointer;
}

.repertoire-card:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .repertoire-card img {
        height: 150px; /* más compacto en móviles */
    }

    .repertoire-card h3 {
        font-size: 1rem;
    }

    .repertoire-card p {
        font-size: 0.85rem;
    }
}


/* Contact */

#contact {
    padding: 1rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
	padding: 2rem;
}

.contact-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #8B1E3F;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #FF6B6B; /* acento rosa suave para hover */
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 1.5rem;
    }
}


/* Footer */
footer {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    background-color: #F7F7F7;
    margin-top: 2rem;
}

footer a {
    color: #3B6C7A;
    text-decoration: none;
    margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    header nav ul {
        gap: 1rem;
    }

    .tour-container {
        flex-direction: column;
        align-items: center;
    }
}
.repertoire-card {
    background-color: #F7F7F7;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.repertoire-card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}
/* Hamburger Menu */
/* 1. Esto se queda igual (oculto en PC) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #F5F7F7;
    transition: background-color 0.3s ease;
}

.hamburger:hover span {
    background-color: #EDB518;
}

/* 2. Responsive Menu - TODO esto debe ir dentro de las llaves de la @media */
@media (max-width: 768px) {
    header nav {
        position: absolute;
        top: 80px;            
        right: 15px;          
        background-color: var(--primary);
        width: 250px;         
        border-radius: 15px;  
        padding: 2rem 1rem;
        transform: translateX(120%); 
        transition: transform 0.4s ease-in-out;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    header nav.show {
        transform: translateX(0); /* Ahora está dentro de la media query */
    }

    header nav ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    header nav a {
        margin-left: 0;
        display: block;
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;    /* Ahora sí: solo se aplica en móvil */
        z-index: 1001; 
    }
} /* <--- Esta es la llave final que cierra TODO el bloque de móvil */