/* ============================================
   ESTILOS PARA LA PÁGINA DEL HIMNO
   ============================================ */

/* Banner Verde Institucional */
.himno-banner {
    background-color: #359444;
    padding: 30px 20px;
    margin-bottom: 0;
}

.himno-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.himno-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.himno-banner-left h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    white-space: nowrap;
}

.himno-banner-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.line-thick {
    width: 80px;
    height: 4px;
    background-color: #cccccc;
    border-radius: 2px;
}

.line-thin {
    width: 200px;
    height: 2px;
    background-color: #cccccc;
    border-radius: 1px;
}

.himno-banner-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.himno-icon {
    font-size: 28px;
    color: #ffffff;
    display: inline-block;
    margin-right: 8px;
}

.himno-banner-right p {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
}

/* Sección del Himno */
.himno-section {
    background-color: #ffffff;
    padding: 60px 20px;
    min-height: 60vh;
}

.himno-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.himno-escudo {
    margin: 0 auto 40px;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.himno-escudo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.himno-title {
    font-size: 32px;
    font-weight: 700;
    color: #2a7a35;
    margin-bottom: 50px;
    text-align: center;
    font-style: italic;
}

.himno-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.himno-stanza {
    margin-bottom: 40px;
}

.himno-stanza p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 12px;
    text-align: center;
}

.himno-coro {
    margin: 50px 0;
    padding: 30px 0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.coro-label {
    font-size: 20px;
    font-weight: 700;
    color: #359444;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.himno-coro p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 12px;
    text-align: center;
}

.himno-coro p:not(.coro-label) {
    font-weight: 500;
}

.himno-credits {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.himno-credits p {
    font-size: 16px;
    color: #666666;
    text-align: center;
    font-style: italic;
}

.himno-credits strong {
    color: #359444;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .himno-banner-left h1 {
        font-size: 36px;
    }
    
    .himno-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .himno-banner-lines {
        display: none;
    }
    
    .himno-escudo {
        width: 150px;
        height: 150px;
    }
    
    .himno-title {
        font-size: 24px;
    }
    
    .himno-stanza p,
    .himno-coro p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .himno-banner-left h1 {
        font-size: 28px;
    }

    .himno-escudo {
        width: 120px;
        height: 120px;
    }

    .himno-title {
        font-size: 20px;
    }

    .himno-stanza p,
    .himno-coro p {
        font-size: 14px;
    }
}

/* ============================================
   ESTILOS PARA EL REPRODUCTOR DE AUDIO
   ============================================ */

.audio-player-container {
    margin: 40px auto;
    max-width: 800px;
}

.audio-player {
    background: linear-gradient(135deg, #2d8a3e 0%, #359444 100%);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(53, 148, 68, 0.3);
    transition: all 0.3s ease;
}

.audio-player:hover {
    box-shadow: 0 12px 32px rgba(53, 148, 68, 0.4);
    transform: translateY(-2px);
}

.play-btn {
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.play-btn:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.play-btn:active {
    transform: scale(0.95);
}

.play-icon {
    font-size: 24px;
    color: #359444;
    margin-left: 3px;
}

.play-btn.playing .play-icon {
    margin-left: 0;
}

.audio-info {
    flex: 1;
    min-width: 0;
}

.audio-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-align: left;
}

.progress-container {
    width: 100%;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.3);
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-fill {
    background: #ffffff;
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.time-info {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.volume-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease;
}

.volume-btn:hover {
    transform: scale(1.1);
}

.volume-icon {
    font-size: 24px;
    color: #ffffff;
}

.volume-slider {
    width: 80px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#himnoAudio {
    display: none;
}

/* Responsive para el reproductor */
@media (max-width: 768px) {
    .audio-player {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .volume-control {
        width: 100%;
        justify-content: center;
    }

    .volume-slider {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .audio-player {
        padding: 15px;
    }

    .play-btn {
        width: 50px;
        height: 50px;
    }

    .play-icon {
        font-size: 20px;
    }

    .audio-title {
        font-size: 14px;
    }

    .volume-slider {
        width: 100px;
    }
}
