/* ============================================
   style.css — Estilos específicos de index.html
   Requiere: shared.css
   ============================================ */

/* ============ HERO ============ */
#hero {
    display: block;
    height: 100vh;
    width: auto;
    background-image: url('img/bg2.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, black 0%, transparent 100%);
    pointer-events: none;
}

/* ============ HEADER (index: anclado al fondo del hero) ============ */
header {
    position: absolute;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    margin-left: 100px;
    margin-right: 100px;
    padding: 0;
    z-index: 10;
    transition: all 0.3s ease;
}

header:hover {
    scale: 1.3;
}

#nav-container {
    display: grid;
    grid-template-rows: 2fr 3fr;
    justify-self: center;
    margin-top: 40px;
}

#logo {
    display: flex;
    justify-self: center;
    align-items: center;
}

#logo > img {
    height: 80px;
    width: auto;
}

#nav-bar > ul {
    display: flex;
    gap: 40px;
}

#nav-bar > ul > li {
    font-family: "Inter", sans-serif;
    font-size: 15px;
}

/* ============ TEXTO PRINCIPAL (overlay derecha) ============ */
#t-p {
    position: absolute;
    top: 4vh;
    right: 100px;
    z-index: 10;
    text-align: right;
}

#t-p > img {
    height: 13rem;
    width: auto;
    transition: all 0.3s ease;
}

#t-p > img:hover {
    height: 15rem;
}

#t-p > h3 {
    font-size: 130px;
    margin: 0;
    line-height: 1;
}

#t-p > p {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    margin: 0;
}

/* ============ DESCRIPCIÓN ============ */
.description {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cccccc;
    text-align: center;
    width: 70vw;
    max-width: none;
    padding: 1.5rem;
    border-radius: 20px;
    position: relative;
    left: 50%;
    box-sizing: border-box;
    transform: translateX(-50%) scale(1);
    transition: all 0.3s ease;
}

.description:hover {
    transform: translateX(-50%) scale(1.05);
}

.description > h5 {
    font-family: 'Bebas Neue', sans-serif;
    text-align: center;
    margin: 0;
    font-size: 20px;
}

.high {
    font-family: 'Bebas Neue', sans-serif;
    transition: all 0.3s ease;
}

.high:hover {
    color: var(--gold);
}

/* ============ SECCIÓN PRODUCCIONES ============ */
#producciones {
    margin: 0;
    padding-top: 10vh;
}

.artista-container {
    height: 600px;
    width: 25vw;
}

/* ============ TÍTULO CON HOVER (index: desplazamiento horizontal) ============ */
.producciones-t {
    display: block;
    transition: all 0.3s ease;
}

.producciones-t:hover {
    border-left: 7px solid var(--gold);
    transform: translateX(10px);
}

.producciones-t h3 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: 100px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.producciones-t p {
    font-family: "Inter", sans-serif;
    font-size: 30px;
    margin-top: 0;
    margin-left: 100px;
    transition: all 0.3s ease;
}

.otros {
    margin: 0;
    margin-left: 100px;
    font-family: "Inter", sans-serif;
    transition: all 0.3s ease;
}

.otros:hover {
    color: var(--gold);
}

.otros > a {
    font-family: "Inter", sans-serif;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    /* Hero se mantiene visible */
    #hero {
        height: 100vh;
        position: relative;
    }

    /* Header - AHORA ARRIBA SOBRE LA IMAGEN */
    header {
        position: absolute;
        top: 0;
        bottom: auto;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 16px 20px;
        z-index: 20;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
    }

    header:hover {
        scale: 1;
    }

    #nav-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        margin-top: 0;
        width: 100%;
    }

    #logo {
        margin-right: 0;
        justify-content: center;
    }

    #logo > img {
        height: 50px;
    }

    #logo h1 {
        font-size: 20px;
    }

    /* NAV-BAR COMPLETAMENTE CENTRADO */
    #nav-bar {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    #nav-bar > ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 16px;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    #nav-bar > ul li {
        text-align: center;
    }

    #nav-bar > ul > li {
        font-size: 14px;
    }

    /* Texto hero overlay - AHORA AL FRENTE Y VISIBLE */
    #t-p {
        position: absolute;
        top: 50%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 15;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    #t-p > img {
        height: 5rem;
        display: block;
        margin: 0 auto 10px;
    }

    #t-p > img:hover {
        height: 5.5rem;
    }

    #t-p > h3 {
        font-size: 36px;
        margin-top: 10px;
    }

    /* Descripción - se ajusta debajo del hero */
    .description {
        width: 90vw;
        position: relative;
        margin-top: 20px;
        margin-bottom: 20px;
        transform: translateX(-50%);
    }

    .description:hover {
        transform: translateX(-50%) scale(1.02);
    }

    .description > h5 {
        font-size: 16px;
    }

    /* Títulos de sección */
    .producciones-t h3 {
        font-size: 42px;
        margin-left: 20px;
        text-align: left;
    }

    .producciones-t p {
        font-size: 16px;
        margin-left: 20px;
    }

    /* Artistas */
    .artista-container {
        width: 100%;
        height: auto;
        min-height: 350px;
    }

    /* Ajuste del wrapper de artistas */
    #artista-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
}

/* Para pantallas muy pequeñas (480px o menos) */
@media (max-width: 480px) {
    #nav-container {
        flex-direction: column;
        align-items: center;
    }
    
    #logo {
        justify-content: center;
    }
    
    #nav-bar > ul {
        justify-content: center;
    }

    #t-p > h3 {
        font-size: 28px;
    }
    
    #t-p > img {
        height: 4rem;
    }
    
    .producciones-t h3 {
        font-size: 32px;
    }

    #nav-bar > ul {
        gap: 12px;
    }

    #nav-bar > ul > li {
        font-size: 12px;
    }
}