/* =====================================================
   CONFIGURACIÓN GENERAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050a12;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar-trinidad {
    min-height: 68px;
    background: #050910;
    border-bottom: 2px solid #f5b900;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


/* =====================================================
   LOGO
===================================================== */

.navbar-brand {
    flex-shrink: 0;
    margin: 0;
}

.logo-menu {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-right: 10px;
}

.nombre-menu {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nombre-menu strong {
    font-size: 17px;
    white-space: nowrap;
}

.nombre-menu span {
    color: #ffbf00;
    font-weight: bold;
    font-size: 14px;
}


/* =====================================================
   MENÚ PRINCIPAL
===================================================== */

.menu-principal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    flex: 1;
}

.menu-principal .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.menu-principal .nav-item {
    list-style: none;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
    padding: 8px 4px !important;
}

.nav-link:hover,
.nav-link.activo {
    color: #ffc400 !important;
}

.nav-link i {
    margin-right: 5px;
}


/* =====================================================
   FACEBOOK
===================================================== */

.btn-facebook {
    background: #1664d8;
    color: white;
    border-radius: 30px;
    padding: 10px 18px;
    font-weight: bold;
    transition: 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn-facebook:hover {
    background: #0d4fae;
    color: white;
    transform: translateY(-2px);
}


/* =====================================================
   BANNER
===================================================== */

.hero {
    width: 100%;
    background: #050910;
    overflow: hidden;
    line-height: 0;
}

.banner-principal {
    width: 100%;
    height: auto;
    display: block;
}


/* =====================================================
   VIDEO
===================================================== */

.seccion-video {
    padding: 20px 0;
    background: #060d17;
}

.video-contenedor {
    min-height: 390px;
    border: 2px solid #ff2638;
    border-radius: 15px;
    padding: 20px;
    display: grid;
    grid-template-columns: 0.5fr 2.8fr 0.5fr;
    gap: 20px;
    align-items: center;

    background:
        linear-gradient(
            120deg,
            rgba(255, 0, 35, 0.07),
            rgba(0, 0, 0, 0.15)
        );
}


/* =====================================================
   INFORMACIÓN VIDEO
===================================================== */

.video-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.estado-video {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f52536;
    border-radius: 25px;
    padding: 7px 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.btn-video {
    border: none;
    border-radius: 25px;
    padding: 9px 20px;
    background: #f52638;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-video:hover {
    background: #d91d2e;
    transform: translateY(-2px);
}


/* =====================================================
   REPRODUCTOR
===================================================== */

.video-player {
    width: 100%;
    aspect-ratio: 16 / 8;
    background: #02050a;
    border-radius: 15px;
    overflow: hidden;
    position: relative;

    box-shadow:
        0 0 25px rgba(255, 38, 56, 0.18);
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

.video-no-disponible {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #aaa;
    padding: 20px;
}

.video-no-disponible i {
    font-size: 40px;
    color: #f52536;
    margin-bottom: 10px;
}

.video-no-disponible h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.video-no-disponible p {
    font-size: 13px;
    margin: 0;
}


/* =====================================================
   AUDIO
===================================================== */

.seccion-audio {
    padding: 12px 0;
    background: #060b13;
}

.audio-player {
    border: 1px solid #e5b300;
    border-radius: 15px;
    min-height: 65px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 20px;
}

.audio-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ffc400;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.audio-titulo {
    min-width: 210px;
}

.audio-titulo h3 {
    font-size: 18px;
    margin: 0;
}

.audio-titulo p {
    margin: 0;
    font-size: 12px;
    color: #bbb;
}

.btn-play-audio {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: #ffc400;
    cursor: pointer;
    transition: 0.3s;
}

.btn-play-audio:hover {
    background: #e5ae00;
    transform: scale(1.05);
}

.ondas {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 35px;
    overflow: hidden;
}

.ondas span {
    width: 3px;
    min-width: 3px;
    background: #ffc400;
    border-radius: 5px;
    height: 15px;
}

.ondas span:nth-child(2) {
    height: 25px;
}

.ondas span:nth-child(3) {
    height: 35px;
}

.ondas span:nth-child(4) {
    height: 20px;
}

.ondas span:nth-child(5) {
    height: 30px;
}

.ondas span:nth-child(6) {
    height: 15px;
}

.ondas span:nth-child(7) {
    height: 28px;
}

.ondas span:nth-child(8) {
    height: 35px;
}

.ondas span:nth-child(9) {
    height: 20px;
}

.ondas span:nth-child(10) {
    height: 28px;
}

.volumen {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.volumen input {
    width: 100px;
    accent-color: #ffc400;
}

.frecuencia {
    border: 1px solid #ffc400;
    border-radius: 25px;
    padding: 7px 15px;
    color: #ffc400;
    font-weight: bold;
    white-space: nowrap;
}


/* =====================================================
   CONTACTO
===================================================== */

.seccion-contacto {
    padding: 5px 0 20px;
    background: #060d17;
}

.tarjeta {
    min-height: 205px;
    height: 100%;
    border-radius: 12px;
    padding: 15px;
    background: #071322;
    border: 1px solid #2365c7;
    display: flex;
    flex-direction: column;
}

.tarjeta-correo {
    border-color: #00bd84;
}

.tarjeta-ubicacion {
    border-color: #ed263a;
}

.icono-contacto {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-bottom: 5px;
}

.icono-contacto.facebook {
    background: #1474ef;
}

.icono-contacto.correo {
    background: #00bd84;
}

.icono-contacto.ubicacion {
    background: #ef263c;
}

.tarjeta h3 {
    font-size: 17px;
    margin: 0;
}

.tarjeta small {
    color: #bbb;
    word-break: break-word;
}

.tarjeta p {
    color: #ccc;
    font-size: 12px;
    margin-top: 10px;
    flex: 1;
}

.btn-contacto {
    display: block;
    border: 1px solid currentColor;
    border-radius: 25px;
    padding: 7px;
    text-align: center;
    color: white;
    font-size: 12px;
    transition: 0.3s;
}

.tarjeta-facebook .btn-contacto {
    color: #1480ff;
}

.tarjeta-correo .btn-contacto {
    color: #00d99b;
}

.tarjeta-ubicacion .btn-contacto {
    color: #ff3448;
}

.btn-contacto:hover {
    background: rgba(255, 255, 255, 0.08);
}


/* =====================================================
   IMAGEN TRINIDAD
===================================================== */

.tarjeta-imagen {
    height: 205px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #050910;
}

.tarjeta-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.texto-imagen {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px 15px 10px;

    background:
        linear-gradient(
            transparent,
            rgba(0, 0, 0, 0.9)
        );
}

.texto-imagen h3 {
    font-size: 18px;
    margin: 0;
}

.texto-imagen p {
    font-size: 11px;
    margin: 0;
}


/* =====================================================
   EMISORA
===================================================== */

.seccion-emisora {
    padding: 60px 0;
    background: #070d16;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 20px 0 10px;
    background: #03070c;
    border-top: 1px solid #1d2b3a;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.footer-logo strong,
.footer-logo span {
    display: block;
}

.footer-logo span {
    color: #ffc400;
}

.footer-info {
    font-size: 12px;
    color: #bbb;
}

.footer-info p {
    margin: 5px 0;
}

.footer-info i {
    color: #ffc400;
    width: 20px;
}

.footer hr {
    border-color: #26313c;
}

.copyright {
    text-align: center;
    color: #777;
    font-size: 11px;
}


/* =====================================================
   TABLETS
===================================================== */

@media (max-width: 991px) {

    .navbar-container {
        gap: 12px;
    }

    .menu-principal {
        gap: 15px;
    }

    .menu-principal .navbar-nav {
        gap: 12px;
    }

    .nav-link {
        font-size: 14px;
    }

    .btn-facebook {
        padding: 9px 12px;
        font-size: 13px;
    }


    /* VIDEO */

    .video-contenedor {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 15px;
    }

    .video-info {
        align-items: center;
        text-align: center;
    }

    .video-player {
        width: 100%;
        aspect-ratio: 16 / 9;
    }


    /* AUDIO */

    .audio-player {
        flex-wrap: wrap;
    }

    .ondas {
        min-width: 100%;
        order: 5;
    }
}


/* =====================================================
   CELULARES
===================================================== */

@media (max-width: 576px) {

    /* =================================================
       NAVBAR CELULAR
    ================================================= */

    .navbar-trinidad {
        min-height: 70px;
        padding: 7px 0;
    }

    .navbar-container {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;

        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;

        overflow: hidden;
    }


    /* LOGO */

    .navbar-brand {
        flex: 0 0 auto;
        min-width: 0;
    }

    .logo-menu {
        width: 42px;
        height: 42px;
        margin-right: 6px;
    }

    .nombre-menu strong {
        font-size: 13px;
        line-height: 1;
    }

    .nombre-menu span {
        font-size: 11px;
        margin-top: 3px;
    }


    /* MENÚ */

    .menu-principal {
        flex: 1 1 auto;
        min-width: 0;

        display: flex;
        align-items: center;
        justify-content: flex-end;

        gap: 7px;
    }

    .menu-principal .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 5px;

        flex-shrink: 0;
    }

    .menu-principal .nav-item {
        width: auto;
    }

    .nav-link {
        font-size: 11px;
        padding: 6px 3px !important;
    }

    .nav-link i {
        margin-right: 2px;
        font-size: 10px;
    }


    /* FACEBOOK */

    .btn-facebook {
        margin: 0;
        padding: 7px 9px;

        font-size: 10px;

        border-radius: 20px;

        gap: 4px;

        flex-shrink: 0;
    }

    .btn-facebook i {
        font-size: 12px;
    }


    /* =================================================
       BANNER
    ================================================= */

    .hero {
        width: 100%;
        height: auto;
    }

    .banner-principal {
        width: 100%;
        height: auto;
        object-fit: contain;
    }


    /* =================================================
       VIDEO
    ================================================= */

    .seccion-video {
        padding: 10px;
    }

    .video-contenedor {
        width: 100%;
        border-radius: 10px;
        padding: 12px;
        gap: 12px;
    }

    .estado-video {
        font-size: 12px;
    }

    .btn-video {
        font-size: 12px;
        padding: 8px 15px;
    }

    .video-player {
        width: 100%;
        aspect-ratio: 16 / 9;
        min-height: 0;
        border-radius: 10px;
    }

    .video-no-disponible {
        padding: 15px;
    }

    .video-no-disponible i {
        font-size: 32px;
    }

    .video-no-disponible h3 {
        font-size: 16px;
    }

    .video-no-disponible p {
        font-size: 11px;
    }


    /* =================================================
       AUDIO
    ================================================= */

    .seccion-audio {
        padding: 10px;
    }

    .audio-player {
        width: 100%;
        padding: 12px;
        gap: 10px;
        border-radius: 12px;
    }

    .audio-icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .audio-titulo {
        min-width: 0;
        flex: 1;
    }

    .audio-titulo h3 {
        font-size: 15px;
    }

    .audio-titulo p {
        font-size: 10px;
    }

    .btn-play-audio {
        width: 40px;
        height: 40px;
    }

    .ondas {
        width: 100%;
        min-width: 0;
        order: 5;
        justify-content: center;
    }

    .volumen {
        width: 100%;
        order: 6;
        margin: 0;
    }

    .volumen input {
        flex: 1;
        width: auto;
    }

    .frecuencia {
        margin-left: auto;
        padding: 6px 10px;
        font-size: 11px;
    }


    /* =================================================
       TARJETAS
    ================================================= */

    .seccion-contacto {
        padding: 5px 10px 20px;
    }

    .tarjeta {
        width: 100%;
        min-height: 205px;
    }

    .tarjeta-imagen {
        width: 100%;
        height: 230px;
    }


    /* =================================================
       FOOTER
    ================================================= */

    .footer {
        padding: 25px 10px 15px;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 20px;
    }

    .footer-info {
        text-align: center;
        margin-top: 10px;
    }

    .copyright {
        padding: 0 10px;
    }
}
