/* Fondo general */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f8fafc;
    /* Color de fondo claro y limpio por defecto */
}

/* =====================================================
   ESTILOS DEL NAVBAR
===================================================== */

.navbar {
    width: 100%;
    background: #0f172a;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 145px;
    z-index: 1100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-title {
    flex-shrink: 0;
}

.nav-title a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    text-decoration: none;
    font-family: Arial;
    font-size: 12px;
        font-weight: 600;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #60a5fa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* =====================================================
   HEADER / LOGIN
===================================================== */
header {
    position: sticky;
    top: -50px;
    /* Se coloca justo debajo del navbar sticky */
    z-index: 1000;
    display: flex;
    justify-content: center;

    align-items: center;
    padding-bottom: 15px 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    display: block;
    margin: 0 auto;
    width: 80%;

    object-fit: cover;

}

.paisa {
    display: block;
    margin: 0 auto;
    width: 15%;

    object-fit: cover;

}

.log {
    display: block;
    margin: 0 auto;
    width: 20%;

    object-fit: cover;

}

/* Login */
.Init-Session {
    display: inline;
    align-items: center;
    gap: 10px;
}

.text {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    outline: none;
    min-width: 180px;
    background: white;
    transition: .3s;
}

.text:focus {
    border-color: #2563eb;
    box-shadow: 0 0 10px rgba(37, 99, 235, .2);
}

/* Botones */
.button {
    padding: 12px 18px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: .3s;
    font-weight: bold;
}

.button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, .3);
}

/* Contenedor del feed */
section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
}

/* Publicaciones */
.post {
    width: 700px;
    max-width: 90%;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: .3s;
}

.post:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.post h2 {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
}

.post small {
    color: #64748b;
    font-size: 13px;
}

.post p {
    margin: 15px 0;
    color: #334155;
    line-height: 1.6;
}

.media {
    width: 100%;
    max-height: 700px;
    object-fit: contain;
    margin-top: 15px;
    border-radius: 15px;
    background: #000;
}

audio {
    width: 100%;
    margin-top: 15px;
}

iframe {
    width: 100%;
    border: none;
    border-radius: 15px;
    margin-top: 15px;
}

.post a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: .3s;
}

.post a:hover {
    background: #1d4ed8;
}

/* =====================================================
   ESTILOS DEL FOOTER
===================================================== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    color: #64748b;
}

/* =====================================================
   RESPONSIVE / ADAPTABLE A MÓVILES
===================================================== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    header {
        flex-direction: column;
        gap: 15px;
        top: 0;
    }

    .Init-Session {
        justify-content: center;
        width: 100%;
    }

    .text {
        width: 100%;
    }

    .post {
        width: 95%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}















/* =====================================================
   ESTILOS DEL CARRUSEL
===================================================== */


.carousel-container {
    width: 90%;
    max-width: 850px;
    margin: 30px auto;
}

.carousel-slide {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #000;
}

.carousel-item {
    display: none;
    width: 100%;
}

.carousel-item.active {
    display: block;
}

.carousel-item img,
.carousel-item video {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: contain;
    background: #000;
}

/* Flechas */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.9);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Puntos */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #007bff;
    transform: scale(1.2);
}

/* Móviles */
@media (max-width: 600px) {
    .carousel-item img,
    .carousel-item video {
        height: 280px;
    }

    .carousel-container {
        width: 95%;
    }
}


/* =====================================================
   ESTILOS DE REDES SOCIALES
===================================================== */
.social-section {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.social-section h3 {
    color: #0f172a;
    font-size: 20px;
    margin-bottom: 20px;
}

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

.social-btn {
    padding: 12px 24px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.social-btn.twitter {
    background-color: #000000;
}

.social-btn.instagram {
    background-color: #e4405f;
}

.social-btn.youtube {
    background-color: #ff0000;
}

@media (max-width: 768px) {
    .carousel-images img {
        height: 250px;
    }
}














/* Estilo base para el contenedor del dropdown */
.nav-menu .dropdown {
    position: relative;
}

/* Ocultar el submenú por defecto */
.nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    /* Ajusta el color según tu diseño */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 200px;
    z-index: 1000;
    flex-direction: column;
    /* Asegura que los items vayan hacia abajo */
}

/* Estilos para los links dentro del submenú */
.nav-menu .dropdown-menu li a {
    color: #333333;
    /* Color de texto del submenú */
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    white-space: nowrap;
}

/* Efecto hover para los elementos del submenú */
.nav-menu .dropdown-menu li a:hover {
    background-color: #f1f1f1;
}

/* Mostrar el submenú cuando se pasa el cursor por encima del item principal */
.nav-menu .dropdown:hover .dropdown-menu {
    display: block;
}








/*submenus*/

/* Elemento que contiene el submenú */
.dropdown-submenu {
    position: relative;
}

/* Submenú lateral */
.dropdown-submenu .submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: #fff;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.18);
    z-index: 9999;
}

/* Enlaces */
.dropdown-submenu .submenu li a {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}

/* Efecto hover */
.dropdown-submenu .submenu li a:hover {
    background: #f0f0f0;
    color: #007b45;
    padding-left: 23px;
}

/* Mostrar al pasar el cursor */
.dropdown-submenu:hover > .submenu {
    display: block;
}

/* Flecha */
.dropdown-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow {
    font-size: 20px;
    margin-left: 12px;
}