/* Importación de Fuentes de Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Lora:ital,wght@0,400;0,700;1,400&display=swap');
/* Importación de Font Awesome para iconos */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');


/* --- Variables de Color y Estilos Base --- */
:root {
    --azul-vibrante: #00BFFF;
    --gris-plateado: #BDC3C7;
    --fondo-oscuro: #121212;
    --fondo-secundario: #1e1e1e;
    --texto-principal: #f0f0f0;
    --texto-secundario: #a0a0a0;
    --font-titulos: 'Poppins', sans-serif;
    --font-texto: 'Lora', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-texto);
    background-color: var(--fondo-oscuro);
    color: var(--texto-principal);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titulos);
    font-weight: 600;
    color: var(--azul-vibrante);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

/* --- Cabecera y Navegación --- */
.header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--fondo-secundario);
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px; /* <-- AJUSTA LA ALTURA DE TU LOGO AQUÍ */
    width: auto;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    color: var(--texto-principal);
    text-decoration: none;
    font-family: var(--font-titulos);
    font-size: 16px;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--azul-vibrante);
    transition: all 0.3s ease-in-out;
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--azul-vibrante);
}

.nav-menu li a:hover::after, .nav-menu li a.active::after {
    width: 100%;
    left: 0;
}

.header-right-panel {
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-icons-header a {
    color: var(--texto-principal);
    font-size: 20px;
    margin-left: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons-header a:hover {
    color: var(--azul-vibrante);
    transform: scale(1.2);
}

.menu-toggle { display: none; }

/* --- Página de Inicio: Carousel --- */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.carousel-content .subtitle {
    font-family: var(--font-texto);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gris-plateado);
}

.carousel-content .title {
    font-family: var(--font-titulos);
    font-size: 4rem;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* --- Página de Inicio: Sección Artista --- */
.artist-section {
    display: flex;
    align-items: center;
    gap: 50px;
}

.artist-image-container {
    flex-basis: 40%;
    position: relative;
}

.artist-image {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    border: 8px solid var(--fondo-secundario);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.artist-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 191, 255, 0.7);
}

.artist-description {
    flex-basis: 60%;
}

/* --- Estilos Generales de Página --- */
.page-header {
    padding-top: 150px;
    text-align: center;
    margin-bottom: 40px;
}
.page-header .slogan {
    font-size: 1.2rem;
    color: var(--gris-plateado);
    margin-top: 10px;
    font-style: italic;
}
.page-description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--texto-secundario);
}

/* --- Página Currículo --- */
.bio-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}
.bio-section:nth-child(even) {
    flex-direction: row-reverse;
}
.bio-image-container {
    flex: 1;
    max-width: 350px;
}
.bio-image {
    width: 100%;
    border-radius: 50%;
    border: 6px solid var(--fondo-secundario);
}
.bio-content {
    flex: 2;
}
.bio-content ul {
    list-style: none;
    padding-left: 20px;
}
.bio-content ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}
.bio-content ul li::before {
    content: '\f001'; /* Icono de música de Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--azul-vibrante);
}

/* --- Páginas de Videos, Jisari, Kantico --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Página de Galería de Fotos --- */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.photo-item img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none; /* Cambiado por JS */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.lightbox-close:hover {
    transform: scale(1.2);
}

/* --- Página de Canciones (Playlist) --- */
.playlist {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--fondo-secundario);
    padding: 20px 30px;
    border-radius: 10px;
}
.song {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}
.song:last-child {
    border-bottom: none;
}
.song-title {
    font-family: var(--font-titulos);
    font-size: 1.2rem;
}
.play-btn {
    background-color: var(--azul-vibrante);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.play-btn:hover {
    background-color: #00a0cc;
}

/* --- Página de Servicios --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--fondo-secundario);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 191, 255, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 25px;
}

/* --- Página de Contacto --- */
.contact-container {
    position: relative;
    background-color: var(--fondo-secundario);
    padding: 50px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background-image: url('../images/guitarra.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}
.contact-info {
    position: relative;
    z-index: 1;
}

.contact-info ul {
    list-style: none;
}
.contact-info li {
    font-size: 1.2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}
.contact-info i {
    color: var(--azul-vibrante);
    font-size: 2rem;
    width: 50px;
    text-align: center;
    margin-right: 20px;
}
.contact-info a {
    color: var(--texto-principal);
    text-decoration: none;
    transition: color 0.3s;
}
.contact-info a:hover {
    color: var(--azul-vibrante);
}

/* --- Pie de Página y Botón WhatsApp --- */
.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid var(--fondo-secundario);
    color: var(--texto-secundario);
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* --- Responsividad --- */
@media (max-width: 1024px) {
    .nav-menu { display: none; }

    .menu-toggle {
        display: block;
        color: var(--texto-principal);
        font-size: 28px;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-menu.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--fondo-oscuro);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-menu.active ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .social-icons-header {
      display: none;
    }
    
    .header-right-panel {
        gap: 0; /* Remover el gap cuando solo está el menú toggle */
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .carousel-content .title {
        font-size: 3rem;
    }

    .carousel-content .subtitle {
        font-size: 1rem;
    }
    
    .artist-section, .bio-section, .bio-section:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .bio-content ul {
        padding-left: 0;
    }
    
    .contact-container {
        padding: 30px;
    }
}