/* ==========================================
   VARIABLES Y CONFIGURACIÓN GENERAL
   ========================================== */
:root {
    --color-fondo: #0a0a0a;
    --color-dorado: #d4af37;
    --color-dorado-oscuro: #aa8c2c;
    --color-texto: #ffffff;
    --color-gris: #a0a0a0;
    
    --fuente-titulos: 'Playfair Display', serif;
    --fuente-textos: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    font-family: var(--fuente-textos);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

/* ==========================================
   BARRA DE NAVEGACIÓN
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #000000;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.logo a {
    font-family: var(--fuente-titulos);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-texto);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    color: var(--color-dorado);
}

.menu-lista {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.menu-lista a {
    color: var(--color-texto);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.menu-lista a:hover {
    color: var(--color-dorado);
}

.btn-menu {
    border: 1px solid var(--color-dorado);
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-menu:hover {
    background-color: var(--color-dorado);
    color: var(--color-fondo) !important;
}

/* ==========================================
   SELECTOR DE IDIOMAS
   ========================================== */
.selector-idiomas {
    display: flex;
    gap: 8px;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
    margin-left: 10px;
}

.selector-idiomas a {
    font-weight: 600;
    font-size: 0.85rem !important;
    padding: 2px 5px;
    border-radius: 3px;
}

.selector-idiomas a.idioma-activo {
    color: var(--color-fondo) !important;
    background-color: var(--color-dorado);
}

@media (max-width: 950px) {
    .selector-idiomas {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        justify-content: center;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 15px;
    }
}

/* ==========================================
   PANTALLA PRINCIPAL (HERO) - AJUSTADO
   ========================================== */
.hero {
    min-height: 100vh;
    padding-top: 110px; /* Compensación para la navbar fija */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: var(--color-fondo);
}

.hero-contenido {
    max-width: 800px;
    padding: 20px;
    z-index: 2;
    animation: aparecerAbajo 1.2s ease-out;
}

.subtitulo-hero {
    font-family: var(--fuente-textos);
    color: var(--color-dorado);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.titulo-hero {
    font-family: var(--fuente-titulos);
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.texto-hero {
    font-size: 1.2rem;
    color: var(--color-texto);
    margin-bottom: 40px;
    font-weight: 300;
}

/* BOTONES */
.hero-botones {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-dorado, .btn-transparente {
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-dorado {
    background-color: var(--color-dorado);
    color: var(--color-fondo);
    border: 1px solid var(--color-dorado);
}

.btn-dorado:hover {
    background-color: var(--color-dorado-oscuro);
    border-color: var(--color-dorado-oscuro);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-transparente {
    border: 1px solid var(--color-texto);
    color: var(--color-texto);
}

.btn-transparente:hover {
    background-color: var(--color-texto);
    color: var(--color-fondo);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

@keyframes aparecerAbajo {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   ESTILOS COMUNES DE SECCIONES
   ========================================== */
.padding-seccion {
    padding: 75px 20px;
}

.seccion-oscura {
    background-color: var(--color-fondo);
}

.seccion-clara {
    background-color: #fcfcfc;
}

.titulo-seccion {
    font-family: var(--fuente-titulos);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.linea-dorada {
    width: 70px;
    height: 3px;
    background-color: var(--color-dorado);
    margin-bottom: 35px;
}

.linea-centro {
    margin: 0 auto 35px auto;
}

.contenedor-centro {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* ==========================================
   SECCIÓN BIOGRAFÍA
   ========================================== */
.contenedor-dos-columnas {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 70px;
}

.foto-bio {
    flex: 1;
    position: relative;
}

.foto-bio::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-dorado);
    z-index: 0;
    transition: transform 0.4s ease;
}

.foto-bio:hover::after {
    transform: translate(-10px, -10px);
}

.foto-bio img {
    width: 100%;
    border-radius: 4px;
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.texto-bio {
    flex: 1;
}

.texto-bio p {
    color: var(--color-gris);
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ==========================================
   SECCIÓN SERVICIOS
   ========================================== */
.grid-servicios-tenor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.servicio-card-tenor {
    background: white;
    padding: 45px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.servicio-card-tenor:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-bottom: 4px solid var(--color-dorado);
}

.icono-servicio {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.titulo-servicio {
    color: var(--color-fondo);
    font-family: var(--fuente-titulos);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.texto-servicio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================
   SECCIÓN MULTIMEDIA
   ========================================== */
.grid-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.video-card {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card.diferido {
    position: relative;
    cursor: pointer;
    background-color: #000;
}

.miniatura-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.video-card.diferido:hover .miniatura-video {
    filter: brightness(1);
    transform: scale(1.02);
}

.btn-play-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background-color: var(--color-dorado);
    color: var(--color-fondo);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 2;
}

.video-card.diferido:hover .btn-play-video {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #ffffff;
}

/* ==========================================
   SECCIÓN GALERÍA
   ========================================== */
.grid-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.item-galeria {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 320px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.item-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.7s ease;
    filter: brightness(0.85);
}

.item-galeria:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ==========================================
   SECCIÓN AGENDA
   ========================================== */
.lista-eventos {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.evento-fila {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 25px 35px;
    border-radius: 8px;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    text-align: left;
}

.evento-fila:hover {
    transform: translateY(-5px);
    border-color: var(--color-dorado);
    background: rgba(255, 255, 255, 0.08);
}

.evento-fecha {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 35px;
    border-right: 2px solid var(--color-dorado);
    min-width: 130px;
}

.evento-fecha .dia {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-texto); 
    line-height: 1;
}

.evento-fecha .mes {
    font-size: 1.1rem;
    color: var(--color-dorado);
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 5px;
}

.evento-fecha .anio {
    font-size: 0.95rem;
    color: var(--color-gris);
}

.evento-info {
    flex: 1;
    padding: 0 35px;
}

.evento-info h3 {
    color: var(--color-texto);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.evento-info p {
    color: var(--color-gris);
    font-size: 1.05rem;
}

/* ==========================================
   SECCIÓN CONTACTO
   ========================================== */
.formulario-contacto {
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    padding: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--color-texto);
    border-radius: 4px;
    font-family: var(--fuente-textos);
    font-size: 1.05rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
    outline: none;
    border-color: var(--color-dorado);
    background: rgba(255,255,255,0.06);
}

.formulario-contacto button {
    border: none;
    cursor: pointer;
    font-family: var(--fuente-textos);
    font-size: 1.1rem;
    padding: 18px;
}

.checkbox-legal {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    margin-bottom: 15px;
}

.checkbox-legal input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    accent-color: var(--color-dorado);
}

.checkbox-legal label {
    color: var(--color-gris);
    font-size: 0.85rem;
    line-height: 1.4;
}

.checkbox-legal label a {
    color: var(--color-dorado);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-legal label a:hover {
    text-decoration: underline;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #25d366;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-3px);
}

/* ==========================================
   BANNER DESTACADO (BOHEMIANS)
   ========================================== */
.banner-destacado {
    background: linear-gradient(rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.95)), repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px);
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding: 45px 20px;
    text-align: center;
}

.etiqueta-dorada {
    color: var(--color-dorado);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 8px;
    font-weight: 600;
}

.banner-destacado h3 {
    font-family: var(--fuente-titulos);
    font-size: 1.6rem;
    color: var(--color-texto);
    margin-bottom: 15px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-tenor {
    background-color: #050505;
    padding: 70px 20px 50px 20px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.enlaces-legales {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.enlaces-legales a {
    color: var(--color-gris);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.enlaces-legales a:hover {
    color: var(--color-dorado);
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 45px;
}

.redes-sociales a {
    color: var(--color-gris);
    font-size: 2.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.redes-sociales a:hover {
    color: var(--color-dorado);
    transform: translateY(-6px);
}

.footer-tenor p {
    color: var(--color-gris);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* ==========================================
   AVISO DE COOKIES
   ========================================== */
.aviso-cookies {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 520px;
    background-color: #111111;
    border: 1px solid var(--color-dorado);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
    z-index: 999999;
}

.aviso-cookies.activo {
    display: block !important;
}

.aviso-cookies p {
    font-size: 0.9rem;
    color: var(--color-gris);
    margin-bottom: 15px;
    text-align: center;
}

.aviso-cookies p a {
    color: var(--color-dorado);
    text-decoration: underline;
}

.botones-cookies {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.botones-cookies button {
    flex: 1;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid var(--color-dorado);
    transition: all 0.3s ease;
}

#btn-aceptar-cookies {
    background-color: var(--color-dorado);
    color: var(--color-fondo);
}

#btn-rechazar-cookies {
    background-color: transparent;
    color: var(--color-texto);
}

#btn-rechazar-cookies:hover {
    background-color: rgba(212, 175, 55, 0.15);
}

.enlace-cookie-revocar {
    background: transparent;
    border: none;
    color: var(--color-gris);
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
}

.enlace-cookie-revocar:hover {
    color: var(--color-dorado);
}

/* ==========================================
   ANIMACIONES SCROLL
   ========================================== */
.animar-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animar-scroll.mostrar-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE (MÓVILES Y PANTALLAS PEQUEÑAS)
   ========================================== */
.menu-toggle {
    display: none;
}

@media (max-width: 950px) {
    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        color: var(--color-texto);
        cursor: pointer;
    }

    .menu-principal {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    .menu-principal.abierto {
        max-height: 500px;
    }

    .menu-lista {
        flex-direction: column;
        padding: 20px 0;
        gap: 15px;
    }

    .menu-lista li {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px; 
    }
    .logo a {
        font-size: 1.2rem; 
    }
    .hero {
        padding-top: 90px;
    }
    .titulo-hero {
        font-size: 2.8rem; 
        line-height: 1.2;
    }
    .hero-botones {
        flex-direction: column;
        width: 100%;
    }
    .btn-dorado, .btn-transparente {
        width: 100%;
        display: block;
    }
    .contenedor-dos-columnas {
        flex-direction: column; 
        gap: 40px;
    }
    .foto-bio {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .texto-bio {
        text-align: left; 
    }
    .evento-fila {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .evento-fecha {
        border-right: none;
        border-bottom: 2px solid var(--color-dorado);
        padding-right: 0;
        padding-bottom: 20px;
    }
    .evento-info {
        padding: 0;
    }
}

.menu-lista a.activo {
    color: var(--color-dorado);
    font-weight: 600;
}