/* =====================================================
   1. RESET + VARIABLES
===================================================== */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

:root {
    --verde: #2ecc71;
    --naranja: #ff7a00;
    --morado: #6c3483;
    --oscuro: #111;
}

/* =====================================================
   2. HEADER + MENÚ
===================================================== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 5px 5px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header.scrolled {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.logo img {
    height: 45px;
}

.nav {
    display: flex;
    align-items: center;
    position: relative;
}

.menu {
    display: flex;
    align-items: center;
}

.menu a {
    position: relative;
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--naranja);
    transition: width 0.3s ease;
}

.menu a:hover {
    color: var(--naranja);
    background: rgba(255,122,0,0.15);
}

.menu a:hover::after {
    width: 100%;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: white;
}

/* =====================================================
   3. SLIDER PRINCIPAL
===================================================== */

.slider {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 1s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* =====================================================
   4. SECCIONES GENERALES
===================================================== */

section {
    padding: 20px 20px;
    text-align: center;
}

/* =====================================================
   6. ACEVEDO EMPRENDE (SLIDER)
===================================================== */

.emprende {
    background: #000;
    color: white;
    padding: 20px;
}

.emprende h2 {
    color: orange;
}

.emprende-desc {
    color: #ccc;
    margin-bottom: 30px;
}

.emprende-slider {
    position: relative;
    width: 100%;          /* 🔥 ocupa todo el ancho */
    max-width: none;      /* 🔥 elimina el límite */
    padding: 10px;      /* 🔥 controlas el margen tú */
    box-sizing: border-box;
}

.emprende-track {
    display: flex;
    gap: 5px;
    transition: transform 0.5s ease;
}

.emprende-card {
    min-width: calc(25% - 20px); /* 4 tarjetas */

    background: linear-gradient(180deg, #111, #000);
    padding: 15px;
    border-radius: 15px;
    text-align: center;

    border: 1px solid rgba(255, 122, 0, 0.15);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.emprende-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0,0,0,0.8);
    border-color: #ff7a00; /* naranja */
}


.emprende-card img {
    width: 100%;
    aspect-ratio: 16 / 9; /* 🔥 FORMA FIJA */
    object-fit: contain;
    background: #000;
}

.emprende-card h3 {
    margin: 1px 0 5px;
}

.emprende-card p {
    font-size: 14px;
    color: #ccc;
}

.emprende-card a {
    display: inline-block;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.emprende-card a:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #2ee97b, #25d366);
}

/* Flechas emprende */
.emprende-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 28px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.emprende-btn.left { left: 10px; }
.emprende-btn.right { right: 10px; }

/* =====================================================
   7. ACEVEDO TURÍSTICA
===================================================== */

.turismo {
    background: #000;
    color: orange;
    padding: 60px 20px;
}

.turismo-slider {
    position: relative;
    max-width: 1400px;
    margin: 40px auto 0;
    overflow: hidden;
}

.turismo-track {
    display: flex;
    transition: transform 0.5s ease;
}


.turismo-card {
    min-width: 100%;
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.turismo-card img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.turismo-card h3 {
    margin: 20px 0 10px;
}

.turismo-card p {
    padding: 0 20px 25px;
    color: #ccc;
}

/* Flechas turismo */
.turismo-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 30px;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 50; /* 🔥 CLAVE */
}


.turismo-btn.left { left: 15px; }
.turismo-btn.right { right: 15px; }

/* ===== TV EN VIVO ===== */
#envivo {
    background: #000;
    color: #ff7a00; /* naranja */
    padding-bottom: 5px; /* antes era 50px */
}

#envivo h2 {
    color: #ff7a00;
}



/* =====================================================
   8. RESPONSIVE (CELULAR)
===================================================== */

@media (max-width: 768px) {

    /* ======================
       MENÚ
    ====================== */
    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 70px;
        right: 15px;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        width: 220px;
        padding: 15px;
        border-radius: 12px;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        margin: 10px 0;
    }

    /* ======================
       SLIDER INICIO
    ====================== */
    .slider {
        height: auto;
        padding-top: 70px;
    }

    .slide {
        aspect-ratio: 16 / 9;
        background-size: contain;
        background-position: center;
        background-color: #000;
    }

    /* ======================
       EMPRENDE (CELULAR)
    ====================== */
    #emprende,
#aliados {
    padding-left: 0;
    padding-right: 0;
}

    .emprende-slider {
        padding-left: 0;
        padding-right: 0;
    }

    .emprende-card {
        min-width: 100%;
    }

    .emprende-card img {
        height: 180px;
        object-fit: contain;
        background: #000;
    }
    
    .emprende-track {
        gap: 20px;
    }

    /* ======================
       TURISMO (CELULAR)
    ====================== */
    .turismo-card img {
        height: 260px;
        object-fit: contain;
        background: #000;
    }

} 

/* Elimina scroll lateral */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Sección general */
.tv-section {
    background: #000;
    padding: 60px 20px;
    text-align: center;
}

/* Contenedor */
.tv-container {
    max-width: 800px;
    margin: auto;
}

/* Título */
.tv-title {
    color: #FFD700;
    font-size: 28px;
    margin-bottom: 0px;
    font-weight: bold;
}

/* Contenedor responsive del video */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    border-radius: 5px;
    
}

/* Iframe */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}




/* =====================================================
   5. BOTONES FLOTANTES
===================================================== */

.whatsapp-float {
    position: fixed;     /* 👈 IMPORTANTE */
    bottom: 20px;        /* 👈 IMPORTANTE */
    right: 20px;         /* 👈 IMPORTANTE */

    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 9999;
}


.whatsapp-float img {
    width: 50px;
    height: 50px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Contenedor flotante */
.radio-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
}

/* Caja principal */
.radio-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ff9d00;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Botones */
.radio-icon {
    background: #2a2a2a;
    border: none;
    color: #ccc;
    font-size: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover elegante gris claro */
.radio-icon:hover {
    background: #676565;
    color: #fff;
}

/* Nombre emisora */
.radio-title {
    color: #fffefe;
    font-size: 14px;
    letter-spacing: 1px;
}
.radio-logo {
    width: 26px;
    height: 26px;
    padding: 4px;
    background: #2a2a2a;
    border-radius: 50%;
}
/* ================================================
   AJUSTE GLOBAL RESPONSIVE DEFINITIVO
================================================ */

* {
    box-sizing: border-box;
}

img, iframe, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Evita desbordamientos invisibles */
body {
    overflow-x: hidden;
}

/* ===============================
   RESPONSIVE CELULAR COMPLETO
================================ */

@media (max-width: 768px) {

    /* HEADER */
    .header {
        padding: 10px 15px;
        justify-content: space-between;
    }

    .logo img {
        height: 38px;
    }

    /* SLIDER PRINCIPAL */
    .slider {
        height: auto;
    }

    .slide {
        height: auto;
        aspect-ratio: 16 / 9;
        background-size: contain;
    }

    /* EMPRENDE */
    .emprende-card {
        min-width: 100%;
    }

    .emprende-track {
        gap: 15px;
    }

    /* TURISMO */
    .turismo-card img {
        height: auto; /* 🔥 QUITA EL 600PX EN CELULAR */
        max-height: 300px;
        object-fit: cover;
    }

    /* TV EN VIVO */
    .tv-container {
        padding: 0 10px;
    }

    /* BOTONES FLOTANTES */

    .radio-float {
        left: 10px;
        bottom: 85px;
        z-index: 9999;
    }

    .radio-box {
        padding: 8px 12px;
        gap: 8px;
    }

    .radio-title {
        font-size: 12px;
    }

    .radio-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .whatsapp-float {
        right: 10px;
        bottom: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float img {
        width: 42px;
        height: 42px;
    }

}



.footer{
  background:#000;
  color:white;
  padding:50px 10%;
  font-family:Arial, sans-serif;
}

.footer-container{
  display:flex;
  justify-content:center;   /* centra horizontalmente */
}

.footer-col{
  text-align:center;        /* centra textos e imágenes dentro */
}

.footer h3{
  color:#ff9800;
  margin-top:15px;
}

.footer a{
  color:white;
  text-decoration:none;
}

.footer ul{
  list-style:none;
  padding:0;
}

.footer ul li{
  margin:8px 0;
}

.logos{
  display:flex;
  justify-content:center;   /* centra horizontalmente */
  align-items:center;
  gap:20px;
  margin-bottom:15px;       /* espacio antes de "Sobre nosotros" */
}

.logos img{
  height:90px;
  width:auto;
  object-fit:contain;
}

.footer-bottom{
  border-top:1px solid #444;
  margin-top:40px;
  padding-top:20px;

  display:flex;
  flex-direction:column;   /* uno debajo del otro */
  align-items:center;      /* centrado horizontal */
  text-align:center;
  gap:15px;
}

.social{
  display:flex;
  justify-content:center;
  gap:15px;
}

.social a:hover{
  background:white;
  color:#ff9800;         /* cambia color al pasar mouse */
  border-radius: 60px;
}

.footer-contact{
  text-align:center;
  margin:25px 0;
}
