
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

    
html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    
}

body {
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1; /* Esto permite que el contenido ocupe el espacio restante */
    padding: 0;
    background-color: #f0f0f0;
    display: flex; /* Importante para que el AdminLayout interno sepa que debe estirarse */
    flex-direction: column;
    position: relative;
}



/*ESTILOS DE LA NAVBAR---------------------------------------------------------*/
.fumex-navbar {
    background-color: #2c3e50;
    padding: 8px 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Brand: logo + nombre */
.fumex-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.fumex-brand-name {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 1px;
}

/* Links */
.fumex-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    padding: 8px 14px;
    position: relative;
    transition: color 0.2s ease;
    cursor: pointer;
}

.fumex-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #e67e22;
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.fumex-navbar .navbar-nav .nav-link:hover {
    color: #fff;
}

.fumex-navbar .navbar-nav .nav-link:hover::after,
.fumex-navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.fumex-navbar .navbar-nav .nav-link.active {
    color: #fff;
    font-weight: 700;
}

/* Icono dentro de cada link */
.nav-icon {
    margin-right: 5px;
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Link especial Miembro FUMEX */
.nav-link--star {
    color: #e67e22 !important;
}

.nav-link--star::after {
    background: #e67e22 !important;
}

/* Toggler (móvil): icono animado hamburguesa -> X */
.fumex-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.fumex-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

@media (max-width: 991.98px) {
    .fumex-navbar .navbar-toggler {
        width: 38px;
        height: 34px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
}

.fumex-toggler-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.fumex-navbar .navbar-toggler[aria-expanded="true"] .fumex-toggler-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.fumex-navbar .navbar-toggler[aria-expanded="true"] .fumex-toggler-bar:nth-child(2) {
    opacity: 0;
}

.fumex-navbar .navbar-toggler[aria-expanded="true"] .fumex-toggler-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menú móvil flotante, sobre el contenido en vez de empujarlo */
@media (max-width: 991.98px) {
    .fumex-navbar {
        position: relative;
    }

    .fumex-navbar .navbar-collapse {
        position: absolute;
        top: calc(100% + 10px);
        left: 12px;
        right: 12px;
        background: #2c3e50;
        border-radius: 14px;
        padding: 14px 16px 18px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
        z-index: 1050;
    }
}


/*ESTILO DE LAS SECCIONES DEL MENU-------------------------------------------------*/
.secciones {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.secciones section{
    padding: 0;
    text-align: center;
    transition: opacity 1s ease-in-out;
}

.secciones section.invisible{
    display: none;
}


/*ESTILOS PIE DE PAGINA-----------------------------------------------------*/
footer {
    background-color: #212529;
    color: #fff;
    text-align: center;
    padding: 28px 30px 18px;
    flex-shrink: 0;
    z-index: 1050;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    border-top: 4px solid #2c3e50;
}

.footer-body {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Logo y slogan */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    width: 55px;
    opacity: 0.9;
}

.footer-slogan {
    margin: 0;
    font-size: 0.8rem;
    color: #adb5bd;
    font-style: italic;
}

/* Separador vertical */
.footer-divider-v {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
}

/* Bloque de redes */
.footer-social-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-social-label {
    margin: 0;
    font-size: 0.78rem;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.footer-social-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}

.footer-social-btn--fb:hover  { background: #3B5998; border-color: #3B5998; }
.footer-social-btn--ig:hover  { background: #C13584; border-color: #C13584; }
.footer-social-btn--yt:hover  { background: #ff0000; border-color: #ff0000; }

/* Separador horizontal */
.footer-divider-h {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0 14px;
}

/* Copyright */
.footer-copy {
    margin: 0;
    font-size: 0.78rem;
    color: #6c757d;
}

/* ===== FOOTER MÓVIL ===== */
@media (max-width: 576px) {
    footer {
        padding: 20px 16px 14px;
    }

    .footer-body {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 14px;
    }

    .footer-divider-v {
        display: none;
    }
}


/*ESTILOS PARA BOTON DE LOGIN------------------------------------------------------------*/

.btn_login {
    padding: 8px 18px;
    background: #e67e22;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn_login:hover {
    background: #cf6d17;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(230, 126, 34, 0.45);
    transform: translateY(-2px);
}

/* ===== NAVBAR MÓVIL: menú y botón de login completos, sin recorte ===== */
@media (max-width: 991.98px) {
    .fumex-navbar .btn_login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
    }
}
