body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}
/* --- Menú de Navegación --- */
.main-nav {
    background-color: #13131a; /* Fondo oscuro moderno */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: sticky; /* Hace que el menú se quede pegado al hacer scroll */
    top: 0;
    z-index: 1000; /* Asegura que el menú siempre esté por encima de todo */
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    color: #a0a0b5;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    padding: 10px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00d2ff; /* Color cyan al pasar el mouse o estar activo */
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5); /* Brillo tipo neón */
}

/* --- Adaptación del menú para celulares --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* --- Estilos del Encabezado --- */
.header-container {
    position: relative; 
    width: 100%;
    height: 350px; 
    background-image: url(encabezado.svg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden; 
}

.waves-container {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%; 
    z-index: 1; 
    opacity: 0.1; 
    pointer-events: none; 
}

.waves { width: 100%; height: 100%; }

@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

.parallax > use { animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite; }
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; fill: rgba(255, 255, 255, 0.7); }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; fill: rgba(255, 255, 255, 0.5); }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; fill: rgba(255, 255, 255, 0.3); }

/* =========================================
   DISEÑO DE DOS COLUMNAS (Principal y Lateral)
   ========================================= */
.layout-dos-columnas {
    display: flex;
    flex-wrap: wrap; 
    gap: 30px;
    max-width: 1100px; 
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start; 
}

/* Columna Izquierda (Reproductor y Redes) */
.columna-principal {
    flex: 1; 
    min-width: 320px; 
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.columna-principal h1 { color: #333; margin-top: 0; }
.columna-principal p { color: #666; line-height: 1.6; }

/* Columna Derecha / Orilla (Noticias y Eventos) */
.columna-lateral {
    width: 350px; 
    flex-shrink: 0; 
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}


/* --- Estilos del Reproductor Moderno --- */
.modern-player {
    background: linear-gradient(145deg, #1f1f2e, #13131a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 25px;
    margin: 40px auto;
    max-width: 500px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
    color: white;
}

.player-top { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; position: relative; }

.disc-cover {
    width: 80px; height: 80px;
    border-radius: 50%; position: relative; overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    animation: spin 6s linear infinite;
}
.disc-cover img { width: 100%; height: 100%; object-fit: cover; }
.disc-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 20px; height: 20px; background: #13131a; border: 2px solid #333; border-radius: 50%;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.station-info { flex: 1; text-align: left; }
.station-info h2 { margin: 0 0 5px 0; font-size: 1.4rem; font-weight: 600; color: #ffffff; }
.station-info p { margin: 0; font-size: 0.9rem; color: #a0a0b5; }

.live-indicator {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255, 59, 48, 0.15); color: #ff3b30;
    font-size: 0.75rem; font-weight: bold; padding: 4px 10px; border-radius: 20px; margin-bottom: 8px;
}
.pulse-dot {
    width: 8px; height: 8px; background-color: #ff3b30; border-radius: 50%; animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.equalizer {
    display: flex; align-items: flex-end; gap: 3px; height: 30px;
    position: absolute; right: 0; top: 50%; transform: translateY(-50%); opacity: 0.3; transition: opacity 0.3s;
}
.equalizer.playing { opacity: 1; }
.equalizer .bar { width: 4px; background: #00d2ff; border-radius: 2px; }
.equalizer.playing .bar { animation: eq-bounce 0.8s infinite alternate ease-in-out; }
.equalizer .bar:nth-child(1) { height: 10px; animation-delay: 0.1s; }
.equalizer .bar:nth-child(2) { height: 25px; animation-delay: 0.3s; }
.equalizer .bar:nth-child(3) { height: 15px; animation-delay: 0.0s; }
.equalizer .bar:nth-child(4) { height: 20px; animation-delay: 0.2s; }

@keyframes eq-bounce { 0% { height: 5px; } 100% { height: 30px; } }

.player-bottom {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.03); padding: 15px 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-play {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    border: none; width: 55px; height: 55px; border-radius: 50%; color: white; cursor: pointer;
    display: flex; justify-content: center; align-items: center; box-shadow: 0 8px 20px rgba(0, 210, 255, 0.3); transition: all 0.3s;
}
.btn-play:hover { transform: scale(1.1); box-shadow: 0 10px 25px rgba(0, 210, 255, 0.5); }

.volume-container { display: flex; align-items: center; gap: 12px; }
.vol-slider { -webkit-appearance: none; width: 100px; height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 5px; outline: none; }
.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
    background: #00d2ff; cursor: pointer; transition: transform 0.2s;
}


/* --- Contenedor de Redes Sociales Lado a Lado --- */
.social-container {
    display: flex; flex-wrap: wrap; justify-content: space-around; align-items: flex-start;
    gap: 20px; margin-top: 40px; padding-top: 30px; border-top: 1px solid #eee;
}

.facebook-section, .tiktok-section {
    flex: 1; min-width: 320px; margin-top: 0; padding-top: 0; border-top: none;
}
.facebook-section h2, .tiktok-section h2 { color: #333; margin-top: 0; }

.btn-tiktok {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background-color: #111111; color: #ffffff; text-decoration: none; padding: 12px 28px;
    border-radius: 8px; font-size: 1.1rem; font-weight: bold; transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); margin-top: 15px;
}
.btn-tiktok:hover {
    background-color: #000000; box-shadow: -3px 3px 0px #00f2fe, 3px -3px 0px #fe0979; transform: translateY(-2px);
}


/* --- Estilos para la sección de Noticias (Slider en la Orilla) --- */
.news-slider-section { margin: 0; padding: 0; text-align: center; }
.news-slider-section h2 { font-size: 1.3rem; margin-top: 0; color: #333; margin-bottom: 20px; }

.slider-container {
    position: relative; width: 100%; margin: 0 auto; overflow: hidden;
    border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); background-color: #000;
}

.slider-track { display: flex; transition: transform 0.5s ease-in-out; width: 100%; }
.slide { min-width: 100%; box-sizing: border-box; display: flex; justify-content: center; align-items: center; }
.slide img { width: 100%; height: auto; display: block; }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.4);
    color: white; border: none; cursor: pointer; width: 40px; height: 40px; font-size: 18px;
    border-radius: 50%; transition: background 0.3s; display: flex; justify-content: center; align-items: center;
}
.slider-btn:hover { background-color: rgba(0, 0, 0, 0.8); }
.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.slider-dots { position: absolute; bottom: 15px; width: 100%; display: flex; justify-content: center; gap: 10px; }
.dot { width: 12px; height: 12px; background-color: rgba(255, 255, 255, 0.5); border-radius: 50%; cursor: pointer; transition: all 0.3s ease; }
.dot:hover { background-color: rgba(255, 255, 255, 0.8); }
.dot.active { background-color: #ffffff; transform: scale(1.2); }


/* --- Adaptación para celulares (Responsive) --- */
@media (max-width: 850px) {
    .columna-lateral { width: 100%; margin-top: 20px; }
    .player-top { flex-direction: column; text-align: center; }
    .equalizer { display: none; }
}
/* =========================================
   PÁGINA: NOSOTROS
   ========================================= */

.about-section {
    /* Aquí llamamos a tu imagen de fondo */
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Hace que el fondo se quede quieto si haces scroll */
    background-repeat: no-repeat;
    
    /* Altura mínima de la pantalla menos la altura del menú */
    min-height: calc(100vh - 70px); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Caja de texto con efecto de cristal oscuro */
.about-content {
    background: rgba(19, 19, 26, 0.85); /* Fondo oscuro casi opaco */
    backdrop-filter: blur(8px); /* Efecto borroso de cristal detrás de la caja */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde sutil blanco */
    padding: 50px;
    border-radius: 20px;
    max-width: 800px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.about-content h1 {
    color: #00d2ff; /* El mismo cyan de tu reproductor */
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content p {
    color: #e0e0e0;
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Adaptación para celulares */
@media (max-width: 768px) {
    .about-content {
        padding: 30px 20px;
    }
    
    .about-content h1 {
        font-size: 2rem;
    }
    
    .about-content p {
        font-size: 1.1rem;
    }
}
/* =========================================
   PÁGINAS: NOSOTROS E HISTORIA
   ========================================= */

/* Ambas secciones usarán la misma imagen de fondo */
.about-section, 
.history-section {
    background-image: url('fondo.png'); /* Aquí llama a tu imagen */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Hace que el fondo se quede quieto al hacer scroll */
    background-repeat: no-repeat;
    
    min-height: calc(100vh - 70px); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* (Asegúrate de tener la clase .about-content que creamos antes justo debajo de esto) */

/* --- Estilos específicos para los textos de Historia --- */
.history-text p {
    text-align: left;
    margin-bottom: 25px;
    color: #e0e0e0;
    font-size: 1.15rem;
    line-height: 1.8;
}

.history-text strong {
    color: #00d2ff; /* Resalta los subtítulos con el color cyan */
    display: block;
    font-size: 1.3rem;
    margin-bottom: 5px;
}
/* =========================================
   PÁGINAS INTERNAS (Fondo Común)
   ========================================= */

/* Añadimos .coverage-section aquí */
.about-section, 
.history-section,
.coverage-section {
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    min-height: calc(100vh - 70px); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}
/* Añadimos .contact-section aquí */
.about-section, 
.history-section,
.coverage-section,
.contact-section {
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    min-height: calc(100vh - 70px); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}
/* --- Estilos para la Caja de Mensajes (Barra Lateral) --- */
.message-box-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    text-align: left;
}

.message-box-section h2 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 5px;
}

.message-box-section p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-form input,
.message-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.message-form input:focus,
.message-form textarea:focus {
    outline: none;
    border-color: #00d2ff;
    background: #ffffff;
    box-shadow: 0 0 5px rgba(0, 210, 255, 0.2);
}

.btn-send-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-send-msg:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.4);
}
/* =========================================
   ESTILOS PÁGINA: LOCUTORES
   ========================================= */

#locutores-box {
    width: 100%;
    max-width: 1000px; /* Hacemos la caja más ancha para que quepan las tarjetas */
}

/* --- Estilo para la Imagen Destacada (Locutores.jpg) --- */
.feature-image-team {
    width: 100%;
    height: auto;
    max-height: 450px; /* Altura máxima para que no ocupe toda la pantalla en monitores grandes */
    object-fit: cover; /* Recorta la imagen si es necesario para llenar el espacio sin deformarse */
    border-radius: 16px; /* Bordes redondeados para coincidir con la caja de cristal */
    margin-bottom: 30px; /* Espacio debajo de la imagen antes del título */
    box-shadow: 0 15px 30px rgba(0,0,0,0.3); /* Sombra para darle profundidad */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde sutil brillante */
}


/* --- Estilos para la cuadrícula de tarjetas --- */
.locutores-grid {
    display: grid;
    /* Esto hace que las tarjetas se acomoden automáticamente (mínimo 250px de ancho cada una) */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center; /* Asegura que el contenido dentro de las tarjetas esté centrado */
}

/* --- Estilos de la Tarjeta Individual --- */
.locutor-card {
    background: rgba(255, 255, 255, 0.03); /* Fondo ligeramente más claro que la caja principal */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Efecto al pasar el ratón por encima de la tarjeta */
.locutor-card:hover {
    transform: translateY(-10px); /* Se levanta un poco */
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.15); /* Sombra cyan */
    border-color: rgba(0, 210, 255, 0.4); /* Borde cyan */
}

/* Foto redonda individual */
.locutor-img {
    width: 130px;
    height: 130px;
    border-radius: 50%; /* Hace que la foto sea redonda */
    object-fit: cover;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
    margin-bottom: 15px;
    background-color: #333; /* Fondo temporal por si la imagen no carga */
}

.locutor-card:hover .locutor-img {
    border-color: #00d2ff; /* La foto se ilumina al hacer hover en la tarjeta */
}

/* Textos dentro de la tarjeta */
.locutor-card h3 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 1.3rem;
}

.locutor-programa {
    display: inline-block;
    color: #00d2ff; /* Color cyan */
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.locutor-card p {
    color: #a0a0b5;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}
.about-section, 
.history-section,
.coverage-section,
.contact-section,
.locutores-section { /* <-- Asegúrate de que esta línea exista */
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    min-height: calc(100vh - 70px); 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}
