/* styles-canciones.css */
/* Contiene TODOS los estilos para las páginas de canciones */

/* PALETA DE COLORES */
:root {
    --primary-dark: #264653;
    --primary-light: #d4e79e;
    --accent: #561d25;
    --text-dark: #333;
    --text-light: #f5f5f5;
    --instruction-color: #efbdeb;
}

/* ESTILOS GENERALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #d4e79e 0%, #c3d88e 100%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CABECERA */
.main-header {
    background-color: var(--primary-dark);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-top {
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid rgba(212, 231, 158, 0.2);
}

.site-title {
    margin: 0;
}

.site-title a {
    color: var(--primary-light);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.site-title a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(212, 231, 158, 0.7);
}

.header-bottom {
    padding: 15px 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
}

.main-nav a:hover, 
.main-nav a.active {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-dark);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    text-align: left;
    transform: translateY(5px);
    opacity: 0;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.dropdown-content a {
    color: var(--primary-light);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-light);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-light);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* CONTENIDO PRINCIPAL */
.artwork-page-hero {
    padding: 40px 0;
}

.artwork-title-page {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent);
    position: relative;
    padding-bottom: 15px;
}

.artwork-title-page::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* REPRODUCTORES DE AUDIO */
.audio-player-container {
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.audio-player-container h4 {
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.minimalist-player {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.player-controls button {
    background: var(--accent);
    color: var(--primary-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.player-controls button:hover {
    background: #6a2c35;
    transform: scale(1.05);
}

.player-controls button i {
    font-size: 16px;
}

.progress-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background: rgba(86, 29, 37, 0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    width: 0%;
}

.time-display {
    font-size: 0.9rem;
    color: var(--accent);
    min-width: 80px;
    font-weight: 600;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
}

.volume-control i {
    color: var(--accent);
    font-size: 18px;
}

.volume-slider {
    width: 80px;
    height: 5px;
    background: rgba(86, 29, 37, 0.2);
    border-radius: 3px;
    outline: none;
    
    /* Propiedades estándar para eliminar estilos nativos */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* IMAGEN DEL CUADRO */
.artwork-image-container {
    margin: 40px 0;
    text-align: center;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.artwork-full-image {
    max-width: 100%;
    max-height: 75vh;
    border: 12px solid white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    border-radius: 4px;
    transition: transform 0.3s;
}

.artwork-full-image:hover {
    transform: scale(1.01);
}

.artwork-info {
    margin-top: 15px;
    font-style: italic;
    color: var(--accent);
    font-size: 1.1rem;
}

/* LETRA DE LA CANCIÓN */
.artwork-lyrics-block {
    background-color: var(--accent); /* #561d25 */
    border-radius: 12px;
    padding: 25px;
    margin: 40px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.artwork-lyrics-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4e79e, #a8c96d);
}

.song-lyrics h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary-light); /* #d4e79e */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.song-lyrics pre {
    font-family: 'Lato', sans-serif;
    white-space: pre-wrap;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--primary-light); /* #d4e79e */
    background: rgba(86, 29, 37, 0.7);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-light);
    overflow-x: auto;
}

/* ANÁLISIS DEL CUADRO */
.artwork-analysis-block {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top: 4px solid var(--accent);
}

.artwork-analysis-block h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(86, 29, 37, 0.2);
}

.artwork-analysis-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

/* SECCIÓN DE ADQUISICIÓN */
.artwork-acquisition-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 245, 0.9) 100%);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 2px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.artwork-acquisition-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #6a2c35);
}

.artwork-acquisition-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.artwork-acquisition-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.artwork-acquisition-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--primary-dark);
    text-align: center;
}

.certificate-info {
    font-style: italic;
    margin: 25px 0;
    padding: 20px;
    border-left: 3px solid var(--accent);
    background: rgba(212, 231, 158, 0.2);
    border-radius: 0 8px 8px 0;
}

.contact-call-to-action {
    font-weight: 700;
    text-align: center;
    margin-top: 30px;
    font-size: 1.2rem;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    transition: all 0.3s;
    padding-bottom: 2px;
    font-weight: 800;
}

.contact-link:hover {
    color: #6a2c35;
    border-bottom-color: #6a2c35;
    letter-spacing: 0.5px;
}

/* INSTRUCCIONES */
.instruction {
    background-color: var(--instruction-color);
    padding: 12px;
    border: 2px dashed #333;
    margin: 20px 0;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    border-radius: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* FOOTER */
footer {
    background-color: var(--primary-dark);
    color: var(--primary-light);
    padding: 40px 0 20px;
    text-align: center;
    font-size: 1rem;
    margin-top: 60px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), #a8c96d);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 231, 158, 0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        padding: 15px;
        gap: 10px;
        z-index: 100;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    .main-nav ul.active {
        display: flex;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
    }
    
    .dropdown:hover .dropdown-content {
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .artwork-title-page {
        font-size: 2rem;
    }
    
    .minimalist-player {
        padding: 12px;
    }
    
    .player-controls {
        flex-wrap: wrap;
    }
    
    .progress-container {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
}