/* ==================================================
   FONDO GENERAL
================================================== */
html, body {
    height: 100%;
}



body {
    background-image: url("../img/logo_RADIO_UEB.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    padding-top: 80px;
    padding-bottom: 90px;
    min-height: 100vh;
    font-family: Arial, sans-serif;
}


/* ==================================================
   VARIABLES
================================================== */
:root {
    --verde-ueb: #1b8f85;
    --rojo-live: #e53935;
    --gris-off: #9e9e9e;
}

/* ==================================================
   NAVBAR
================================================== */
.navbar-ueb {
    background-color: var(--verde-ueb);
    height: 80px;
}

.logo-ueb {
    height: 130px;
    margin-top: -6px;
}

/* LINKS */
.navbar-ueb .nav-link {
    color:#ffffff;
    font-weight: 600;
    margin-left: 30px;
}

.navbar-ueb .nav-link:hover {
    color: #024640;
}

/* ====== HERO ====== */
.hero {
    min-height: 70vh; /* más impacto visual */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 90px 20px;
    background: linear-gradient(135deg, #00897b, #00695c);
    color: white;
}

.hero-content {
    max-width: 900px;
    animation: fadeUp 1s ease;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    opacity: .9;
}


/* Animación suave */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================================
   VIDEO + AUDIO
================================================== */
.media-section {
    display: flex;
    gap: 60px;
    padding: 40px;
}

/* VIDEO */
.video-live {
    flex: 2;
}

.live-label {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-weight: bold;
    margin-bottom: 10px;
}

.live-off {
    color: var(--gris-off);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ==================================================
   AUDIO
================================================== */
.audio-player {
    flex: 1;
    text-align: center;
}

.audio-title {
    color: var(--rojo-live);
    font-weight: bold;
    margin-bottom: 25px;
}

/* VINILO */
.vinyl {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, #333 0%, #000 70%);
    margin: auto;
    position: relative;
    animation: spin 6s linear infinite;
    animation-play-state: paused;
}

.vinyl.playing {
    animation-play-state: running;
}

.vinyl-logo {
    width: 250px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ANIMACIÓN */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* CONTROLES */
.audio-controls {
    background: #6f6f6f;
    padding: 20px;
    border-radius: 15px;
    margin-top: 25px;
}

.play-btn {
    background: none;
    border: none;
    font-size: 40px;
    color: white;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    margin-top: 10px;
}

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 992px) {
    .media-section {
        flex-direction: column;
        align-items: center;
    }
}

/* =========================
   SONANDO AHORA
========================= */
.now-playing {
    font-size: 0.95rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* ================= PROGRAMAS ================= */

.programas-title {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 35px;
  text-align: center;
  letter-spacing: 1px;

  /* sombra para que no se pierda */
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.25);
}


.programas-section{
    padding:100px 40px;
}

/* CONTENEDOR PLAYER */

.programa-player{
    background:#0f8f84;
    border-radius:30px;
    padding:30px;
    display:flex;
    gap:40px;
    margin-bottom:50px;
    align-items:center;
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}

/* LADO IZQUIERDO */

.player-left{
    display:flex;
    align-items:center;
    justify-content:center;
}

/* VINILO */

.vinyl-sm{
    width:240px;
    height:240px;
    border-radius:50%;
    background: radial-gradient(circle,#333 0%, #000 70%);
    display:flex;
    align-items:center;
    justify-content:center;

    animation: spin 6s linear infinite;
    animation-play-state: paused;
}

.vinyl-sm img{
    width:150px;
    border-radius:50%;
}

/* CUANDO SUENA */

.programa-player.playing .vinyl-sm{
    animation-play-state: running;
}

/* ANIMACIÓN VINILO */

@keyframes spin{
    from{transform:rotate(0deg);}
    to{transform:rotate(360deg);}
}

/* LADO DERECHO */

.player-right{
    flex:1;
    text-align:center;
}

/* TITULO */

.programa-nombre{
    color:#fff;
    text-shadow:2px 2px 5px black;
    font-size:2rem;
    margin-bottom:25px;
}

/* CONTROLES */

.player-controls{
    display:flex;
    align-items:center;
    gap:15px;
    justify-content:center;
}

.current,
.duration{
    color:white;
    font-weight:bold;
}

/* BARRA PROGRESO */

.progress{
    width:60%;
    cursor:pointer;
}

/* BOTONES */

.player-buttons{
    margin-top:20px;
}

.play{
    font-size:45px;
    background:none;
    border:none;
    color:white;
    cursor:pointer;
    transition:.3s;
}

.play:hover{
    transform:scale(1.1);
}

/* VOLUMEN */

.volume-box{
    display:flex;
    justify-content:center;
    gap:10px;
    color:white;
    margin-top:15px;
}

/* RESPONSIVE */

@media(max-width:900px){

    .programa-player{
        flex-direction:column;
    }

    .vinyl-sm{
        width:200px;
        height:200px;
    }

}

/* ================= CONTACTO ================= */

.contacto-section{
    background:#0f8f84;
    padding:90px 20px;
    color:#000;
}

.contacto-container{
    max-width:1100px;
    margin:auto;
}

.contacto-title{
    text-align:center;
    color:white;
    font-size:2.5rem;
    font-weight:800;
    margin-bottom:30px;
    text-shadow:2px 2px 6px rgba(0,0,0,.5);
}

.contacto-texto{
    font-weight:700; /* NEGRITAS */
    font-size:1.05rem;
    margin-bottom:25px;
    max-width:900px;
}

/* BOTÓN WHATSAPP */

.btn-whatsapp{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#25D366;
    color:white;
    padding:14px 28px;
    border-radius:30px;
    font-size:1.1rem;
    font-weight:700;
    text-decoration:none;
    transition:.3s;
}

.btn-whatsapp i{
    font-size:1.5rem;
}

.btn-whatsapp:hover{
    background:#1ebe5d;
    transform:scale(1.05);
}


/* ==================================================
   FOOTER UEB
================================================== */
.footer-ueb {
    background-color: #1b8f85;
    color: #ffffff;
    padding: 50px 0 20px;
    margin-top: 80px;
}

/* Columnas */
.footer-col {
    margin-bottom: 30px;
}

/* Logo */
.footer-logo {
    max-width: 300px;
    margin-bottom: 15px;
}

/* Texto */
.footer-text {
    font-size: 1rem;
    opacity: 0.9;
}

/* Títulos */
.footer-title {
    font-weight: bold;
    margin-bottom: 15px;
}

/* Lista */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-list a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #006236;
    text-decoration: underline;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--verde-ueb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Hover redes */
.footer-social a:hover {
    background: #006236;
    color: #ffffff;
    transform: scale(1.1);
}

/* Parte inferior */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.3);
    margin-top: 30px;
    padding-top: 15px;
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-social {
        justify-content: center;
    }
}
