/* Estilos para el layout responsive */

/* Layout del body para footer sticky */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    width: 100%;
}

/* Ocultar navbar en móvil */
.navbar-mobile-hidden {
    display: block !important;
}

@media (max-width: 767.98px) {
    .navbar-mobile-hidden {
        display: none !important;
    }
}

.container-mobile {
    padding-left: 15px;
    padding-right: 15px;
}

/* Footer mejorado y elegante */
.footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    padding: 0.75rem 0;
    font-size: 0.8rem;
    color: #6c757d;
    flex-shrink: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.footer .container {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .row {
    width: 100%;
    justify-content: center;
}

.footer a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.footer a:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.footer-brand {
    font-weight: 600;
    color: #495057;
    display: block;
    text-align: center;
    width: 100%;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.footer-copyright {
    text-align: center;
    color: #6c757d;
}

/* Responsive del footer */
@media (max-width: 767.98px) {
    .navbar-mobile-hidden {
        display: none !important;
    }
    
    .container-mobile {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .footer {
        padding: 0.5rem 0;
        text-align: center;
    }
    
    .footer .container {
        max-width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .footer-copyright {
        margin-bottom: 0.5rem;
    }
}
