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

html {
    overflow-x: hidden;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Poppins", system-ui;
    font-style: normal;
    color: #2c2c2c;
    background-color: #ffffff;
    min-height: 100vh;
}

/* Layout de dos columnas */
.container {
    display: flex;
    height: 100vh;
    background-color: #f0f0f0;
}

.left-column {
    width: 400px;
    background-color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1000;
}

.right-column {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: 
    linear-gradient(to bottom, rgba(0, 0, 139, 0.486), rgba(0, 0, 255, 0.3)), 
    url('img/fondo-columna-right.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}



/* Estilos del reproductor */
.player-fondo {
   /* background-color: #000;*/
    padding: 0;
    margin: 0;
    height: 100vh;
    width: 100%;
    position: relative;
}

.player {
    position: relative;
    margin: 0;
    width: 100%;
    height: 90vh;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    z-index: 9;
}



#rowrigopauseplaywrapper {
    background-color: #4e851f;
    border-radius: 50%;
    max-width: 80px;
    max-height: 80px;
}



/* EXTRAS EDICION LUNA PLAYER */


.lunaradiovisualizericon {
    display: none;
}

#rowrigobuttonanalyzer,
#rowrigoaudiopreloader {
    display: none;
}

.rowrigotextradionamespan {
    font-size: 2em;
    text-transform: uppercase;
}

.rowrigotexttitlespan {
    font-size: 25px;
    text-transform: uppercase;
}


/* ICONO DE PLAY Y PAUSE DEL PLAYER */
#rowrigopauseplaywrapper {
    position: absolute !important;
    cursor: pointer !important;
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    border: #4e851f 6px solid;
    background: rgb(255, 255, 255) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#rowrigobuttonplay,
#rowrigobuttonpause {
    position: absolute !important;
    width: 80px !important;
    height: 80px !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.lunaradioplayicon,
.lunaradiopauseicon {
    width: 100% !important;
    height: 100% !important;
    fill: #4e851f !important;
    transition: fill 0.3s ease !important;
}

#rowrigoaudiopreloader {
    position: absolute !important;
    width: 90px !important;
    height: 90px !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    fill: #ffffff !important;
}

/* Efectos hover */
#rowrigopauseplaywrapper:hover .lunaradioplayicon,
#rowrigopauseplaywrapper:hover .lunaradiopauseicon {
    fill: #4e851f !important;
}

/* Animación al hacer click */
#rowrigopauseplaywrapper:active {
    transform: scale(0.95) !important;
}


/* ICONOS DE VOLUMEN*/

#rowrigovolumebackground {
    background: #98C309 !important;
    border-radius: 10px !important;
}

.lunaradiovolumeonicon {
    fill: #FFD700 !important;
    /* Color dorado */
    width: 60px !important;
    height: 60px !important;
    transition: fill 0.3s ease !important;
}

.lunaradiovolumeofficon {
    fill: #FFD700 !important;
    /* Color rojo */
    width: 60px !important;
    height: 60px !important;
    transition: fill 0.3s ease !important;
}

@media (max-width: 768px) {

    .lunaradiovolumeonicon,
    .lunaradiovolumeofficon {
        width: 40px !important;
        height: 40px !important;
    }
}


/* TITULOD DE LAS CANCIONES */
#rowrigotextradioname,
.rowrigotextradionamespan {
    color: #4e851f !important;
    text-transform: uppercase !important;
    text-shadow: -1px -1px 0 #ffffff,
        1px -1px 0 #ffffff,
        -1px 1px 0 #ffffff,
        1px 1px 0 #ffffff !important;
    letter-spacing: 1px !important;
    font-weight: bold !important;
}

/* TITULOS DE CANCIONES */
#rowrigotexttitle,
.rowrigotexttitlespan {
    color: #ffffff !important;
    text-shadow: -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000 !important;
    font-weight: 500 !important;
}





/* Estilos del banner */
.banner-radio {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-radio img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Estilos del chat */
.chat-section {
    position: absolute;
    top: 250px;
    left: 0;
    width: 100%;
    padding: 20px;
}

.chat-section h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.chat-section h2 i {
    margin-right: 10px;
    color: #007bff;
}

.chat-section iframe {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chat-container {
    width: 100%;
    height: 600px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.chat-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Ajuste del modal para el chat */
#modalChat .modal-content {
    width: 90%;
    max-width: 800px;
    height: 80vh;
    max-height: 800px;
}

#modalChat .modal-body {
    padding: 0;
    height: calc(100% - 60px); /* Altura total menos el header */
}

/* Estilos de botones sociales */
.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 5px;
    position: fixed;
    bottom: 0;
    right: 0;
    width: calc(100% - 400px);
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
}

.social-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 15px 10px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border: 2px solid #ffffff;
    color: white;
}

.social-button i {
    font-size: 24px;
    margin-bottom: 8px;
    color: white;
}

.social-button span {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.social-button:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

/* Colores específicos para cada red social */
.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.tiktok {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none !important; /* Forzar que esté oculto por defecto */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media screen and (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .menu-toggle {
        display: flex !important;
    }

    .left-column {
        position: fixed;
        left: -400px;
        top: 0;
        height: 100vh;
        background: #ffffff;
        transition: left 0.3s ease;
        z-index: 999;
        width: 100%;
        max-width: 400px;
        padding: 20px;
    }

    .left-column.active {
        left: 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }

    .right-column {
        width: 100%;
        margin-left: 0;
    }
}

/* Estilos del menú principal */
.main-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px 20px;
    margin-top: 280px;  /* Ajustado para dar espacio al título */
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #000000;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #000000;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-item i {
    font-size: 20px;
    margin-right: 15px;
    width: 25px;
    text-align: center;
    color: #000000;
}

.menu-item span {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

/* Botón de chat */
.chat-button {
    position: absolute;
    bottom: 45px;
    left: 20px;
    right: 20px;
    padding: 15px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid #000000;
}

.chat-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.chat-button i {
    font-size: 20px;
}

/* Estilos del modal del chat */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.chat-modal-content {
    background: #000000;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.chat-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.chat-modal-header h2 {
    color: white;
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.close-chat:hover {
    transform: rotate(90deg);
}

.chat-modal-body {
    padding: 20px;
}

.chat-modal-body iframe {
    border-radius: 10px;
    background: white;
}

/* Nombre de la radio */
.radio-name {
    text-align: center;
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    padding: 0 20px;
    margin: 0;
    position: absolute;
    top: 220px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos para las ventanas modales */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    position: relative;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #002454;
}

.modal-header h2 {
    color: #002454;
    margin: 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: #002454;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-body {
    color: #333;
    line-height: 1.6;
}

/* Estilos específicos para cada modal */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.staff-member {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.staff-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.staff-member img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #29046D;
    object-fit: cover;
}

.staff-member h3 {
    color: #29046D;
    margin: 10px 0;
    font-size: 1.5em;
}

.staff-member p {
    color: #666;
    font-size: 1em;
    margin: 5px 0;
}

.staff-member h4 {
    color: #29046D;
    font-style: italic;
    margin: 5px 0;
    font-size: 1.2em;
}

.staff-member .program-info {
    margin-top: 15px;
    padding: 10px;
    background: rgba(41, 4, 109, 0.1);
    border-radius: 10px;
}

.staff-member .program-name {
    color: #29046D;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 8px;
}

.staff-member .program-schedule,
.staff-member .program-time {
    color: #444;
    font-size: 1em;
    margin: 4px 0;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .staff-member img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .staff-member img {
        width: 200px;
        height: 200px;
    }

    .staff-member h4 {
        font-size: 1.1em;
    }

    .staff-member .program-info {
        padding: 8px;
    }
}

.programacion-grid {
    display: grid;
    gap: 15px;
}

.programa {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.programa-hora {
    font-weight: bold;
    color: #002454;
    min-width: 100px;
}

.contact-form {
    display: grid;
    gap: 15px;
}

.form-group {
    display: grid;
    gap: 5px;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 100px;
}

.submit-btn {
    background: #002454;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #001836;
}

/* Estilos para el modal de contacto */
.contact-info {
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 24px;
    margin-right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #002454;
    color: white;
    border-radius: 50%;
}

.contact-item .info h3 {
    margin: 0;
    font-size: 18px;
    color: #002454;
}

.contact-item .info p {
    margin: 5px 0 0;
    color: #666;
}

.social-links {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.social-links h3 {
    margin-bottom: 20px;
    color: #002454;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.instagram {
    background: #e1306c;
}

.social-link.youtube {
    background: #ff0000;
}

.social-link.tiktok {
    background: #000000;
}

/* Enlace de créditos */
.credits-link {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    padding: 10px 20px;
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    transition: color 0.3s ease;
}

.credits-link:hover {
    color: #002454;
}

/* Estilos para la programación */
.schedule-content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-day {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.schedule-day h3 {
    color: #29046D;
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 2px solid rgba(41, 4, 109, 0.2);
    padding-bottom: 10px;
}

.schedule-item {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.schedule-item:hover {
    transform: translateY(-2px);
}

.schedule-item .time {
    color: white;
    background: #29046D;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.schedule-item h4 {
    color: #29046D;
    font-size: 1.2em;
    margin: 5px 0;
}

.schedule-item p {
    color: #444;
    margin: 5px 0;
}

.schedule-item small {
    color: #666;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

.staff-members {
    padding: 10px;
    text-align: center;
}

.staff-members p {
    color: #444;
    margin: 10px 0;
    font-size: 1.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .schedule-content {
        padding: 10px;
    }
    
    .schedule-day {
        padding: 15px;
    }
    
    .schedule-item {
        padding: 12px;
    }
}

/* Responsive Styles */
@media screen and (max-width: 900px) {
    .social-grid {
        width: 100%;
    }

    /* Overlay when menu is open */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .overlay.active {
        display: block;
    }

    .left-column {
        background: #ffffff;
        padding: 0;
    }

    .main-menu {
        margin-top: 300px;
    }

    .radio-name {
        font-size: 20px;
        top: 240px;
    }

    .chat-button {
        position: relative;
        bottom: auto;
        left: 20px;
        right: 20px;
        margin: 30px 20px;
    }

    .chat-button {
        margin-bottom: 40px;
    }

    .credits-link {
        position: relative;
        bottom: 10px;
    }
}

/* Estilos del botón de instalación */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Estilo base del botón - oculto por defecto */
.install-button {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    align-items: center;
    gap: 12px;
    border: 2px solid #29046D;
    cursor: pointer;
}

.install-button span {
    color: #29046D;
    font-weight: 600;
    font-size: 14px;
}

.install-button .install-pwa {
    background: #29046D;
    color: white;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.install-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.install-button:hover .install-pwa {
    background: #3a0594;
}

.install-button .install-pwa i {
    font-size: 16px;
}

/* Clase para mostrar el botón */
.install-button.show-install-button {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    animation: pulseButton 2s infinite;
}

/* Efectos hover */
.install-button.show-install-button:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 1);
    border-color: white;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4),
                0 0 0 3px rgba(255, 255, 255, 0.5),
                0 0 20px rgba(255, 255, 255, 0.3);
}

.install-button .install-pwa:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Ajustes para móvil */
@media screen and (max-width: 900px) {
    .install-button,
    .install-button.show-install-button {
        left: 20px;
        top: 20px; /* Movido más abajo del botón de menú */
        padding: 8px 15px;
        max-width: 140px;
        z-index: 50 !important; /* Reducido para estar debajo del menú */
        position: fixed;
    }

    /* Asegurarse que el botón de menú esté por encima */
    .menu-toggle {
        z-index: 999 !important;
    }

    .install-button span {
        font-size: 13px;
        margin-right: 8px;
        white-space: nowrap;
    }

    .install-button .install-pwa i {
        font-size: 18px;
    }
}
