/* ======================================================
   BILLY PAGÁN · SITIO OFICIAL
   styles.css
====================================================== */

/* ======================================================
   1. VARIABLES
====================================================== */

:root{

    /* COLORES */

    --texto:#202020;

    --texto-secundario:#666666;

    --menu:#242424;

    --blanco:#ffffff;

    --negro:#000000;


    /* TRANSPARENCIAS */

    --capa:rgba(255,255,255,.15);

    --caja:rgba(255,255,255,.28);


    /* SOMBRAS */

    --sombra-texto:0 4px 25px rgba(255,255,255,.80);

    --sombra-caja:0 10px 30px rgba(0,0,0,.10);


    /* TRANSICIONES */

    --transicion:.30s ease;

    /* IMAGEN DE FONDO GLOBAL */

    --fondo: url("../imagenes/inicio/fondo-web-vacio.jpg");
    /* Versión optimizada para móviles (generar y subir una imagen más pequeña) */
    --fondo-mobile: url("../imagenes/inicio/fondo-web-vacio-480.jpg");

}

/* ======================================================
   2. RESET GENERAL
==================================================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}


html,
body{

    width:100%;

    min-height:100%;

}


body{

    font-family:"Montserrat",sans-serif;

    overflow-x:hidden;

    background:#ffffff;

    color:#202020;

}


a{

    text-decoration:none;

    color:inherit;

}


img{

    display:block;

    max-width:100%;

    height:auto;

}


ul{

    list-style:none;

}


button{

    border:none;

    background:none;

    font:inherit;

    cursor:pointer;

}

/* ======================================================
   3. BASE
==================================================== */

html,
body{

    scroll-behavior:smooth;

}


body{

    color:var(--texto);

    background:var(--blanco);

}


em{

    font-style:italic;

}

/* ======================================================
   4. TIPOGRAFÍAS Y ELEMENTOS GENERALES
==================================================== */

h1{

    margin:0;

    font-family:"Cormorant Garamond",serif;

    font-weight:600;

    line-height:.9;

    letter-spacing:3px;

    color:var(--texto);

    text-shadow:var(--sombra-texto);

}


a{

    color:inherit;

    text-decoration:none;

}


em{

    font-style:italic;

}

/* Focus visible (accesibilidad) */
:focus-visible{
    outline:3px solid rgba(36,36,36,0.12);
    outline-offset:3px;
}

/* ======================================================
   5. CONTENEDORES GENERALES
==================================================== */

.contenido{

    position:relative;

    z-index:5;

    text-align:center;

}

/* ======================================================
   6. ANIMACIONES
==================================================== */

@keyframes zoomFondo{

    from{

        background-size:100%;

    }

    to{

        background-size:112%;

    }

}


@keyframes entradaTexto{

    from{

        opacity:0;

        transform:translateY(50px);

        filter:blur(8px);

    }

    to{

        opacity:1;

        transform:translateY(0);

        filter:blur(0);

    }

}


/* ======================================================
   MOVIMIENTO BILLY PAGÁN
   (Reservado para futuras animaciones)
====================================================== */

@keyframes movimientoBilly{

    from{

        transform:translateX(-50%);

    }

    to{

        transform:translateX(-50%);

    }

}

/* ======================================================
   7. UTILIDADES
==================================================== */

/* ======================================================
   8. HEADER / MENÚ ESCRITORIO
==================================================== */

.menu{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    padding-top:42px;

    z-index:100;

    background:transparent;

    border:none;

}


.menu nav{

    width:100%;

}


.menu ul{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:36px;

    list-style:none;

    margin:0;

    padding:0;

}


.menu li{

    white-space:nowrap;

}


.menu a{

    position:relative;

    display:block;

    padding:8px 0;

    font-family:"Montserrat",sans-serif;

    font-size:11px;

    font-weight:300;

    letter-spacing:3.5px;

    text-transform:uppercase;

    color:#242424;

    transition:

        color .30s ease,

        letter-spacing .35s ease,

        transform .35s ease;

}


.menu a:hover{

    letter-spacing:4px;

}

.menu a:hover::after{

    width:100%;

}

.menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-4px;

    width:0;

    height:1px;

    background:#242424;

    transition:width .30s ease;

}

/* ======================================================
   9. BOTÓN HAMBURGUESA
==================================================== */

.hamburguesa{

    display:none;

    position:absolute;

    top:22px;

    right:22px;

    z-index:1000;

    color:var(--menu);

    font-size:34px;

    text-shadow:0 1px 8px rgba(255,255,255,.50);

    /* Área de toque mayor para móviles */
    padding:8px 10px;
    border-radius:6px;
}

/* ======================================================
   10. MENÚ MÓVIL
==================================================== */

.menu-movil{

    display:none;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    position:fixed;

    top:0;

    right:-100%;

    width:100%;

    height:100vh;

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

    transition:right var(--transicion);

    z-index:999;


}


.menu-movil.abierto{

    right:0;

}


.menu-movil a{

    margin:18px 0;

    font-family:"Montserrat",sans-serif;

    font-size:18px;

    font-weight:300;

    letter-spacing:5px;

    text-transform:uppercase;

    color:var(--menu);

    transition:color var(--transicion),

               letter-spacing var(--transicion);


}


.menu-movil a:hover{

    letter-spacing:6px;

    opacity:.70;

}

/* ======================================================
   11. HERO / PORTADA
==================================================== */

.hero{

    position:relative;

    width:100%;

    /* usar min-height con dvh para mejor comportamiento en móviles */
    min-height:100dvh;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

    background-image:var(--fondo);

    background-position:center center;

    background-repeat:no-repeat;

    background-size:cover;

    animation:zoomFondo 20s ease-in-out infinite alternate;


}


/* ==========================================
   CAPA SUPERIOR
========================================== */


.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:var(--capa);

    z-index:1;

}


/* ==========================================
   CONTENIDO
========================================== */

.hero .contenido{

    position:relative;

    z-index:10;

    width:40%;

    margin-left:35%;

    margin-top:-20px;

    opacity:0;

    animation:entradaTexto 2s ease forwards;

    animation-delay:1s;

}


/* ==========================================
   TÍTULO
========================================== */

.hero .contenido h1{

    margin:0;

    font-size:clamp(76px,9vw,140px);

    font-weight:500;

    line-height:.92;

    letter-spacing:-1px;

}

/* ==========================================
   SUBTÍTULO
========================================== */

.subtitulo{

    margin-top:26px;

    font-family:"Montserrat",sans-serif;

    font-size:13px;

    font-weight:300;

    letter-spacing:11px;

    text-transform:uppercase;

    color:var(--texto);

}

/* ======================================================
   12. IMAGEN BILLY PAGÁN
==================================================== */

.imagen-billy{

    position:absolute;

    left:40%;

    bottom:-4%;

    height:100vh;

    width:auto;

    transform:translateX(-50%);

    transform-origin:center bottom;

    z-index:5;

    user-select:none;

    -webkit-user-drag:none;

    pointer-events:none;

    will-change:transform;

}

/* ======================================================
   13. PÁGINAS INTERIORES
==================================================== */

.pagina{

    position:relative;

    min-height:100vh;

    padding:170px 0 120px;

    background-image:var(--fondo);

    background-position:center;

    background-repeat:no-repeat;

    background-size:cover;

}


.pagina::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(255,255,255,.15);

}


.contenido-pagina{

    position:relative;

    z-index:5;

    width:min(900px,90%);

    margin:0 auto;

}


.contenido-pagina h1{

    margin-bottom:60px;

    text-align:center;

    font-size:clamp(50px,6vw,80px);

}


.contenido-pagina h2{

    margin-top:40px;

    margin-bottom:15px;

    font-family:"Cormorant Garamond",serif;

    font-size:32px;

    font-weight:600;

    color:var(--texto);

}


.contenido-pagina p{

    margin-bottom:25px;

    font-size:15px;

    line-height:2;

    text-align:justify;

    color:var(--texto);

}

/* ======================================================
   14. BIOGRAFIA
==================================================== */

.biografia-page{
    display:flex;
    align-items:center;
}

.biografia-contenido{
    text-align:center;
}

/* Reusa la tarjeta de gira con mínimos ajustes */
.biografia-page .tour-card{
    margin:0 auto;
    text-align:left;
}

.biografia-page .tour-card h2{
    text-align:center;
}

/* Lectura larga cómoda */
.biografia-page .tour-card p{
    margin:0 0 16px;
    font-family:"Montserrat",sans-serif;
    font-size:16px;
    line-height:1.85;
    text-align:justify;
    color:var(--texto-secundario);
}

.biografia-page .tour-card .bio-intro{
    text-align:center;
    font-size:18px;
    line-height:1.7;
    color:var(--texto);
    margin-bottom:20px;
}

.biografia-page .tour-card hr{
    border:none;
    height:1px;
    background:rgba(36,36,36,.12);
    margin:16px 0 22px;
}

/* ======================================================
   15. MUSICA
==================================================== */

/* ======================================================
   16. VIDEOS
==================================================== */

.videos-page{
    display:flex;
    align-items:center;
}

.videos-contenido{
    text-align:center;
}

.videos-card{
    width:min(760px, 92%);
    margin:0 auto;
    padding:36px 28px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(36,36,36,.08);
    border-radius:18px;
    box-shadow:var(--sombra-caja);
    backdrop-filter:blur(8px);
}

.videos-texto{
    margin:0 0 26px;
    font-size:16px;
    line-height:1.9;
    text-align:center;
    color:var(--texto-secundario);
}

.boton-youtube{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 24px;
    background:#242424;
    color:#ffffff;
    border-radius:999px;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:12px;
    transition:transform var(--transicion), opacity var(--transicion), box-shadow var(--transicion), background-color var(--transicion);
    box-shadow:0 10px 24px rgba(0,0,0,.14);
}

.boton-youtube::before{
    content:"▶";
    font-size:10px;
    line-height:1;
    transform:translateY(-1px);
}

.boton-youtube:hover{
    transform:translateY(-2px);
    opacity:.92;
    background:#111111;
    box-shadow:0 14px 28px rgba(0,0,0,.18);
}

.boton-youtube:focus-visible{
    outline:3px solid rgba(36,36,36,.18);
    outline-offset:4px;
}

/* ======================================================
   17. CONCIERTOS
==================================================== */

/* Styles for tour list/card */
.tour-list{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto 20px;
}

.tour-card{
    background: rgba(255,255,255,0.95);
    padding:28px 32px;
    border-radius:12px;
    box-shadow:var(--sombra-caja);
    max-width:820px;
    width:92%;
    text-align:center;
}

.tour-card h2{
    margin:0 0 12px;
    font-family:"Cormorant Garamond",serif;
    font-size:34px;
    font-weight:600;
    color:var(--texto);
}

.tour-card pre{
    font-family:"Montserrat",sans-serif;
    font-size:16px;
    line-height:1.6;
    white-space:pre-wrap;
    text-align:left;
    margin:0 0 18px;
    color:var(--texto-secundario);
}

.boton-historico{
    display:inline-block;
    padding:12px 20px;
    background:var(--menu);
    color:#fff;
    text-decoration:none;
    letter-spacing:2px;
    text-transform:uppercase;
    border-radius:6px;
}

/* ======================================================
   18. HISTORICO DE CONCIERTOS
==================================================== */

/* ======================================================
   19. GALERIA
==================================================== */

.galeria-page{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:100dvh;
    padding:140px 16px 90px;
}

.galeria-contenido{
    width:100%;
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.galeria-contenido h2,
.galeria-contenido p{
    text-align:center;
}

@media (max-width:768px){
    .galeria-page{
        padding:120px 16px 80px;
    }
}

/* ======================================================
   20. TIENDA
==================================================== */

.tienda-page{
    display:flex;
    align-items:center;
    justify-content:center;
    padding-top:140px;
}

.tienda-contenido{
    width:min(980px,92%);
    margin:0 auto;
    text-align:center;
}

.tienda-grid{
    display:flex;
    justify-content:center;
}

.producto-card{
    width:min(760px,100%);
    padding:34px 28px 30px;
    background:rgba(255,255,255,.95);
    border:1px solid rgba(36,36,36,.08);
    border-radius:20px;
    box-shadow:var(--sombra-caja);
}

.producto-visual{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto 22px;
    padding:12px;
    border-radius:16px;
    background:linear-gradient(135deg, rgba(36,36,36,.04), rgba(36,36,36,.12));
}

.producto-portada{
    width:min(100%,620px);
    max-height:min(70dvh,720px);
    height:auto;
    display:block;
    object-fit:contain;
    border-radius:12px;
    user-select:none;
    -webkit-user-drag:none;
    pointer-events:none;
}

.producto-ayuda{
    margin:0 0 20px;
    font-size:14px;
    line-height:1.8;
    color:var(--texto-secundario);
}

.producto-ayuda a{
    color:var(--menu);
    text-decoration:underline;
    text-underline-offset:2px;
}

.boton-comprar{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 24px;
    background:var(--menu);
    color:#ffffff;
    border-radius:999px;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:12px;
    transition:transform var(--transicion), opacity var(--transicion), box-shadow var(--transicion), background-color var(--transicion);
    box-shadow:0 10px 24px rgba(0,0,0,.14);
}

.boton-comprar:hover{
    transform:translateY(-2px);
    opacity:.92;
    background:#111111;
    box-shadow:0 14px 28px rgba(0,0,0,.18);
}

.boton-comprar:focus-visible{
    outline:3px solid rgba(36,36,36,.18);
    outline-offset:4px;
}

@media (max-width:768px){
    .tienda-page{
        padding-top:120px;
    }

    .producto-card{
        padding:24px 18px 24px;
    }

    .producto-portada{
        max-height:min(62dvh,560px);
    }
}

/* ======================================================
   21. CONTACTO
==================================================== */

/* ======================================================
   22. FOOTER / PIE DE PÁGINA
==================================================== */

.footer{

    display:none;

}

/* ======================================================
   BARRA INFERIOR
==================================================== */

.barra-inferior{

    position:fixed;

    left:0;

    bottom:0;

    width:100%;

    height:42px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:transparent;

    z-index:150;

}
